Hi, I have created my own customer guest kernel, and tried starting up the domain however, it appears to start ok, but then when I do ''xm list'' it is not present. No errors present to screen. When I check the logs I also cant see anything specific. Does anyone have any ideas? (I do run another guest kernel up ok) Command used to start image /usr/sbin/xm create -f /etc/xen/xm-test-iq.cfg vi /etc/xen/xm-test-iq.cfg kernel = "/boot/vmlinux-syms-2.6.11.12-xenU-iq" ramdisk = "/boot/initrd-2.6.11.12-xenU-iq.img" builder=''linux'' memory = 128 name = "test-iq.vs.eu.car-rental-software.net" #vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0, ip=192.168.240.102'' ] vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0'' ] nics=1 disk = [ ''file:/mnt/drbd1/test-iq.img,sda1,w'',''file:/mnt/swap/test-iq.swap,sda2, w''] root = "/dev/sda1 ro" extra = "4" restart = ''onreboot'' vi xend-debug.log Loaded kernel: c0100000->c0540ac4 Init. ramdisk: c0541000->c05d3000 Phys-Mach map: c05d3000->c05f3000 Page tables: c05f3000->c05f6000 Start info: c05f6000->c05f7000 Boot stack: c05f7000->c05f8000 TOTAL: c0000000->c0800000 ENTRY ADDRESS: c0100000 ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy vif-bridge up vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa:00 :00:00:00:02 bridge=xen-br0 VirqClient.virqReceived> 4 vif-bridge down vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa: 00:00:00:00:02 bridge=xen-br0 vi xend.log [2005-08-26 13:12:41 xend] DEBUG (XendDomainInfo:720) init_domain> Created domain=15 name=al-software.net memory=128 [2005-08-26 13:12:41 xend] INFO (console:94) Created console id=15 domain=15 port=9615 [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/drbd1/test-iq.img [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/swap/test-iq.swap [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=15 vif=0 mac=aa:00:00:00:00:02 [2005-08-26 13:12:42 xend] INFO (XendRoot:113) EVENT> xend.console.create [15, 15, 9615] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.create [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.unpause [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] DEBUG (XendDomain:244) XendDomain>reap> domain died name=test-iq.vs.eu.car-rental-software.net id=15 [2005-08-26 13:12:43 xend] INFO (XendDomain:568) Destroying domain: name=test-iq.vs.eu.car-rental-software.net [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:665) Destroying vifs for domain 15 [2005-08-26 13:12:43 xend] DEBUG (netif:305) Destroying vif domain=15 vif=0 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:674) Destroying vbds for domain 15 [2005-08-26 13:12:43 xend] DEBUG (blkif:552) Destroying blkif domain=15 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=0 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=1 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:634) Closing console, domain 15 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:622) Closing channel to domain 15 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.virq 4 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop1 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop2 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.exit [''test-iq.vs.eu.car-rental-software.net'', ''15'', ''crash''] [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.destroy [''test-iq.vs.eu.car-rental-software.net'', ''15''] Mark Olliver BSc (Hons) MBCS Thermeon Europe Ltd e-Card www.thermeoneurope.com/e-Card/mpo Email mpo@thermeoneurope.com Web www.thermeoneurope.com Support 0906 515 0908 Int. Support +44 1293 864 341 Support Email support@thermeoneurope.com Support Site www.thermeoneurope.com/rt Sales +44 1293 864 334 Sales Email sales@thermeoneurope.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark, You might try using the "-c" flag when you create the machine to automatically connect you to the console. I don''t know if that will give any more output than the xend debug logs and other stuff you''ve attached, but it may let you know what the kernel you''re trying to boot is thinking. Nick Couchman Systems Integrator SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Main: (303) 790-8499 Fax: (303) 790-8720 Web: http://www.seakr.com>>> "Mark Olliver" <mpo@thermeoneurope.com> 2005/08/26 05:20:00 >>>Hi, I have created my own customer guest kernel, and tried starting up the domain however, it appears to start ok, but then when I do ''xm list'' it is not present. No errors present to screen. When I check the logs I also cant see anything specific. Does anyone have any ideas? (I do run another guest kernel up ok) Command used to start image /usr/sbin/xm create -f /etc/xen/xm-test-iq.cfg vi /etc/xen/xm-test-iq.cfg kernel = "/boot/vmlinux-syms-2.6.11.12-xenU-iq" ramdisk = "/boot/initrd-2.6.11.12-xenU-iq.img" builder=''linux'' memory = 128 name = "test-iq.vs.eu.car-rental-software.net" #vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0, ip=192.168.240.102'' ] vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0'' ] nics=1 disk = [ ''file:/mnt/drbd1/test-iq.img,sda1,w'',''file:/mnt/swap/test-iq.swap,sda2, w''] root = "/dev/sda1 ro" extra = "4" restart = ''onreboot'' vi xend-debug.log Loaded kernel: c0100000->c0540ac4 Init. ramdisk: c0541000->c05d3000 Phys-Mach map: c05d3000->c05f3000 Page tables: c05f3000->c05f6000 Start info: c05f6000->c05f7000 Boot stack: c05f7000->c05f8000 TOTAL: c0000000->c0800000 ENTRY ADDRESS: c0100000 ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy vif-bridge up vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa:00 :00:00:00:02 bridge=xen-br0 VirqClient.virqReceived> 4 vif-bridge down vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa: 00:00:00:00:02 bridge=xen-br0 vi xend.log [2005-08-26 13:12:41 xend] DEBUG (XendDomainInfo:720) init_domain> Created domain=15 name=al-software.net memory=128 [2005-08-26 13:12:41 xend] INFO (console:94) Created console id=15 domain=15 port=9615 [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/drbd1/test-iq.img [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/swap/test-iq.swap [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=15 vif=0 mac=aa:00:00:00:00:02 [2005-08-26 13:12:42 xend] INFO (XendRoot:113) EVENT> xend.console.create [15, 15, 9615] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.create [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.unpause [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] DEBUG (XendDomain:244) XendDomain>reap> domain died name=test-iq.vs.eu.car-rental-software.net id=15 [2005-08-26 13:12:43 xend] INFO (XendDomain:568) Destroying domain: name=test-iq.vs.eu.car-rental-software.net [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:665) Destroying vifs for domain 15 [2005-08-26 13:12:43 xend] DEBUG (netif:305) Destroying vif domain=15 vif=0 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:674) Destroying vbds for domain 15 [2005-08-26 13:12:43 xend] DEBUG (blkif:552) Destroying blkif domain=15 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=0 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=1 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:634) Closing console, domain 15 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:622) Closing channel to domain 15 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.virq 4 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop1 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop2 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.exit [''test-iq.vs.eu.car-rental-software.net'', ''15'', ''crash''] [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.destroy [''test-iq.vs.eu.car-rental-software.net'', ''15''] Mark Olliver BSc (Hons) MBCS Thermeon Europe Ltd e-Card www.thermeoneurope.com/e-Card/mpo Email mpo@thermeoneurope.com Web www.thermeoneurope.com Support 0906 515 0908 Int. Support +44 1293 864 341 Support Email support@thermeoneurope.com Support Site www.thermeoneurope.com/rt Sales +44 1293 864 334 Sales Email sales@thermeoneurope.com _______________________________________________ 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
Hi, Thanks for that idea but it appears not :-( [root@vs log]# /usr/sbin/xm create -cf /etc/xen/xm-test-iq.cfg Using config file "/etc/xen/xm-test-iq.cfg". Started domain test-iq.vs.eu.car-rental-software.net, console on port 9616 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** ************ REMOTE CONSOLE EXITED ***************** _____ From: Nick Couchman [mailto:Nick.Couchman@seakr.com] Sent: Friday, August 26, 2005 3:59 PM To: Mark Olliver; xen-users@lists.xensource.com Subject: Re: [Xen-users] Second guest os wont start Mark, You might try using the "-c" flag when you create the machine to automatically connect you to the console. I don''t know if that will give any more output than the xend debug logs and other stuff you''ve attached, but it may let you know what the kernel you''re trying to boot is thinking. Nick Couchman Systems Integrator SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Main: (303) 790-8499 Fax: (303) 790-8720 Web: http://www.seakr.com>>> "Mark Olliver" < mpo@thermeoneurope.com > 2005/08/26 05:20:00 >>>Hi, I have created my own customer guest kernel, and tried starting up the domain however, it appears to start ok, but then when I do ''xm list'' it is not present. No errors present to screen. When I check the logs I also cant see anything specific. Does anyone have any ideas? (I do run another guest kernel up ok) Command used to start image /usr/sbin/xm create -f /etc/xen/xm-test-iq.cfg vi /etc/xen/xm-test-iq.cfg kernel = "/boot/vmlinux-syms-2.6.11.12-xenU-iq" ramdisk = "/boot/initrd-2.6.11.12-xenU-iq.img" builder=''linux'' memory = 128 name = "test-iq.vs.eu.car-rental-software.net" #vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0, ip=192.168.240.102'' ] vif = [''mac=aa:00:00:00:00:02, bridge=xen-br0'' ] nics=1 disk = [ ''file:/mnt/drbd1/test-iq.img,sda1,w'',''file:/mnt/swap/test-iq.swap,sda2, w''] root = "/dev/sda1 ro" extra = "4" restart = ''onreboot'' vi xend-debug.log Loaded kernel: c0100000->c0540ac4 Init. ramdisk: c0541000->c05d3000 Phys-Mach map: c05d3000->c05f3000 Page tables: c05f3000->c05f6000 Start info: c05f6000->c05f7000 Boot stack: c05f7000->c05f8000 TOTAL: c0000000->c0800000 ENTRY ADDRESS: c0100000 ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy vif-bridge up vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa:00 :00:00:00:02 bridge=xen-br0 VirqClient.virqReceived> 4 vif-bridge down vif=vif15.0 domain=test-iq.vs.eu.car-rental-software.net mac=aa: 00:00:00:00:02 bridge=xen-br0 vi xend.log [2005-08-26 13:12:41 xend] DEBUG (XendDomainInfo:720) init_domain> Created domain=15 name=al-software.net memory=128 [2005-08-26 13:12:41 xend] INFO (console:94) Created console id=15 domain=15 port=9615 [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/drbd1/test-iq.img [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=15 uname=file:/mnt/swap/test-iq.swap [2005-08-26 13:12:42 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 15 0> [2005-08-26 13:12:42 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=15 vif=0 mac=aa:00:00:00:00:02 [2005-08-26 13:12:42 xend] INFO (XendRoot:113) EVENT> xend.console.create [15, 15, 9615] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.create [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] INFO (XendRoot:113) EVENT> xend.domain.unpause [''test-iq.vs.eu.car-rental-software.net'', ''15''] [2005-08-26 13:12:43 xend] DEBUG (XendDomain:244) XendDomain>reap> domain died name=test-iq.vs.eu.car-rental-software.net id=15 [2005-08-26 13:12:43 xend] INFO (XendDomain:568) Destroying domain: name=test-iq.vs.eu.car-rental-software.net [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:665) Destroying vifs for domain 15 [2005-08-26 13:12:43 xend] DEBUG (netif:305) Destroying vif domain=15 vif=0 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:674) Destroying vbds for domain 15 [2005-08-26 13:12:43 xend] DEBUG (blkif:552) Destroying blkif domain=15 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=0 [2005-08-26 13:12:43 xend] DEBUG (blkif:408) Destroying vbd domain=15 idx=1 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:634) Closing console, domain 15 [2005-08-26 13:12:43 xend] DEBUG (XendDomainInfo:622) Closing channel to domain 15 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.virq 4 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop1 [2005-08-26 13:12:44 xend] DEBUG (blkif:363) Unbinding vbd (type file) from /dev/loop2 [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.exit [''test-iq.vs.eu.car-rental-software.net'', ''15'', ''crash''] [2005-08-26 13:12:44 xend] INFO (XendRoot:113) EVENT> xend.domain.destroy [''test-iq.vs.eu.car-rental-software.net'', ''15''] Mark Olliver BSc (Hons) MBCS Thermeon Europe Ltd e-Card www.thermeoneurope.com/e-Card/mpo Email mpo@thermeoneurope.com Web www.thermeoneurope.com Support 0906 515 0908 Int. Support +44 1293 864 341 Support Email support@thermeoneurope.com Support Site www.thermeoneurope.com/rt Sales +44 1293 864 334 Sales Email sales@thermeoneurope.com _______________________________________________ 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 Friday 26 August 2005 13:20, Mark Olliver wrote:> disk = [ > ''file:/mnt/drbd1/test-iq.img,sda1,w'',''file:/mnt/swap/test-iq.swap,sda2, > w''][...]> ioctl: LOOP_SET_FD: Device or resource busy > ioctl: LOOP_SET_FD: Device or resource busy > ioctl: LOOP_SET_FD: Device or resource busyare you perchance trying to start a second domain using the same disk images as the already running instance? That won''t work, unless BOTH domains use the images read-only. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nope, Second instance new config file, new image files> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of Ernst Bachmann > Sent: Friday, August 26, 2005 4:07 PM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Second guest os wont start > > On Friday 26 August 2005 13:20, Mark Olliver wrote: > > disk = [ > > ''file:/mnt/drbd1/test-iq.img,sda1,w'',''file:/mnt/swap/test-iq.swap,sda2, > > w''] > > [...] > > > ioctl: LOOP_SET_FD: Device or resource busy > > ioctl: LOOP_SET_FD: Device or resource busy > > ioctl: LOOP_SET_FD: Device or resource busy > > are you perchance trying to start a second domain using the same disk > images > as the already running instance? That won''t work, unless BOTH domains use > the > images read-only. > > /Ernst > > _______________________________________________ > 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