[Pkg-xen-devel] Bug#404533: missing fsys python modules for pygrub, and pygrub doesn't work

Joey Hess joeyh at debian.org
Tue Dec 26 02:06:53 CET 2006


Package: xen-utils-3.0.3-1
Version: 3.0.3-0-2
Severity: normal

pygrub can't work with this package, because the fsys filesystem modules
included in the source package are missing.

As a workaround, I downloaded the xen-3.0 source package, went into
tools/pygrub/src/, installed e2fslibs-dev and libreiserfs0.3-dev, ran
"make", and copied stuff from
tools/pygrub/build/lib.linux-i686-2.4/grub/fsys/ into
/usr/lib/xen-3.0.3-1/lib/python/grub/fsys/.

Then, after also working around #390678, I was able to start pygrub.
However, booting fails:

root at dodo:~>xm create mouse.cfg
Using config file "/etc/xen/mouse.cfg".
WARNING:root:Unknown image directive savedefault
WARNING:root:Unknown image directive savedefault
Going to boot Debian GNU/Linux, kernel 2.6.18-3-k7
  kernel: /boot/vmlinuz-2.6.18-3-k7
  initrd: /boot/initrd.img-2.6.18-3-k7
linux (kernel /var/lib/xen/vmlinuz.uebsYz)(ramdisk /var/lib/xen/initrd.XIUOC1)(args 'root=/dev/sda1 ro')
Error: (22, 'Invalid argument')

(A separated pygrub package might also be a good idea, if it can be
gotten working.)

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xen-utils-3.0.3-1 depends on:
ii  iproute                      20061002-3  Professional tools to control the 
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  python                       2.4.4-2     An interactive high-level object-o
ii  python-central               0.5.12      register and build utility for Pyt
ii  udev                         0.103-1     /dev/ and hotplug management daemo
ii  xen-utils-common             3.0.3-0-2   XEN administrative tools - common 
ii  zlib1g                       1:1.2.3-13  compression library - runtime

Versions of packages xen-utils-3.0.3-1 recommends:
ii  bridge-utils                 1.2-1       Utilities for configuring the Linu
ii  libc6-xen                    2.3.6.ds1-9 GNU C Library: Shared libraries [X
ii  xen-hypervisor-3.0.3-1-i386  3.0.3-0-2   The Xen Hypervisor on i386

-- no debconf information

-- 
see shy jo




More information about the Pkg-xen-devel mailing list