Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1184

insmod command in not completed even after hours

$
0
0

I was trying to set up the MemLiner environment in the CloudLab. I was following the instructions from the GitHub page. When I try to connect the CPU server and memory server nodes in the "2.1 Connect the CPU server with the memory server" section, I encounter the following difficulties:

In manage_rswap_client.sh:

  1. I get the "fallocate: file: fallocate failed: Operation not supported" error while executing the following command:
sudo fallocate -l ${SWAP_PARTITION_SIZE} ${swap_file}

I attempted to bypass the command by using update the code like this:

if ! sudo fallocate -l ${SWAP_PARTITION_SIZE} ${swap_file} then     sudo dd if=/dev/zero of=${swap_file} bs=48M count=1K fi
  1. This dd command can create the swap file, but after creating the swap partition, the manage_rswap_client.sh cannot load the specified kernel modules into the kernel using the insmod command. It gets stuck while running the following command from the .sh file:
sudo insmod ./rswap-client.ko

Here is the Makefile for generating the kernel object file (i.e rswap-client.ko).

I would greatly appreciate any help you could provide me.


Viewing all articles
Browse latest Browse all 1184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>