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

Bug#420754: marked as done (copy_exec function mistakely uses xen optimised library with glibc 2.5 resulting in an unbootable image)



Your message dated Thu, 09 Aug 2007 20:47:05 +0000
with message-id <E1IJEuP-0002KA-A1@ries.debian.org>
and subject line Bug#420754: fixed in initramfs-tools 0.90
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.87b
Severity: critical
Tags: patch
Justification: make any xen system unbootable

Latest glibc package moved optimized libraries from /lib/tls/i686 to
/lib/i686, so the copy_exec function's euristic fails to translate it
to a non optimized version. 

With libc6-i686 installed the resulting image is still working because
the installed libraries are on search path, but with libc6-xen
installed the resulting image is unbootable because some libraries
required by busybox are in /lib/i686/nosegneg instead of /lib

The attached patch solves the problem on my system, but a more robust
solution is auspicable.

Regards

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda1 ro vga=0x31B video=vesafb:ywrap,mtrr console=tty0

-- /proc/filesystems
	cramfs
	reiserfs
	ext3

-- lsmod
Module                  Size  Used by
tcp_diag                2656  0 
inet_diag              11976  1 tcp_diag
bridge                 50268  0 
netloop                 7360  0 
ppdev                   9444  0 
lp                     11780  0 
button                  7440  0 
ac                      5956  0 
battery                10404  0 
ext3                  120072  1 
jbd                    53224  1 ext3
mbcache                 9124  1 ext3
fuse                   40596  1 
dm_snapshot            16320  0 
dm_mirror              20048  0 
dm_mod                 51000  2 dm_snapshot,dm_mirror
eeprom                  7792  0 
cpufreq_ondemand        7404  0 
cpufreq_powersave       2688  0 
cpufreq_conservative     8072  0 
cpufreq_userspace       5696  0 
acpi_cpufreq            8068  1 
freq_table              5440  1 acpi_cpufreq
dummy                   3748  0 
loop                   15944  2 
sonypi                 21500  0 
nvidia               6839732  22 
agpgart                32264  1 nvidia
ipv6                  229088  52 
joydev                  9856  0 
pcmcia                 34356  0 
firmware_class         10368  1 pcmcia
snd_intel8x0           31292  1 
snd_intel8x0m          16748  0 
snd_ac97_codec         84000  2 snd_intel8x0,snd_intel8x0m
snd_pcm_oss            39232  0 
snd_mixer_oss          15968  1 snd_pcm_oss
snd_ac97_bus            3168  1 snd_ac97_codec
psmouse                35880  0 
serio_raw               7428  0 
snd_pcm                69764  4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_timer              21924  1 snd_pcm
wlan_scan_sta          12928  1 
i2c_sis96x              6148  0 
yenta_socket           25324  2 
rsrc_nonstatic         11552  1 yenta_socket
pcmcia_core            37588  3 pcmcia,yenta_socket,rsrc_nonstatic
snd                    47876  9 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
serial_core            20288  0 
shpchp                 33632  0 
pci_hotplug            29472  1 shpchp
ath_pci                85184  0 
ath_rate_sample        13760  1 ath_pci
wlan                  174204  4 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal               192432  3 ath_pci,ath_rate_sample
i2c_core               20480  3 eeprom,nvidia,i2c_sis96x
parport_pc             33092  1 
parport                34120  3 ppdev,lp,parport_pc
eth1394                18916  0 
rtc                    13300  0 
soundcore              10016  1 snd
snd_page_alloc         10472  3 snd_intel8x0,snd_intel8x0m,snd_pcm
tsdev                   8288  0 
evdev                   9856  1 
pcspkr                  3840  0 
sd_mod                 19808  0 
reiserfs              213408  3 
usbhid                 38208  0 
ide_disk               15712  5 
generic                 6244  0 [permanent]
usb_storage            72736  0 
scsi_mod              125160  2 sd_mod,usb_storage
sis5513                13128  0 [permanent]
ehci_hcd               29288  0 
ide_core              112392  4 ide_disk,generic,usb_storage,sis5513
sis900                 23264  0 
mii                     6112  1 sis900
ohci1394               31792  0 
ieee1394               88152  2 eth1394,ohci1394
ohci_hcd               19332  0 
usbcore               114372  5 usbhid,usb_storage,ehci_hcd,ohci_hcd
thermal                14376  0 
processor              29608  2 acpi_cpufreq,thermal
fan                     5572  0 

