Hi
I am having some problems installing a paravirt RHEL guest on a deb amd64 xen 
machine
uname -a = Linux debxen 2.6.20-1-xen-amd64 #1 SMP Tue Apr 24 22:23:22 UTC 2007 
x86_64 GNU/Linux ============== xm info =============host                   :
debxen
release                : 2.6.20-1-xen-amd64
version                : #1 SMP Tue Apr 24 22:23:22 UTC 2007
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2800
hw_caps                : 
178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory           : 8191
free_memory            : 512
xen_major              : 3
xen_minor              : 0
xen_extra              : .3-1
xen_caps               : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p 
hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Tue Oct 17 22:09:52 2006 +0100 cc_compiler            
: gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
cc_compile_by          : ultrotter
cc_compile_domain      : debian.org
cc_compile_date        : Fri Nov  3 00:21:27 CET 2006
xend_config_format     : 2
=============cat rhel5-x86_64.cfg
=============#
#  Kernel + memory size
#
kernel      = ''/etc/xen/data/rhel5-x86_64/vmlinuz''
ramdisk     = ''/etc/xen/data/rhel5-x86_64/initrd.img''
memory      = ''128''
#
#  Disk device(s).
#
root        = ''/dev/sda1 ro''
disk        = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', 
''phy:vglocal/rhel5-x86_64-swap,sdb,w'']
#
#  Hostname
#
name        = ''rhel5-x86_64''
#
#  Networking
#
dhcp        = ''dhcp''
#vif         = [ ''type=ioemu, bridge=xenbr0'' ]
vif         = [ '''' ]
#
#  Behaviour
#
on_poweroff = ''destroy''
on_reboot   = ''restart''
on_crash    = ''restart''
serial = "pty"
localtime = 0
vcpus = 1
I have downloaded the RHEL 5 x86_64 cds, loop mounted disk 1, I have taken off 
the /isolinux/{initrd.img,vmlinux} and /images/xen/{initrd.img,vmlinux} files
When I boot from the /isolinux files, seems like the kernel is not
xen''ed so
will not boot. When I try and boot from the /images/xen, it boots, but it
can''t
find any block devices.  
Any idea''s hints ? is this the wrong list to be posting to ?
Alex 
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-May-16  13:39 UTC
Re: [Xen-users] 2.6.20-1-amd64 Xen with RHEL5 guest
On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote:> =============> cat rhel5-x86_64.cfg > =============> # > # Kernel + memory size > # > kernel = ''/etc/xen/data/rhel5-x86_64/vmlinuz'' > ramdisk = ''/etc/xen/data/rhel5-x86_64/initrd.img'' > memory = ''128'' > > # > # Disk device(s). > # > root = ''/dev/sda1 ro''This is redundant (&wrong) when booting off the vmlinux & initrd.img for purposes of installation. The initrd contains sets up the root filesystem in a ramdisk for the install.> disk = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', > ''phy:vglocal/rhel5-x86_64-swap,sdb,w'']Better off using xvda & xvdb there> I have downloaded the RHEL 5 x86_64 cds, loop mounted disk 1, I have taken off > the /isolinux/{initrd.img,vmlinux} and /images/xen/{initrd.img,vmlinux} filesThe ones in isolinux/ are for bare metal, so you always ned the /images/xen files for doing paravirt installs. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 16, 2007 at 02:39:15PM +0100, Daniel P. Berrange wrote:> On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote: > > =============> > cat rhel5-x86_64.cfg > > =============> > # > > # Kernel + memory size > > # > > kernel = ''/etc/xen/data/rhel5-x86_64/vmlinuz'' > > ramdisk = ''/etc/xen/data/rhel5-x86_64/initrd.img'' > > memory = ''128'' > > > > # > > # Disk device(s). > > # > > root = ''/dev/sda1 ro'' > > This is redundant (&wrong) when booting off the vmlinux & initrd.img > for purposes of installation. The initrd contains sets up the root > filesystem in a ramdisk for the install.got rid of> > > disk = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', > > ''phy:vglocal/rhel5-x86_64-swap,sdb,w''] > > Better off using xvda & xvdb thereI am presuming you mean change sda & sdb with xvda xvdb tried that i captured this of the console during the rhel boot up XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vbd/51728 XENBUS: Device with no driver: device/vif/0> > > I have downloaded the RHEL 5 x86_64 cds, loop mounted disk 1, I have taken off > > the /isolinux/{initrd.img,vmlinux} and /images/xen/{initrd.img,vmlinux} files > > The ones in isolinux/ are for bare metal, so you always ned the /images/xen > files for doing paravirt installs. > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 17, 2007 at 02:39:00PM +1000, Alex Samad wrote:> On Wed, May 16, 2007 at 02:39:15PM +0100, Daniel P. Berrange wrote: > > On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote: > > > =============> > > cat rhel5-x86_64.cfg > > > =============> > > # > > > # Kernel + memory size > > > # > > > kernel = ''/etc/xen/data/rhel5-x86_64/vmlinuz'' > > > ramdisk = ''/etc/xen/data/rhel5-x86_64/initrd.img'' > > > memory = ''128'' > > > > > > # > > > # Disk device(s). > > > # > > > root = ''/dev/sda1 ro'' > > > > This is redundant (&wrong) when booting off the vmlinux & initrd.img > > for purposes of installation. The initrd contains sets up the root > > filesystem in a ramdisk for the install. > got rid of > > > > > > disk = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', > > > ''phy:vglocal/rhel5-x86_64-swap,sdb,w''] > > > > Better off using xvda & xvdb there > > I am presuming you mean change sda & sdb with xvda xvdb > > tried that > > i captured this of the console during the rhel boot up > XENBUS: Device with no driver: device/vbd/51712 > XENBUS: Device with no driver: device/vbd/51728 > XENBUS: Device with no driver: device/vif/0okay made the changes to xvba & xvbb, went forward with the rhel5 install, it wants to partition up the drives. which I let it do in its default way - which means I have a /boot, pv1, pv2. From the host machine how can I get to /boot for the vmlinux and the initrd? I am presuming I need these to insert into my xen config file !> > > > > > I have downloaded the RHEL 5 x86_64 cds, loop mounted disk 1, I have taken off > > > the /isolinux/{initrd.img,vmlinux} and /images/xen/{initrd.img,vmlinux} files > > > > The ones in isolinux/ are for bare metal, so you always ned the /images/xen > > files for doing paravirt installs. > > > > Regards, > > Dan. > > -- > > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > > |=- Projects: http://freshmeat.net/~danielpb/ -=| > > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| > >> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-May-17  11:20 UTC
Re: [Xen-users] 2.6.20-1-amd64 Xen with RHEL5 guest
On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote:> On Thu, May 17, 2007 at 02:39:00PM +1000, Alex Samad wrote: > > On Wed, May 16, 2007 at 02:39:15PM +0100, Daniel P. Berrange wrote: > > > On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote: > > > > =============> > > > cat rhel5-x86_64.cfg > > > > =============> > > > # > > > > # Kernel + memory size > > > > # > > > > kernel = ''/etc/xen/data/rhel5-x86_64/vmlinuz'' > > > > ramdisk = ''/etc/xen/data/rhel5-x86_64/initrd.img'' > > > > memory = ''128'' > > > > > > > > # > > > > # Disk device(s). > > > > # > > > > root = ''/dev/sda1 ro'' > > > > > > This is redundant (&wrong) when booting off the vmlinux & initrd.img > > > for purposes of installation. The initrd contains sets up the root > > > filesystem in a ramdisk for the install. > > got rid of > > > > > > > > > disk = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', > > > > ''phy:vglocal/rhel5-x86_64-swap,sdb,w''] > > > > > > Better off using xvda & xvdb there > > > > I am presuming you mean change sda & sdb with xvda xvdb > > > > tried that > > > > i captured this of the console during the rhel boot up > > XENBUS: Device with no driver: device/vbd/51712 > > XENBUS: Device with no driver: device/vbd/51728 > > XENBUS: Device with no driver: device/vif/0 > > > okay made the changes to xvba & xvbb, went forward with the rhel5 install, it > wants to partition up the drives. which I let it do in its default way - which > means I have a /boot, pv1, pv2. > From the host machine how can I get to /boot for the vmlinux and the initrd? > I am presuming I need these to insert into my xen config file !No need. Just use pygrub bootloader. eg instead of kernel + initrd config options, use bootloader=''/usr/bin/pygrub'' It will automatically look in /boot for the guest disk & extract the default kernel & initrd. If you use ''xm create -c'' it''ll present you the usual grub style menu for choosing a non-default kernel. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 17, 2007 at 12:20:22PM +0100, Daniel P. Berrange wrote:> On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote: > > On Thu, May 17, 2007 at 02:39:00PM +1000, Alex Samad wrote: > > > On Wed, May 16, 2007 at 02:39:15PM +0100, Daniel P. Berrange wrote: > > > > On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote: > > > > > =============> > > > > cat rhel5-x86_64.cfg > > > > > =============> > > > > # > > > > > # Kernel + memory size > > > > > # > > > > > kernel = ''/etc/xen/data/rhel5-x86_64/vmlinuz'' > > > > > ramdisk = ''/etc/xen/data/rhel5-x86_64/initrd.img'' > > > > > memory = ''128'' > > > > > > > > > > # > > > > > # Disk device(s). > > > > > # > > > > > root = ''/dev/sda1 ro'' > > > > > > > > This is redundant (&wrong) when booting off the vmlinux & initrd.img > > > > for purposes of installation. The initrd contains sets up the root > > > > filesystem in a ramdisk for the install. > > > got rid of > > > > > > > > > > > > disk = [ ''phy:vglocal/rhel5-x86_64-disk,sda,w'', > > > > > ''phy:vglocal/rhel5-x86_64-swap,sdb,w''] > > > > > > > > Better off using xvda & xvdb there > > > > > > I am presuming you mean change sda & sdb with xvda xvdb > > > > > > tried that > > > > > > i captured this of the console during the rhel boot up > > > XENBUS: Device with no driver: device/vbd/51712 > > > XENBUS: Device with no driver: device/vbd/51728 > > > XENBUS: Device with no driver: device/vif/0 > > > > > > okay made the changes to xvba & xvbb, went forward with the rhel5 install, it > > wants to partition up the drives. which I let it do in its default way - which > > means I have a /boot, pv1, pv2. > > From the host machine how can I get to /boot for the vmlinux and the initrd? > > I am presuming I need these to insert into my xen config file ! > > No need. Just use pygrub bootloader. eg instead of kernel + initrd config > options, use > > bootloader=''/usr/bin/pygrub''This is a debian host, what package is this part of and will it look in the guest disks for this information ?> > It will automatically look in /boot for the guest disk & extract the default > kernel & initrd. If you use ''xm create -c'' it''ll present you the usual grub > style menu for choosing a non-default kernel. > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-May-17  12:57 UTC
Re: [Xen-users] 2.6.20-1-amd64 Xen with RHEL5 guest
On Thu, May 17, 2007 at 10:40:32PM +1000, Alex Samad wrote:> On Thu, May 17, 2007 at 12:20:22PM +0100, Daniel P. Berrange wrote: > > On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote: > > > okay made the changes to xvba & xvbb, went forward with the rhel5 install, it > > > wants to partition up the drives. which I let it do in its default way - which > > > means I have a /boot, pv1, pv2. > > > From the host machine how can I get to /boot for the vmlinux and the initrd? > > > I am presuming I need these to insert into my xen config file ! > > > > No need. Just use pygrub bootloader. eg instead of kernel + initrd config > > options, use > > > > bootloader=''/usr/bin/pygrub'' > > This is a debian host, what package is this part of and will it look in the > guest disks for this information ?pygrub is a standard part of Xen 3.0.3 releases or later, so I''d hope its in one of the Debian xen packages. As I mentioned below, it looks into the guest disk to extract the default & initrd.> > It will automatically look in /boot for the guest disk & extract the default > > kernel & initrd. If you use ''xm create -c'' it''ll present you the usual grub > > style menu for choosing a non-default kernel.Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 17, 2007 at 01:57:15PM +0100, Daniel P. Berrange wrote:> On Thu, May 17, 2007 at 10:40:32PM +1000, Alex Samad wrote: > > On Thu, May 17, 2007 at 12:20:22PM +0100, Daniel P. Berrange wrote: > > > On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote: > > > > okay made the changes to xvba & xvbb, went forward with the rhel5 install, it > > > > wants to partition up the drives. which I let it do in its default way - which > > > > means I have a /boot, pv1, pv2. > > > > From the host machine how can I get to /boot for the vmlinux and the initrd? > > > > I am presuming I need these to insert into my xen config file ! > > > > > > No need. Just use pygrub bootloader. eg instead of kernel + initrd config > > > options, use > > > > > > bootloader=''/usr/bin/pygrub'' > > > > This is a debian host, what package is this part of and will it look in the > > guest disks for this information ? > > pygrub is a standard part of Xen 3.0.3 releases or later, so I''d hope its in > one of the Debian xen packages. As I mentioned below, it looks into the guest > disk to extract the default & initrd.great I wil track it down> > > > It will automatically look in /boot for the guest disk & extract the default > > > kernel & initrd. If you use ''xm create -c'' it''ll present you the usual grub > > > style menu for choosing a non-default kernel. > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 18, 2007 at 11:30:15AM +1000, Alex Samad wrote:> On Thu, May 17, 2007 at 01:57:15PM +0100, Daniel P. Berrange wrote: > > On Thu, May 17, 2007 at 10:40:32PM +1000, Alex Samad wrote: > > > On Thu, May 17, 2007 at 12:20:22PM +0100, Daniel P. Berrange wrote: > > > > On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote: > > > > > okay made the changes to xvba & xvbb, went forward with the rhel5 install, it > > > > > wants to partition up the drives. which I let it do in its default way - which > > > > > means I have a /boot, pv1, pv2. > > > > > From the host machine how can I get to /boot for the vmlinux and the initrd? > > > > > I am presuming I need these to insert into my xen config file ! > > > > > > > > No need. Just use pygrub bootloader. eg instead of kernel + initrd config > > > > options, use > > > > > > > > bootloader=''/usr/bin/pygrub'' > > > > > > This is a debian host, what package is this part of and will it look in the > > > guest disks for this information ? > > > > pygrub is a standard part of Xen 3.0.3 releases or later, so I''d hope its in > > one of the Debian xen packages. As I mentioned below, it looks into the guest > > disk to extract the default & initrd. > great I wil track it downOkay I have a working rhel5 guest in a debian host. found pygrub, but it seems to be broken, will look into it. Thanks for your help> > > > > > > > It will automatically look in /boot for the guest disk & extract the default > > > > kernel & initrd. If you use ''xm create -c'' it''ll present you the usual grub > > > > style menu for choosing a non-default kernel. > > > > Regards, > > Dan. > > -- > > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > > |=- Projects: http://freshmeat.net/~danielpb/ -=| > > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > >> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users