All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Tramnitz <chris.ace@gmx.net>
To: xen-devel@lists.xensource.com
Subject: Bug in pygrub? Boot loader didn't return any data!
Date: Sat, 08 Aug 2009 17:42:52 +0200	[thread overview]
Message-ID: <h5k6du$sd1$1@ger.gmane.org> (raw)

Hello,

after upgrading to Xen 3.4.1 on one of my hosts I have problems starting 
  my PV domUs that are configured to use pygrub.

When issuing "xm create <domU>" I get the following error message:
Boot loader didn't return any data!

Strange enough it worked before and it even still works when invoking xm 
create with "-c" (attached console)...
And yes, the kernel is present on the *first* phy-device.


Here the logs from a xm create (without "-c")
[2009-08-08 13:42:08 9846] DEBUG (XendDomainInfo:92) 
XendDomainInfo.create(['vm', ['name', 'test01'], ['memory', 1536], 
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], 
['uuid', '6f1ff1af-bff3-4fff-8ff7-1bfffffff0'], ['cpus', '1'], 
['bootloader', '/usr/bin/pygrub'], ['bootloader_args', '-q'], ['image', 
['linux', ['videoram', 4]]], ['s3_integrity', 1], ['device', ['vbd', 
['uname', 'phy:vg00/test_sys'], ['dev', 'xvda1'], ['mode', 'w']]], 
['device', ['vbd', ['uname', 'phy:vg00/test_swap'], ['dev', 'xvda2'], 
['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg01/test_transfer'], 
['dev', 'xvdb1'], ['mode', 'w']]], ['device', ['vif', ['bridge', 
'xenbr0'], ['mac', '00:16:3e:af:13:ef']]], ['device', ['vif', ['bridge', 
'xenbr1'], ['mac', '00:16:3e:af:13:f0']]]])
[2009-08-08 13:42:08 9846] DEBUG (XendDomainInfo:2296) 
XendDomainInfo.constructDomain
[2009-08-08 13:42:08 9846] DEBUG (balloon:166) Balloon: 10837396 KiB 
free; need 4096; done.
[2009-08-08 13:42:08 9846] DEBUG (XendDomain:452) Adding Domain: 15
[2009-08-08 13:42:08 9846] DEBUG (XendDomainInfo:2497) 
XendDomainInfo.initDomain: 15 256
[2009-08-08 13:42:08 26472] DEBUG (XendBootloader:113) Launching 
bootloader as ['/usr/bin/pygrub', 
'--output=/var/run/xend/boot/xenbl.857', '-q', '/dev/vg00/test_sys'].
[2009-08-08 13:42:09 9846] ERROR (XendBootloader:214) Boot loader didn't 
return any data!
[2009-08-08 13:42:09 9846] ERROR (XendDomainInfo:476) VM start failed
Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 456, in start
     XendTask.log_progress(31, 60, self._initDomain)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 
209, in log_progress
     retval = func(*args, **kwds)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 2499, in _initDomain
     self._configureBootloader()
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 2919, in _configureBootloader
     bootloader_args, kernel, ramdisk, args)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", 
line 215, in bootloader
     raise VmError, msg
VmError: Boot loader didn't return any data!
[2009-08-08 13:42:09 9846] DEBUG (XendDomainInfo:2724) 
XendDomainInfo.destroy: domid=15
[2009-08-08 13:42:09 9846] DEBUG (XendDomainInfo:2204) No device model
[2009-08-08 13:42:09 9846] DEBUG (XendDomainInfo:2206) Releasing devices
[2009-08-08 13:42:09 9846] ERROR (XendDomainInfo:97) Domain construction 
failed
Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 95, in create
     vm.start()
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 456, in start
     XendTask.log_progress(31, 60, self._initDomain)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 
209, in log_progress
     retval = func(*args, **kwds)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 2499, in _initDomain
     self._configureBootloader()
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", 
line 2919, in _configureBootloader
     bootloader_args, kernel, ramdisk, args)
   File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", 
