LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Xen 4.0.1 + Centos 5.5 DOM0 kernel panic on boot (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/xen-4-0-1-centos-5-5-dom0-kernel-panic-on-boot-889691/)

zogness 07-03-2011 12:19 PM

Xen 4.0.1 + Centos 5.5 DOM0 kernel panic on boot
 
Hey all.

It's been several years since I used Xen "from scratch." Yesterday I built Xen on a Sun X4270 M2 (I only mention the hardware because it's a 100% Xen certified system) and haven't been able to get the dom0 to boot yet. Correction: I'm using Xen 4.1.1, not 4.0.1.

The first error reads, "cannot load bzImage v2.04 at least v2.08 is required."

Then I see "Panic on cpu0: Could not set up DOM0 guest OS."

Here are the lines in my grub.conf pertaining to my Xen:

title Xen4.0.1
root (hd0,0)
kernel /xen.gz dom0_mem=4096 loglvl=all guestloglvl=all
module /vmlinuz-2.6.18-194.el5 root=/dev/sda1 nomodeset console=tty0 console=ttyS0,115200n8
module /2.6.18-194.el5-xen.img

The first of these lines beginning with "module" is where I think the problem might be. In all the how-tos I have seen, this line looks like,

module /vmlinuz-2.6.18-194.el5xen root=/dev/sda1 nomodeset

but I can't find a file on my system named, "vmlinuz-2.6.18-194.el5xen".

The Xen install script moved all the xen* files into /boot but I had to generate the initrd file (which perhaps I do not need.) I did a "make world" without any problems and the "make install" reported no errors either.

Here's what my /boot dir looks like:

[root@mmpqplovm000001 boot]# ls
2.6.18-194.el5-xen.img symvers-2.6.18-194.el5.gz xen-4.1.gz
config-2.6.18-194.el5 System.map-2.6.18-194.el5 xen-4.gz
grub vmlinuz-2.6.18-194.el5 xen.gz
initrd-2.6.18-194.el5.img xen-syms-4.1.1 xen-4.1.1.gz
lost+found

Any hints will be appreciated.

Thanks.

zogness 07-03-2011 12:52 PM

Oh. the root=/dev/sda1 I specified is wrong. sda1 is the /boot partition, not the slash root partition. Changing it to /dev/VolGroup00/LogVol00 did not help, though.


All times are GMT -5. The time now is 03:12 AM.