WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0

To: "David Gonzalez" <dgonzalezh@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
From: "Tait Clarridge" <Tait.Clarridge@xxxxxxxxxxxx>
Date: Tue, 6 Jan 2009 09:40:51 -0500
Cc:
Delivery-date: Tue, 06 Jan 2009 06:42:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <29E9A982563541D7ACD496154C0DE8EF@dgh>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aclvn69HtOlfnn67Sh6628rZ/FMmcgAbOxfg
Thread-topic: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
Hello David,

Boot up the working kernel and check which modules are loaded and try passing a 
number of them (especially the ones for your disks) to mkinitrd (using the 
--preload option) and make a custom ramdisk.

I had this problem in the past where Xen wouldn't load the proper modules to 
access the disks on boot, which I thought was a little ridiculous haha.

Good Luck,
Tait

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David Gonzalez
Sent: Monday, January 05, 2009 8:40 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0

Hello All,

I finally compiled xen 3.3.0 using make World, installed it but I cannot get it 
to Boot, I always get kernel panic, kernel not sync kind of errors, I suppose 
it’s some hard disk or partition issue, my setup is as follows.

CentOS 5.2 x86_64 on a HP ML-115

Grub, menu.list

Entries

CentOS xen’s line

title CentOS (2.6.18-92.1.22.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-92.1.22.el5 dom0_mem=1.8G
        module /vmlinuz-2.6.18-92.1.22.el5xen ro root=LABEL=/ console=tty0 
noreboot
        module /initrd-2.6.18-92.1.22.el5xen.img

My line
title Xen 3.0 / XenLinux 2.6
        root (hd0,0)
        kernel /xen-3.3.gz dom0_mem=1.8G
        module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ console=tty0 noreboot
        module /initrd-2.6.18.8-xen.img

/boot is on a regular partition / is also outside LVM but it never works. mount 
says

[root@ut3 ~]# mount
/dev/hda2 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/vg0-lvUsr on /usr type ext3 (rw,noatime)
/dev/mapper/vg0-lvSrc on /usr/src type ext3 (rw,noatime)
/dev/mapper/vg0-lvOpt on /opt type ext3 (rw,noatime)
/dev/mapper/vg0-lvVar on /var type ext3 (rw,noatime)
/dev/mapper/vg0-lvSpool on /var/spool type ext3 (rw,noatime)
/dev/mapper/vg0-lvLog on /var/log type ext3 (rw,noatime)
/dev/mapper/vg0-lvWww on /var/www type ext3 (rw,noatime)
/dev/mapper/vg0-lvHome on /home type ext3 (rw,noatime)
/dev/mapper/vg0-lvMirror on /vz type ext3 (rw,noatime)
/dev/mapper/vg0-lvLfs on /install type ext3 (rw,noatime)
/dev/hda1 on /boot type ext3 (rw,noatime)
tmpfs on /dev/shm type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type

As you see I have a LVM setup and regular lines work, but my own line following 
Xen docs, doesn’t I even created an initrd image as it works on stock CentOS 
kernels.

Everything compiled fine and installed too, please help me, I always have the 
same problem when I compile custom kernels, my system can never boot, may be I 
have to compile LVM support into the kernel rather than as Module.

Has anyone made this work with similar setups as mine?

Can anyone give me a lead, thanks.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>