mikaeld@dalsgard.fupp.net
2007-Dec-04 21:30 UTC
Linux domU on 64 bit Solaris failing with (almost) no error message
Hi! Situation: - Linux domU images downloaded from jailtime.org - Solaris Express/Nevada 78 64-bit domO - 64 bit xen kernels retrived and stored on Solaris filesystem (e.g: "vmlinuz-2.6.18-8.el5xen" from Centos 5.0 and vmlinuz-2.6.22.5-31-xen" from OpenSuse) The jailtime images does not contain any kernels or anything which is required to be able to just boot by using pygrub. So I have tried to get hold of some 64 bit Linux kernels. But whatever I try I always get this when I attempt to start the guest: bash-3.2# xm create -c centos.5-0.xen3.cfg Using config file "./centos.5-0.xen3.cfg". Error: bash-3.2# Not very informative.... Any hints on how I debug this to find out what is wrong? Or if anyone know off-hand! A config file example listed below. I have tried several of the kernels for several of the images, and with or with the ramdisk option. Mikael kernel = "/opt/domu/opensuse64/boot/vmlinuz-2.6.22.5-31-xen" #ramdisk = "/opt/domu/centos/boot/initrd.gz" memory = 512 name = "centos.5-0" vif = [ ''bridge=xenbr0'' ] dhcp = "dhcp" disk = [''file:/opt/domu/centos/centos.5-0.img,sda1,w'', ''file:/opt/domu/centos/centos.swap,sda2,w''] root = "/dev/sda1 ro"
Mark Johnson
2007-Dec-04 21:57 UTC
Re: Linux domU on 64 bit Solaris failing with (almost) no error message
mikaeld@dalsgard.fupp.net wrote:> Hi! > > Situation: > > - Linux domU images downloaded from jailtime.org > - Solaris Express/Nevada 78 64-bit domO > - 64 bit xen kernels retrived and stored on Solaris filesystem > (e.g: "vmlinuz-2.6.18-8.el5xen" from Centos 5.0 and > vmlinuz-2.6.22.5-31-xen" from OpenSuse) > > The jailtime images does not contain any kernels or anything which is > required to be able to just boot by using pygrub. So I have tried to get > hold of some 64 bit Linux kernels. But whatever I try I always get this > when I attempt to start the guest: > > bash-3.2# xm create -c centos.5-0.xen3.cfg > Using config file "./centos.5-0.xen3.cfg". > Error: > bash-3.2# > > > Not very informative.... > Any hints on how I debug this to find out what is wrong? Or if anyone know > off-hand! > > A config file example listed below. I have tried several of the kernels > for several of the images, and with or with the ramdisk option. > > Mikael > > > kernel = "/opt/domu/opensuse64/boot/vmlinuz-2.6.22.5-31-xen" > #ramdisk = "/opt/domu/centos/boot/initrd.gz" > memory = 512 > name = "centos.5-0" > vif = [ ''bridge=xenbr0'' ] > dhcp = "dhcp" > disk = [''file:/opt/domu/centos/centos.5-0.img,sda1,w'', > ''file:/opt/domu/centos/centos.swap,sda2,w''] > root = "/dev/sda1 ro"try replacing the vif line with... vif = [ '''' ] I''m not sure if sda* if right for your Linux PV driver either? MRJ
Michael Schuster
2007-Dec-04 22:01 UTC
Re: Linux domU on 64 bit Solaris failing with (almost) no error message
Mark Johnson wrote:> > mikaeld@dalsgard.fupp.net wrote: >> Hi! >> >> Situation: >> >> - Linux domU images downloaded from jailtime.org >> - Solaris Express/Nevada 78 64-bit domO >> - 64 bit xen kernels retrived and stored on Solaris filesystem >> (e.g: "vmlinuz-2.6.18-8.el5xen" from Centos 5.0 and >> vmlinuz-2.6.22.5-31-xen" from OpenSuse) >> >> The jailtime images does not contain any kernels or anything which is >> required to be able to just boot by using pygrub. So I have tried to get >> hold of some 64 bit Linux kernels. But whatever I try I always get this >> when I attempt to start the guest: >> >> bash-3.2# xm create -c centos.5-0.xen3.cfg >> Using config file "./centos.5-0.xen3.cfg". >> Error: >> bash-3.2# >> >> >> Not very informative.... >> Any hints on how I debug this to find out what is wrong? Or if anyone know >> off-hand! >> >> A config file example listed below. I have tried several of the kernels >> for several of the images, and with or with the ramdisk option. >> >> Mikael >> >> >> kernel = "/opt/domu/opensuse64/boot/vmlinuz-2.6.22.5-31-xen" >> #ramdisk = "/opt/domu/centos/boot/initrd.gz" >> memory = 512 >> name = "centos.5-0" >> vif = [ ''bridge=xenbr0'' ] >> dhcp = "dhcp" >> disk = [''file:/opt/domu/centos/centos.5-0.img,sda1,w'', >> ''file:/opt/domu/centos/centos.swap,sda2,w''] >> root = "/dev/sda1 ro" > > try replacing the vif line with... > vif = [ '''' ] > > I''m not sure if sda* if right for your Linux PV driver > either?try setting up the xen console and the dom0 console, and then watch that while you start booting your domU. HTH Michael -- Michael Schuster Recursion, n.: see ''Recursion''
mikaeld@dalsgard.fupp.net
2007-Dec-04 23:55 UTC
Re: Linux domU on 64 bit Solaris failing with (almost) no error message
On Tue, December 4, 2007 22:57, Mark Johnson wrote:> try replacing the vif line with... vif = [ '''' ]Thank you! That got it booting. Actually I did find log messages indicating something like this in some logs after you pointed it out. Oh well...> I''m not sure if sda* if right for your Linux PV driver > either?Turned out ''sda'' was the correct one! But I had to include the initrd in the config (the ramdisk option) so it got the driver needed. Thanx again! Mikael