Kumar, Venkat
2008-Jun-17 11:46 UTC
[Xen-users] Do any body have experience in creating a paravirtualized guest with xm command?
Xen daemon is crashing while creating a PV guest with xm command. My configuration file is ================================================================================# Kernel image file. kernel = "/usr/lib/xen/boot/hvmloader" # The domain build function. HVM domain uses ''hvm''. builder=''hvm'' kernel = "/boot/vmlinuz-2.6.18-xen" #ramdisk = "initrd-2.6.21.7-3.fc8xen-domU.img" memory = 428 name = "fedora.fc8" vif = [ '''' ] dhcp = "" disk = [''tap:aio:/var/lib/xen/images/fedora.fc8.img,xvda1,w'', ''tap:aio:/var/lib/xen/images/fedora.swap,xvda2,w''] root = ''/dev/xvda1 ro'' ================================================================================ The root and swap file system images are downloaded from jailtime.org. If I try to create the xend crashes with an error message Xend has probably crashed! Invalid or missing HTTP status code. Looks like kernel = "/boot/vmlinuz-2.6.18-xen" line in the configuration file is the problem. This is the point where the daemon is crashing. The kernel image is the same as dom0''s. Any idea? Thx, Venkat ===============================Venkata Kumar Duvvuru, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) =============================== _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ruggero Tonelli
2008-Jun-17 12:13 UTC
Re: [Xen-users] Do any body have experience in creating a paravirtualized guest with xm command?
Kumar, Venkat ha scritto alle martedì 17 giugno 2008> Xen daemon is crashing while creating a PV guest with xm command.first...what "flavour" of Xen are You using? It''s important report as many information as possible to get the right answer...> > My configuration file is > ==========================================================================>====== # Kernel image file. > kernel = "/usr/lib/xen/boot/hvmloader"[...]> Looks like kernel = "/boot/vmlinuz-2.6.18-xen" line in the configurationkernel option is specified twice, try remove the 2nd :: kernel = "/boot/vmlinuz-2.6.18-xen" try also substitute "tap:aio:" with "file:" then report, cy -- Ruggero Tonelli http://www.valtellinux.it GPG Key-id: 0x96998647 -- Il messaggio e'' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e'' risultato non infetto. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kumar, Venkat
2008-Jun-17 13:19 UTC
RE: [Xen-users] Do any body have experience in creating a paravirtualized guest with xm command?
I want to use the dom0 Kernel for domU as well. So I removed the 1st kernel line (though it will be overwritten by the second one) and changed tap:aio to file Still same error exists. Venkat ===============================Venkata Kumar Duvvuru, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) ===============================-----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ruggero Tonelli Sent: Tuesday, June 17, 2008 5:43 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Do any body have experience in creating a paravirtualized guest with xm command? Kumar, Venkat ha scritto alle martedì 17 giugno 2008> Xen daemon is crashing while creating a PV guest with xm command.first...what "flavour" of Xen are You using? It''s important report as many information as possible to get the right answer...> > My configuration file is > ==========================================================================>====== # Kernel image file. > kernel = "/usr/lib/xen/boot/hvmloader"[...]> Looks like kernel = "/boot/vmlinuz-2.6.18-xen" line in the configurationkernel option is specified twice, try remove the 2nd :: kernel = "/boot/vmlinuz-2.6.18-xen" try also substitute "tap:aio:" with "file:" then report, cy -- Ruggero Tonelli http://www.valtellinux.it GPG Key-id: 0x96998647 -- Il messaggio e'' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e'' risultato non infetto. _______________________________________________ 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
Ruggero Tonelli
2008-Jun-17 14:33 UTC
Re: [Xen-users] Do any body have experience in creating a paravirtualized guest with xm command?
Kumar, Venkat ha scritto alle martedì 17 giugno 2008> I want to use the dom0 Kernel for domU as well. > So I removed the 1st kernel line (though it will be overwritten by the > second one) and changed tap:aio to file Still same error exists.same request: what version/flavour of Xen are You using? Xen Enterprise, Xen GPL on Centos ...etc... ? can You attach the log of xm create name_of_the_virtual_image? why aren''t You using the initrd image? regards, -- Ruggero Tonelli http://www.valtellinux.it GPG Key-id: 0x96998647 -- Il messaggio e'' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e'' risultato non infetto. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ruggero Tonelli
2008-Jun-17 14:44 UTC
Re: [Xen-users] Do any body have experience in creating a paravirtualized guest with xm command?
...just forget: remove this line too: builder=''hvm'' that''s one of the config file using jailtime images on a Centos5: #=================================kernel = "/boot/vmlinuz-2.6.18-53.1.13.el5xen" ramdisk = "/boot/initrd_r" maxmem = 512 memory = 512 vcpus = 1 name = "webserver009" vif = [ "mac=00:16:3e:43:ae:14,bridge=xenbr0" ] disk = [ "phy:/dev/mapper/lvm-centosR,sda1,w", "phy:/dev/lvm/centosS,sda2,w"] root = ''/dev/sda1 '' extra = " selinux=0 ro " keymap = "it" vncdisplay = "1" vfb = [ " type=vnc,vncunused=1 " ] on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" #================================= initrd was recompilated due to module missing, lvm was used for physical disks... cy, -- Ruggero Tonelli http://www.valtellinux.it GPG Key-id: 0x96998647 -- Il messaggio e'' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e'' risultato non infetto. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users