Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2009 02:56:26 +0000
From:      Sevan / Venture37 <venture37@gmail.com>
To:        freebsd-xen@freebsd.org
Subject:   Error: (35, 'Resource temporarily unavailable')
Message-ID:  <4B187A5A.2030106@gmail.com>

next in thread | raw e-mail | index | archive | help
Hiya
I'm trying to get FreeBSD 8.0 AMD64 going on old sempron 2800+ running 
NetBSD 5.0.1 AMD64 running xen 3.3.2, I compiled the XENVHM kernel on 
another FreeBSD system, modified the __xen_guest in the kernel & copied 
across the xen host, when trying to start the domU I get:
Error: (35, 'Resource temporarily unavailable')

Any ideas?

Sevan / Venture37

[2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:89) 
XendDomainInfo.create(['vm', ['name', 'freebsd'], ['memory', 256], 
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], 
['image', ['linux', ['kernel', '/usr/freebsd8kernel']]]])
[2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2043) 
XendDomainInfo.constructDomain
[2009-12-04 03:15:33 204] DEBUG (balloon:132) Balloon: 1660652 KiB free; 
need 2048; done.
[2009-12-04 03:15:33 204] DEBUG (XendDomain:449) Adding Domain: 18
[2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2149) 
XendDomainInfo.initDomain: 18 256
[2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2230) 
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000, 
memory_static_min=0x0.
[2009-12-04 03:15:33 204] DEBUG (balloon:132) Balloon: 1660644 KiB free; 
need 263168; done.
[2009-12-04 03:15:33 204] INFO (image:166) buildDomain os=linux dom=18 
vcpus=1
[2009-12-04 03:15:33 204] DEBUG (image:629) domid          = 18
[2009-12-04 03:15:33 204] DEBUG (image:630) memsize        = 256
[2009-12-04 03:15:33 204] DEBUG (image:631) image          = 
/usr/freebsd8kernel
[2009-12-04 03:15:33 204] DEBUG (image:632) store_evtchn   = 1
[2009-12-04 03:15:33 204] DEBUG (image:633) console_evtchn = 2
[2009-12-04 03:15:33 204] DEBUG (image:634) cmdline        =
[2009-12-04 03:15:33 204] DEBUG (image:635) ramdisk        =
[2009-12-04 03:15:33 204] DEBUG (image:636) vcpus          = 1
[2009-12-04 03:15:33 204] DEBUG (image:637) features       =
[2009-12-04 03:15:33 204] ERROR (XendDomainInfo:2288) 
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
2261, in _initDomain
     channel_details = self.image.createImage()
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 
149, in createImage
     return self.createDomain()
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 
168, in createDomain
     result = self.buildDomain()
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 
905, in buildDomain
     rc = LinuxImageHandler.buildDomain(self)
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 
650, in buildDomain
     vhpt           = self.vhpt)
Error: (35, 'Resource temporarily unavailable')
[2009-12-04 03:15:33 204] ERROR (XendDomainInfo:467) VM start failed
Traceback (most recent call last):
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
447, in start
     XendTask.log_progress(31, 60, self._initDomain)
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendTask.py", line 
209, in log_progress
     retval = func(*args, **kwds)
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
2291, in _initDomain
     raise VmError(str(exn))
VmError: (35, 'Resource temporarily unavailable')
[2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2409) 
XendDomainInfo.destroy: domid=18
[2009-12-04 03:15:34 204] DEBUG (XendDomainInfo:1946) Destroying device 
model
[2009-12-04 03:15:34 204] DEBUG (XendDomainInfo:1953) Releasing devices
[2009-12-04 03:15:34 204] ERROR (XendDomainInfo:94) Domain construction 
failed
Traceback (most recent call last):
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
92, in create
     vm.start()
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
447, in start
     XendTask.log_progress(31, 60, self._initDomain)
   File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendTask.py", line 
209, in log_progress
     retval = func(*args, **kwds)
   File 
"usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
2291, in _initDomain
     raise VmError(str(exn))
VmError: (35, 'Resource temporarily unavailable')