-- /etc/kernel-img.conf
do_symlinks = no
do_bootloader = no
do_bootfloppy = no
warn_initrd = no 
postinst_hook = update-grub
postrm_hook   = update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-xen-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-4  Tiny utilities for small and embed
ii  cpio                          2.7-2      GNU cpio -- a program to manage ar
ii  klibc-utils                   1.5-2      small statically-linked utilities 
ii  module-init-tools             3.3-pre4-2 tools for managing Linux kernel mo
ii  udev                          0.105-4    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information

-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

--- /usr/share/initramfs-tools/hook-functions.orig	2007-04-24 15:01:00.000000000 +0200
+++ /usr/share/initramfs-tools/hook-functions	2007-04-24 15:01:33.000000000 +0200
@@ -80,7 +80,7 @@
 
 		# Try to use non-optimised libraries where possible.
 		# We assume that all HWCAP libraries will be in tls.
-		nonoptlib=$(echo ${x} | sed -e 's#/lib/tls.*/\(lib.*\)#/lib/\1#')
+		nonoptlib=$(echo ${x} | sed -e 's#/lib/\(tls\|i686\).*/\(lib.*\)#/lib/\2#')
 
 		if [ -e ${nonoptlib} ]; then
 			x=${nonoptlib}

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.90

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.90.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.90.dsc
initramfs-tools_0.90.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.90.tar.gz
initramfs-tools_0.90_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.90_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 420754@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 09 Aug 2007 21:30:29 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.90
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 420754 425050 426446 426917 428729 429237 433190 433459 435031 436752
Changes: 
 initramfs-tools (0.90) unstable; urgency=low
 .
   Release "J'aim' pas le fataliste Je n'ai ni foi ni loi"
 .
   [ maximilian attems ]
   * hook-functions: Fix xen i386 boots with optimized 2.5. (closes: 420754)
     Thanks Marco Nenciarini <mnencia@debian.org> for patch.
   * debian/control: Bump dep on klibc-utils from etch. (closes: 435031)
   * scripts/functions: Implement non-zero panic bootarg. Style fix for
     maybe_break().
   * hook-functions: dep_add_modules() fix for md, lv, luks root.
     (closes: #426917, #429237, #426446)
   * debian/scripts: Add /etc/crypttab to reportbug script.  Add /sys/block
     list for MODULES=dep to reportbug script.
   * scripts/functions: Add error message on verbose mode about ignored files
     in boot/hooks dir.  Thanks Kornilios Kourtis <kkourt@cslab.ece.ntua.gr>
     for the initial patch. Fixes a double set_initlist call too. Ignore empty
     dirs earlier too. (closes: #428729, #433459)
   * mkinitramfs.8: Document verbose mode.
   * debian/initramfs-tools.preinst: Inhibit /etc/initramfs-tools/conf.d/resume
     creation in chroot for debian-live and other. (closes: #433190)
     Thanks Kel Modderman <kel@otaku42.de> for the patch.
   * update-initramfs: Improve "altered" error message. (closes: #436752)
   * update-initramfs, update-initramfs.conf: update_initramfs config variable
     is tristate. Set to 'all' to update any initramfs: $(update-initramfs -u).
     Allows specific admin setting. (closes: #425050)
 .
   [ David Härdeman ]
   * hook-functions: Protect all variable with local, plus coding style fixes.
Files: 
 fcea65851e626dc6c1c3a3da43172bf1 656 utils optional initramfs-tools_0.90.dsc
 9e6e6d34c5fd676a8ee3fe3fdb975744 60995 utils optional initramfs-tools_0.90.tar.gz
 f93b1c026cfeefe9d48e866eb89bc444 68036 utils optional initramfs-tools_0.90_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGu2uVeW7Lc5tEHqgRAs1JAJ9ca9d+JDQMnbRbUKpv4MwrmjGjYwCghDUI
FhqmhhKdKsIkxIQApJYjPno=
=Mq50
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: