Ian Campbell
2008-Apr-16 10:49 UTC
[Pkg-xen-devel] Bug#476366: xen-utils-3.2-1: pygrub cannot read ext3 files systems with 256 byte inodes
Package: xen-utils-3.2-1 Version: 3.2.0-4 Severity: important Tags: patch pygrub uses tools/libfsimage to read a guest filesystem. Unfortunately the grub derived code does not support 256 byte inodes. Grub itself has been patched (see #463236 and #463123) and this patch has now been applied to the upstream Xen tree. See <http://xenbits.xensource.com/staging/xen-unstable.hg?rev/c777e572a467> and attached. However -- I would recommend that pygrub in Debian should be using the e2fslibs based backend rather than the grub derived code since this library is a much more canonical implementation of userspace ext2/3 and is likely to support newer features more reliably. This can be achieved with a build-dependency on e2fslibs-dev which will cause this alternative code to be built. Patch is attached. If you do not wish to go down this path then I would recommend either adding a build-conflicts (if such a thing exists) or patching tools/libfsimage/Makefile to always select the grub code otherwise you run the risk of the selection changing randomly depending on buildd configuration. Two patches are attached -- I guess you want one or the other. Cheers, Ian. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.18.8-xen (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xen-utils-3.2-1 depends on: ii iproute 20080108-1 Professional tools to control the ii libc6 2.7-10 GNU C Library: Shared libraries ii libncurses5 5.6+20080405-1 Shared libraries for terminal hand ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libssl0.9.8 0.9.8g-8 SSL shared libraries ii libxenstore3.0 3.2.0-4 Xenstore communications library fo ii python 2.4.4-2 An interactive high-level object-o ii python-central 0.6.2 register and build utility for Pyt ii udev 0.114-2 /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-1 Utilities for configuring the Linu ii xen-hypervisor-3.2-1-amd64 [x 3.2.0-4 The Xen Hypervisor on AMD64 -- no debconf information -------------- next part -------------- A non-text attachment was scrubbed... Name: libfsimage-ext3-256-byte-inodes.diff Type: text/x-c Size: 5910 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20080416/8c028f8d/attachment.bin -------------- next part -------------- Index: xen-3/debian/templates/control.source.in ==================================================================--- xen-3/debian/templates/control.source.in (revision 545) +++ xen-3/debian/templates/control.source.in (working copy) @@ -3,7 +3,7 @@ Priority: extra Maintainer: Debian Xen Team <pkg-xen-devel at lists.alioth.debian.org> Uploaders: Julien Danjou <acid at debian.org>, Jeremy T. Bouse <jbouse at debian.org>, Guido Trotter <ultrotter at debian.org>, Bastian Blank <waldi at debian.org> -Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, lsb-release, python-central (>= 0.5), quilt, zlib1g-dev, libjpeg-dev, libncurses5-dev, libssl-dev, libvncserver-dev, gcc-multilib [amd64] +Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, lsb-release, python-central (>= 0.5), quilt, zlib1g-dev, libjpeg-dev, libncurses5-dev, libssl-dev, libvncserver-dev, gcc-multilib [amd64], e2fslibs-dev Build-Depends-Indep: graphviz, gs-common, texlive-fonts-recommended, texlive-latex-recommended Standards-Version: 3.7.2.0 XS-Python-Version: current
Debian Bug Tracking System
2008-Jun-28 09:52 UTC
[Pkg-xen-devel] Bug#476366: marked as done (xen-utils-3.2-1: pygrub cannot read ext3 files systems with 256 byte inodes)
Your message dated Sat, 28 Jun 2008 09:47:08 +0000 with message-id <E1KCX1Q-0007tE-LU at ries.debian.org> and subject line Bug#476366: fixed in xen-3 3.2.1-2 has caused the Debian Bug report #476366, regarding xen-utils-3.2-1: pygrub cannot read ext3 files systems with 256 byte inodes to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 476366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476366 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at hellion.org.uk> Subject: xen-utils-3.2-1: pygrub cannot read ext3 files systems with 256 byte inodes Date: Wed, 16 Apr 2008 11:49:53 +0100 Size: 12413 Url: http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20080628/c08f723d/attachment-0002.eml -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: Bug#476366: fixed in xen-3 3.2.1-2 Date: Sat, 28 Jun 2008 09:47:08 +0000 Size: 6493 Url: http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20080628/c08f723d/attachment-0003.eml
Possibly Parallel Threads
- Bug#609517: xen-utils-3.2-1: Pygrub can't find grub.conf in a reiserfs partion on amd64 arch
- [RESEND] [PATCH] XFS support for pygrub patch
- Bug#483294: xen-3_3.2.1-1(ia64/unstable): FTBFS: please enable ia64 support
- Bug#389320: xen-3.0_3.0.2-3+hg9762-1(ia64/unstable): FTBFS: please add ia64 support
- r40 - trunk/debian