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: xen-users@xxxxxxxxxxxxxxxxxxx, David Gonzalez <dgonzalezh@xxxxxxxxx>
Subject: Re: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 6 Jan 2009 02:30:21 -0800 (PST)
Cc:
Delivery-date: Tue, 06 Jan 2009 02:31:12 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=1nPtduTwR2zCjpDGV3dFozLPZhq8xKVMTzX3wNkl6NgRaE0gqamkcXu8cseBYnK+97XQeyUS79grpGbRV5L/cEEbxhPBvYxjRARYLh5NMVqqkfg/q4eEPmFpFR3k/7178xOcCs30IGZ0ugRE3uFDb6h8N38qqfDg83OkRaHLiBE=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <29E9A982563541D7ACD496154C0DE8EF@dgh>
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>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
***********************************************************************
To port Xen 3.3.1-rc4 e to xen disabled CentOS 5.2 instance (64 bit) install the most recent version of gitco and mercurial (hg).
***********************************************************************
# cd /usr/src/
# hg clone http://xenbits.xensource.com/xen-3.3-testing.hg
# cd xen-3.3-testing.hg
# make world
# make install
Determine the name of the Xen Linux kernel version that was installed.
# ls /lib/modules
There should be a directory for the Xen Linux kernel (e.g.2.6.18.8-xen)
Generate the module dependency list and map files
# /sbin/depmod 2.6.18.8-xen
Create the Xen initial ramdisk image
# /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen
Disable tls
# mv /lib64/tls /lib64/tls.disabled
Set xend service to start
# /sbin/chkconfig –add xend
# /sbin/chkconfig xend on
Install bridge-utils:-
# yum install bridge-utils
************************************************************************
Edit /boot/grub/grub.conf and copy one of the existing boot entries
to make the required changes for Xen and reboot into new kernel.
*************************************************************************
title Xen-3.3.1 CentOS 5.2 x86_64 (2.6.18.8-xen) (/dev/sdb12)
root (hd1,11)
kernel /xen-3.3.gz
module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18.8-xen.img
**************************************************************************
View for details :-
http://lxer.com/module/newswire/view/112300/index.html

If you don't like clone , download from
http://www.xen.org/download/index.html
   Linux 2.6.18 with Xen 3.3 support source tarball
./install.sh should work like "make install"
But, personally, i haven't verified it.

--- On Mon, 1/5/09, David Gonzalez <dgonzalezh@xxxxxxxxx> wrote:
From: David Gonzalez <dgonzalezh@xxxxxxxxx>
Subject: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, January 5, 2009, 8:39 PM

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>