line 215, in bootloader
     raise VmError, msg
VmError: Boot loader didn't return any data!




And here the same domain just invoked with "-c":


[2009-08-08 13:52:00 9846] DEBUG (XendDomainInfo:92) 
XendDomainInfo.create(['vm', ['name', 'test01'], ['memory', 1536], 
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop',
'ignore'], ['uuid', '6f1ff1af-bff3-4fff-8ff7-1bfffffff0'], ['cpus', 
'1'], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', ''], 
['image', ['linux', ['videoram', 4]]], ['s3_int
egrity', 1], ['device', ['vbd', ['uname', 'phy:vg00/test_sys'], ['dev', 
'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 
'phy:vg00/test_swap'], ['dev', 'xvda2'], ['mode',
  'w']]], ['device', ['vbd', ['uname', 'phy:vg01/test_transfer'], 
['dev', 'xvdb1'], ['mode', 'w']]], ['device', ['vif', ['bridge', 
'xenbr0'], ['mac', '00:16:3e:af:13:ef']]], ['devic
e', ['vif', ['bridge', 'xenbr1'], ['mac', '00:16:3e:af:13:f0']]]])
[2009-08-08 13:52:00 9846] DEBUG (XendDomainInfo:2296) 
XendDomainInfo.constructDomain
[2009-08-08 13:52:00 9846] DEBUG (balloon:166) Balloon: 10837512 KiB 
free; need 4096; done.
[2009-08-08 13:52:00 9846] DEBUG (XendDomain:452) Adding Domain: 16
[2009-08-08 13:52:00 9846] DEBUG (XendDomainInfo:2497) 
XendDomainInfo.initDomain: 16 256
[2009-08-08 13:52:00 26498] DEBUG (XendBootloader:113) Launching 
bootloader as ['/usr/bin/pygrub', 
'--output=/var/run/xend/boot/xenbl.30588', '/dev/vg00/test_sys'].
[2009-08-08 13:52:02 9846] DEBUG (XendDomainInfo:2521) 
_initDomain:shadow_memory=0x0, memory_static_max=0x60000000, 
memory_static_min=0x0.
[2009-08-08 13:52:02 9846] DEBUG (balloon:166) Balloon: 10837396 KiB 
free; need 1579008; done.
[2009-08-08 13:52:02 9846] INFO (image:173) buildDomain os=linux dom=16 
vcpus=1
[2009-08-08 13:52:02 9846] DEBUG (image:659) domid          = 16
[2009-08-08 13:52:02 9846] DEBUG (image:660) memsize        = 1536
[2009-08-08 13:52:02 9846] DEBUG (image:661) image          = 
/var/run/xend/boot/boot_kernel.O4SUz_
[2009-08-08 13:52:02 9846] DEBUG (image:662) store_evtchn   = 1
[2009-08-08 13:52:02 9846] DEBUG (image:663) console_evtchn = 2
[2009-08-08 13:52:02 9846] DEBUG (image:664) cmdline        = 
root=/dev/xvda1 ro console=hvc0
[2009-08-08 13:52:02 9846] DEBUG (image:665) ramdisk        =
[2009-08-08 13:52:02 9846] DEBUG (image:666) vcpus          = 1
[2009-08-08 13:52:02 9846] DEBUG (image:667) features       =
[2009-08-08 13:52:02 9846] DEBUG (image:668) flags          = 0
and so on...


This is on a gentoo x64 system, running Xen 3.4.1-release (own ebuild).


Thanks,
    Christian

             reply	other threads:[~2009-08-08 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-08 15:42 Christian Tramnitz [this message]
2009-08-08 15:50 ` Bug in pygrub? Boot loader didn't return any data! Christian Tramnitz
2009-08-08 17:21   ` Keir Fraser
2009-08-08 17:29     ` Christian Tramnitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h5k6du$sd1$1@ger.gmane.org' \
    --to=chris.ace@gmx.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.