[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Error: Boot loader didn't return any data [pygrub boot debian wheezy alpha1 netinst ISO]



On 6/29/2012 4:53 AM, Ian Campbell wrote:
On Fri, 2012-06-29 at 09:24 +0100, Ian Campbell wrote:
Strictly speaking you should be using
debian-wheezy-DI-a1-amd64-i386-netinst.iso and
"--kernel=/install.amd/xen/vmlinuz --ramdisk=/install.amd/xen/initrd.gz"
Upon mounting the ISO loopback I discovered there is no xen dir structure under install.amd (or anywhere for that matter) and that is why I removed it. My hopes were that the lone kernel/initrd worked under Xen like the alpha 1 installer release page suggests.

-- this is what I've actually tested.
tested with xl... turns out that xend calls bootloader_args "boot_args",
does making that change help?
No.

I am going to paste the xend log. From what I see in that output is that it is ignoring all bootloader_args I specified and just passing "-q". Maybe this explains why my manual pygrub test appears to work while this does not? And yes I read the installer link you mentioned as that is where I got my base config from.

P.S.  Thanks for the response.


[2012-06-29 16:22:30 1903] DEBUG (XendDomainInfo:101) 
XendDomainInfo.create(['vm', ['name', 'wheezytest'], ['memory', 256], 
['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 
1], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', '-q'], ['image', 
['linux', ['videoram', 4], ['args', 'debian-installer/exit/always_halt=true -- 
console=hvc0'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], 
['device', ['vbd', ['uname', 
'file:/BACKUP/dumpz/wheezytest/debian-wheezy-DI-a1-amd64-netinst.iso'], ['dev', 
'xvdd:cdrom'], ['mode', 'r']]], ['device', ['vbd', ['uname', 
'phy:/dev/mainvg/wheezytest-root'], ['dev', 'xvda'], ['mode', 'w']]], 
['device', ['vbd', ['uname', 'phy:/dev/mainvg/wheezytest-swap'], ['dev', 
'xvdb'], ['mode', 'w']]], ['device', ['vif']]])
[2012-06-29 16:22:30 1903] DEBUG (XendDomainInfo:2508) 
XendDomainInfo.constructDomain
[2012-06-29 16:22:30 1903] DEBUG (balloon:220) Balloon: 4084428 KiB free; need 
16384; done.
[2012-06-29 16:22:30 1903] DEBUG (XendDomain:464) Adding Domain: 22
[2012-06-29 16:22:30 1903] DEBUG (XendDomainInfo:2818) 
XendDomainInfo.initDomain: 22 256
[2012-06-29 16:22:30 901] DEBUG (XendBootloader:113) Launching bootloader as 
['/usr/bin/pygrub', '--args=debian-installer/exit/always_halt=true -- 
console=hvc0', '--output=/var/run/xend/boot/xenbl.15686', '-q', 
'/BACKUP/dumpz/wheezytest/debian-wheezy-DI-a1-amd64-netinst.iso'].
[2012-06-29 16:22:31 1903] ERROR (XendBootloader:214) Boot loader didn't return 
any data!
[2012-06-29 16:22:31 1903] ERROR (XendDomainInfo:483) VM start failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, 
in log_progress
    retval = func(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 2820, in _initDomain
    self._configureBootloader()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 3266, in _configureBootloader
    bootloader_args, kernel, ramdisk, args)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBootloader.py", 
line 215, in bootloader
    raise VmError, msg
VmError: Boot loader didn't return any data!
[2012-06-29 16:22:31 1903] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: 
domid=22
[2012-06-29 16:22:31 1903] DEBUG (XendDomainInfo:2416) No device model
[2012-06-29 16:22:31 1903] DEBUG (XendDomainInfo:2418) Releasing devices
[2012-06-29 16:22:31 1903] ERROR (XendDomainInfo:106) Domain construction failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 104, in create
    vm.start()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, 
in log_progress
    retval = func(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 2820, in _initDomain
    self._configureBootloader()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", 
line 3266, in _configureBootloader
    bootloader_args, kernel, ramdisk, args)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBootloader.py", 
line 215, in bootloader
    raise VmError, msg
VmError: Boot loader didn't return any data!




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.