Hello @lastweek!
I am trying to compile and boot a default run of LegoOS (1P-1M) using two virtual machines, and I am getting the following error after running make install in the base LegoOS directory.
sh ./arch/x86/boot/install.sh 4.0.0-lego+ arch/x86/boot/bzImage \
System.map "/boot"
depmod: ERROR: could not open directory /lib/modules/4.0.0-lego+: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Kernel version 4.0.0-lego+ has no module directory /lib/modules/4.0.0-lego+
I believe the 4.0.0-lego+ directory is created after successfully running make in the linux-modules directory, which I was able to do.
Below is a detailed account of the complete process that I went through:
I first altered linux-modules/fit/fit_machine.c and net/lego/fit_machine.c to add the relevant LID and Hostname mapping information. Then, beginning in base LegoOS directory, I did the following in order to compile the LegoOS kernel for the Processor monitor:
make defconfig
cp Documentation/configs/1P-1M-Processor .config
make
cd linux-modules
make (I also switched to a linux kernel of 3.11.1 as specified by the directions)
cd ..
sudo make install
For the memory monitor's kernel I did the similar process, but, as specified, I compiled the test user programs in the usr directory. I got the error specified above on both machines. I also attempted the install with a higher version of linux kernel (4.4) and received the same error.
I am currently compiling LegoOS in a qemu-kvm on a host with the following specs:
Infiniband NIC: MT27500 Family [ConnectX-3]
CPU:Intel(R) Xeon(R) CPU E5-2670 v3
OS: Centos7.2
GCC: 4.8.5
Both hosts are connected to a common switch. I have attached a folder with a copy of the LegoOS directory I am working with for your reference.
Please let me know if I can provide any more information.
Thanks!
LegoOS-Copy.zip
Hello @lastweek! I am trying to compile and boot a default run of LegoOS (1P-1M) using two virtual machines, and I am getting the following error after running
make install
in the base LegoOS directory.I believe the 4.0.0-lego+ directory is created after successfully running
make
in thelinux-modules
directory, which I was able to do.Below is a detailed account of the complete process that I went through: I first altered linux-modules/fit/fit_machine.c and net/lego/fit_machine.c to add the relevant LID and Hostname mapping information. Then, beginning in base LegoOS directory, I did the following in order to compile the LegoOS kernel for the Processor monitor:
For the memory monitor's kernel I did the similar process, but, as specified, I compiled the test user programs in the
usr
directory. I got the error specified above on both machines. I also attempted the install with a higher version of linux kernel (4.4) and received the same error.I am currently compiling LegoOS in a qemu-kvm on a host with the following specs: Infiniband NIC: MT27500 Family [ConnectX-3] CPU:Intel(R) Xeon(R) CPU E5-2670 v3 OS: Centos7.2 GCC: 4.8.5
Both hosts are connected to a common switch. I have attached a folder with a copy of the LegoOS directory I am working with for your reference.
Please let me know if I can provide any more information. Thanks! LegoOS-Copy.zip