xc_dom_allocate: cmdline="", features=""
xc_dom_kernel_file: filename="/usr/freebsd8kernel"
xc_dom_malloc_filemap    : 6373 kB
xc_dom_boot_xen_init: ver 3.3, caps xen-3.0-x86_64 xen-3.0-x86_32p
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... OK
elf_parse_binary: phdr: paddr=0xffffffff80100000 memsz=0x4945a8
elf_parse_binary: phdr: paddr=0xffffffff806945c0 memsz=0x2ba7b8
elf_parse_binary: memory: 0xffffffff80100000 -> 0xffffffff8094ed78
elf_xen_parse: __xen_guest: 
"LOADER=generic,GUEST_OS=freebsd,GUEST_VER=8.0,XEN_VER=xen-3.0,BSD_SYMTAB,VIRT_BASE=0xC0000000"
elf_xen_parse_guest_info: LOADER="generic"
elf_xen_parse_guest_info: GUEST_OS="freebsd"
elf_xen_parse_guest_info: GUEST_VER="8.0"
elf_xen_parse_guest_info: XEN_VER="xen-3.0"
elf_xen_parse_guest_info: BSD_SYMTAB=""
elf_xen_parse_guest_info: VIRT_BASE="0xC0000000"
elf_xen_addr_calc_check: ELF_PADDR_OFFSET unset, using 0xc0000000
elf_xen_addr_calc_check: addresses:
     virt_base        = 0xc0000000
     elf_paddr_offset = 0xc0000000
     virt_offset      = 0x0
     virt_kstart      = 0xffffffff80100000
     virt_kend        = 0xffffffff80a752b8
     virt_entry       = 0xffffffff8015b020
xc_dom_load_elf_symtab/parse: bsd_symtab_start=ffffffff80a752b8, 
kernel.end=0xffffffff80a752b8 -- symtab=0xffffffff80a752bc, 
maxaddr=0xffffffff80a75a80
xc_dom_load_elf_symtab: h=28 symtab, size=0x889c8, 
maxaddr=0xffffffff80afe448
xc_dom_load_elf_symtab: h=29 strtab, size=0x7dada, 
maxaddr=0xffffffff80b7bf28
xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80100000 -> 
0xffffffff80b7bf28
xc_dom_mem_init: mem 256 MB, pages 0x10000 pages, 4k each
xc_dom_mem_init: 0x10000 pages
xc_dom_boot_mem_init: called
x86_compat: guest xen-3.0-x86_64, address size 64
xc_dom_malloc            : 512 kB
xc_dom_build_image: called
xc_dom_alloc_segment:   kernel       : 0xffffffff80100000 -> 
0xffffffff80b7c000  (pfn 0xfffffffec0100 + 0xa7c pages)
xc_dom_pfn_to_ptr: pfn out of range (0xfffffffec0100 > 0x10000)
xc_dom_release: called

objdump -j __xen_guest -s kernel

kernel:     file format elf64-x86-64

Contents of section __xen_guest:
  0000 4c4f4144 45523d67 656e6572 69632c47  LOADER=generic,G
  0010 55455354 5f4f533d 66726565 6273642c  UEST_OS=freebsd,
  0020 47554553 545f5645 523d382e 302c5845  GUEST_VER=8.0,XE
  0030 4e5f5645 523d7865 6e2d332e 302c4253  N_VER=xen-3.0,BS
  0040 445f5359 4d544142 2c564952 545f4241  D_SYMTAB,VIRT_BA
  0050 53453d30 78433030 30303030 3000      SE=0xC0000000.


#  -*- mode: python; -*-
#kernel = "/netbsd-INSTALL_XEN3_DOMU.gz"
kernel = "/usr/freebsd8kernel"

#bootloader = "/usr/pkg/bin/pygrub"
memory = 256

name = "freebsd"

#vif = [ 'bridge=bridge0' ]

#disk = [ 'phy:/dev/wd0h,0x1,w' , 
'file:/usr/iso/8.0-RELEASE-amd64-disc1.iso,0x04,r' ]
#disk = [ 'file:/usr/iso/8.0-RELEASE-amd64-disc1.iso,0x04,r' ]

#vfb = [ 'type=vnc,vncdisplay=1' ]

#extra = "boot_verbose"
#extra += ",boot_single"
#extra += ",kern.hz=100"
#extra += ",vfs.root.mountfrom=ufs:/dev/xbd769a"
#extra += ",mfsroot_load=YES"
#extra += ",mfsroot_type=mfs_root"
#extra += ",mfsroot_name=/usr/mfsroot"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B187A5A.2030106>