[Fedora-xen] xenguest-install.py - Error Bad file descriptor in FC6 Test2 DomU and Dom0

Chris Lalancette clalance at redhat.com
Fri Sep 29 17:21:32 UTC 2006


shobha ranganathan wrote:
> I have a Fedora COre 6 Test 2 dom0 built from xen-3.0.2 sources. That
> was succssful and "xm list "worked . I did not build a domU kernel though.
> 
> I am trying to install FC6 Test2 as guest Os. I setup an http server in
> the same machine to grab the images of Fc6 TEst2 from a directory.
> 
> When I did xenguest-install.py, I get this error. Please let me know
> what am I missing here.
> 1. Have I not setup my disks correctly ?
> 2. Is my http daemon configuration causing problems ?
> 
> 
> Starting install...
> libvir: Xen Daemon error : POST operation failed: No such domain xenbox_g1
> Failed to get devices for domain xenbox_g1
> Traceback (most recent call last):
>   File "/usr/sbin/xenguest-install.py", line 476, in ?
>     main()
>   File "/usr/sbin/xenguest-install.py", line 467, in main
>     start_paravirt_install(name, ram, disk, mac, uuid, bridge, src,
> options.extra)
>   File "/usr/sbin/xenguest-install.py", line 344, in start_paravirt_install
>     dom = conn.createLinux(cfgxml, 0)
>   File "/usr/lib/python2.4/site-packages/libvirt.py", line 233, in
> createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed')
> libvirt.libvirtError: virDomainCreateLinux() failed
> 
> 
> The /var/log/xend.log shows as
> 
> 2006-09-28 18:31:13 xend.XendDomainInfo 3851] DEBUG
> (XendDomainInfo:1217) XendDomainInfo.construct: None
> [2006-09-28 18:31:13 xend.XendDomainInfo 3851] DEBUG
> (XendDomainInfo:1249) XendDomainInfo.initDomain: 4 1.0
> [2006-09-28 18:31:13 xend 3851] DEBUG (balloon:127) Balloon: 486224 KiB
> free; need 266240; done.
> [2006-09-28 18:31:13 xend 3851] INFO (image:134) buildDomain os=linux
> dom=4 vcpus=1
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:177) dom            = 4
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:178) image          =
> /var/lib/xen/vmlinuz.ypg7-X
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:179) store_evtchn   = 1
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:180) console_evtchn = 2
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:181) cmdline        =  
> root=/dev/xvd method=http://localhost
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:182) ramdisk        =
> /var/lib/xen/initrd.img.Y95dri
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:183) vcpus          = 1
> [2006-09-28 18:31:13 xend 3851] DEBUG (image:184) features       =
> [2006-09-28 18:31:13 xend.XendDomainInfo 3851] ERROR
> (XendDomainInfo:198) Domain construction failed
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 191, in create
>     vm.initDomain()
>   File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 1319, in initDomain
>     raise VmError(str(exn))
> VmError: (9, 'Bad file descriptor')
> [2006-09-28 18:31:13 xend.XendDomainInfo 3851] DEBUG
> (XendDomainInfo:1405) XendDomainInfo.destroy: domid=4
> [2006-09-28 18:31:13 xend.XendDomainInfo 3851] DEBUG
> (XendDomainInfo:1413) XendDomainInfo.destroyDomain(4)
> [2006-09-28 18:31:13 xend 3851] ERROR (SrvBase:87) Request create failed.
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85,
> in perform
>     return op_method(op, req)
>   File
> "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
> 82, in op_create
>     raise XendError("Error creating domain: " + str(ex))
> XendError: Error creating domain: (9, 'Bad file descriptor')
> 
> thanks for your time
> 
> ------------------------------------------------------------------------
> All-new Yahoo! Mail
> <http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta>-
> Fire up a more powerful email and get things done faster.
> 
> 
> ------------------------------------------------------------------------
> 
> --
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen

Hi there,
     Take a look at /var/log/xend-debug.log; is there something that talks about trying to run a PAE domU on a non-PAE hypervisor?  If so, you need to recompile your dom0 to use pae (when you compile, put pae=y on the command-line).  All of the FC6 paravirt kernels are PAE, and these need to match.

Chris Lalancette




More information about the Fedora-xen mailing list