[Pkg-xen-devel] Bug#507020: xen-utils-3.2-1: Pygrub says "Error: Boot loader didn't return any data!"

Paul van der Vlis paul at vandervlis.nl
Thu Nov 27 08:34:19 UTC 2008


Package: xen-utils-3.2-1
Version: 3.2.1-2
Severity: normal


When my domU uses this configuration:
---
root        = '/dev/sda2 ro'
disk        = [
                  'phy:/dev/volume0/lenny.vandervlis.nl-swap,sda1,w',
                  'phy:/dev/volume0/lenny.vandervlis.nl-disk,sda2,w',
              ]
---

Pygrub gives the error "Error: Boot loader didn't return any data".
In the xend.log I see:
----
Launching bootloader as ['/usr/lib/xen-3.2-1/bin/pygrub', 
'--args=root=/dev/sda2 ro console=xvc0 xencons=xvc0',
'--output=/var/run/xend/boot/xenbl.21780', '-q',
'/dev/volume0/lenny.vandervlis.nl-swap'].
----

Switching the disk statements helps as a workarround, so this work:
----
disk        = [
                  'phy:/dev/volume0/lenny.vandervlis.nl-disk,sda2,w',
                  'phy:/dev/volume0/lenny.vandervlis.nl-swap,sda1,w',
              ]
----

Ian Campbell wrote about this problem:
---
This code in /usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py
looks suspect
                    disks = [x for x in self.info['vbd_refs']
                             if self.info['devices'][x][1]['bootable']]
        
                    if not disks:
                        msg = "Had a bootloader specified, but no disks 
are bootable"
                        log.error(msg)
                        raise VmError(msg)
        
                    devinfo = self.info['devices'][disks[0]]
It goes to the trouble of making a list of bootable devices but then
ignores it and goes back to self.info['devices']. I'd guess that the
last line here should be:
		devinfo = disks[0]
Although I don't know how you make bootable be true. You may find
bringing this up on xen-devel useful.
-----

With regards,
Paul van der Vlis.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-utils-3.2-1 depends on:
ii  e2fslibs               1.41.3-1          ext2 filesystem libraries
ii  iproute                20080725-2        networking and traffic control too
ii  libc6                  2.7-15            GNU C Library: Shared libraries
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime libr
ii  libgnutls26            2.4.2-1           the GNU TLS library - runtime libr
ii  libncurses5            5.6+20080830-1    shared libraries for terminal hand
ii  libsdl1.2debian        1.2.13-2          Simple DirectMedia Layer
ii  libxenstore3.0         3.2.1-2           Xenstore communications library fo
ii  python                 2.5.2-3           An interactive high-level object-o
ii  python-central         0.6.8             register and build utility for Pyt
ii  udev                   0.125-7           /dev/ and hotplug management daemo
ii  xen-utils-common       3.2.0-2           XEN administrative tools - common 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages xen-utils-3.2-1 recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  xen-hypervisor-3.2-1-amd64 [x 3.2.1-2    The Xen Hypervisor on AMD64

Versions of packages xen-utils-3.2-1 suggests:
ii  xen-docs-3.2                  3.2.1-2    Documentation for Xen

-- no debconf information





More information about the Pkg-xen-devel mailing list