bV_
asked on
Stuck compiling kernel for Ubuntu + Xen PVOPS
I'm following the below instructions to try to build a kernel for Ubuntu / Xen, but I'm getting stuck at 'sudo depmod 2.6.32.27'
the previous command compiles a config-2.6.32.36 that it sticks in the /boot folder, so I think its some disconnect there. sudo depmod 2.6.32.36 completes successfully, but the mkinitramfs on the following command does not complete with either version, as the only init* in the boot folder is the 2.6.32.27.
I think I need an initrd-2.6.32.36 or rebuild 'sudo make linux-2.6-pvops-build' that outputs a 2.6.32.27 kernel, but that is just my best guess.
Trying to reboot into any of these kernels results in panic.
I am not a Linux expert so please keep in mind I may be missing something blatantly obvious
the previous command compiles a config-2.6.32.36 that it sticks in the /boot folder, so I think its some disconnect there. sudo depmod 2.6.32.36 completes successfully, but the mkinitramfs on the following command does not complete with either version, as the only init* in the boot folder is the 2.6.32.27.
I think I need an initrd-2.6.32.36 or rebuild 'sudo make linux-2.6-pvops-build' that outputs a 2.6.32.27 kernel, but that is just my best guess.
Trying to reboot into any of these kernels results in panic.
I am not a Linux expert so please keep in mind I may be missing something blatantly obvious
wget "http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz"
tar xvzf xen-4.0.1.tar.gz
cd xen-4.0.1
make world
sudo make install
sudo make install-xen install-kernels install-tools install-stubdom
make linux-2.6-pvops-config CONFIGMODE=menuconfig
make linux-2.6-pvops-build
sudo make linux-2.6-pvops-install
sudo depmod 2.6.32.27
sudo mkinitramfs -o /boot/initrd-2.6.32.27.img 2.6.32.27
sudo update-grub
sudo reboot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
echo into version resolved the issue
In make linux-2.6-pvops-config, did you change anything?
It certainly does seem to build a 2.6.32.36 kernel