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

Bug#638068: marked as done ([bisected] initramfs-tools generates unbootable initrd.img on IA-64 platform (Itanium))



Your message dated Mon, 09 Jul 2012 17:32:29 +0000
with message-id <E1SoHoz-0001r1-O9@franck.debian.org>
and subject line Bug#638068: fixed in initramfs-tools 0.107
has caused the Debian Bug report #638068,
regarding [bisected] initramfs-tools generates unbootable initrd.img on IA-64 platform (Itanium)
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@bugs.debian.org
immediately.)


-- 
638068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638068
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.99
Severity: grave

As stated in this thread
http://lists.debian.org/debian-ia64/2011/08/msg00001.html, Debian
"Wheezy" Testing cannot be booted at all on IA-64 (current
linux-image-3.0.0-1-mckinley in Testing depends on initramfs-tools
0.99, so initramfs-tools cannot be downgraded to previously working
0.98.8). Hence severity set to grave. Last message displayed on
console is:

[   17.146492] Freeing unused kernel memory: 1024kB freed
Loading, please wait...

And then, nothing.

Regression has been bisected to commit
8f8299d9ba017d2a5af853a52be37ee50c89fac2 (mkinitramfs: copy over on
build instead of using symlink tree) from maximilian attems,
2011-02-21 (initramfs-tools v0.99 development cycle).

Comparison of last good and first bad generated initrd.img ramdisks show that:
- good one has bin/busybox and bin/sh, bin/sh being a soft link on
bin/busybox and size of bin/busybox matching size of system
/bin/busybox (1320720 bytes)
- bad one has no bin/busybox, only bin/sh (executable, not a link) but
size (199144 bytes) doesn't match size of system /bin/busybox (1320720
bytes). Indeed, analyzing hook-functions and hooks/busybox source
code, it's my understanding that bin/sh should be a copy of system
/bin/busybox and thus should have the same size, right? I don't know
where this 199144 bytes executable comes from.

Applying patch proposed in bug #628374 (initramfs-tools: Recent
changes to hooks break busybox in initrd) to revert changes on busybox
hook doesn't help.

Simply reverting commit 8f8299d9ba017d2a5af853a52be37ee50c89fac2 from
initramfs-tools v0.99 source code doesn't help either as resulting
initramfs-tools binaries generate initrd.img failing to boot system
with kernel panic, probably because of
post-8f8299d9ba017d2a5af853a52be37ee50c89fac2 commits.

The problem is still present in current initramfs-tools git repository.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 18M Aug 16 21:45 /boot/initrd.img-2.6.39-2-mckinley
-- /proc/cmdline
BOOT_IMAGE=scsi1:/EFI/debian/vmlinuz.old root=UUID=59bf61ca-bdc4-4819-b6c7-5e6f8
057e8be  ro

-- resume
RESUME=UUID=d550ead1-5755-40a6-af3a-07725fe4e688
-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
fuse                  148263  1
nfsd                  580932  2
nfs                   667482  0
lockd                 148031  2 nfsd,nfs
fscache                78844  1 nfs
auth_rpcgss            80673  2 nfsd,nfs
nfs_acl                 5191  2 nfsd,nfs
sunrpc                401530  6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
ipv6                  667084  36
loop                   30718  0
radeon               2088892  2
snd_fm801              35165  2
snd_ac97_codec        184761  1 snd_fm801
ac97_bus                1838  1 snd_ac97_codec
ttm                   117516  1 radeon
drm_kms_helper         53852  1 radeon
snd_pcm               147663  2 snd_fm801,snd_ac97_codec
snd_page_alloc         11557  1 snd_pcm
snd_tea575x_tuner       8774  1 snd_fm801
videodev              160214  1 snd_tea575x_tuner
media                  22901  1 videodev
drm                   318125  4 radeon,ttm,drm_kms_helper
i2c_algo_bit           10968  1 radeon
fm801_gp                4776  0
gameport               15903  2 fm801_gp
i2c_core               35751  5 radeon,drm_kms_helper,videodev,drm,i2c_algo_bit
power_supply           16323  1 radeon
evdev                  20535  4
snd_opl3_lib           19238  1 snd_fm801
snd_timer              42224  2 snd_pcm,snd_opl3_lib
snd_hwdep              13629  1 snd_opl3_lib
snd_mpu401_uart        13763  1 snd_fm801
snd_rawmidi            40192  1 snd_mpu401_uart
snd_seq_device         10749  2 snd_opl3_lib,snd_rawmidi
snd                   102026  13 snd_fm801,snd_ac97_codec,snd_pcm,snd_opl3_lib,s
nd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10343  1 snd
ext4                  554604  1
mbcache                12842  1 ext4
jbd2                  118997  1 ext4
crc16                   1479  1 ext4
sd_mod                 75886  3
crc_t10dif              1420  1 sd_mod
usbhid                 61155  0
hid                   134780  1 usbhid
sg                     47353  0
sr_mod                 32745  0
cdrom                  73444  1 sr_mod
ata_generic             5671  0
ohci_hcd               53106  0
pata_cmd64x            10096  0
libata                349825  2 ata_generic,pata_cmd64x
mptspi                 27375  2
mptscsih               38872  1 mptspi
ehci_hcd               91574  0
mptbase               116134  2 mptspi,mptscsih
scsi_transport_spi     44772  1 mptspi
usbcore               284414  4 usbhid,ohci_hcd,ehci_hcd
scsi_mod              252243  7 sd_mod,sg,sr_mod,libata,mptspi,mptscsih,scsi_tra
nsport_spi
tg3                   299933  0
e100                   64313  0
mii                     8419  1 e100
libphy                 36137  1 tg3

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = yes
do_initrd = yes
link_in_boot = no

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

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
ntfs_3g
thermal
udev

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: ia64

Kernel: Linux 2.6.39-2-mckinley (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar
ii  findutils                     4.4.2-1+b1 utilities for finding files--find,
ii  klibc-utils                   1.5.24-1   small utilities built with klibc f
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo
ii  udev                          172-1      /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.18.5-1 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii  bash-completion               1:1.3-1    programmable completion for the ba

-- no debconf information



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

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.

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 638068@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (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.8
Date: Mon, 09 Jul 2012 11:07:21 -0600
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.107
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Adam Conrad <adconrad@0c3.net>
Closes: 638068 659752 677157
Launchpad-Bugs-Fixed: 889584
Description: 
 initramfs-tools - generic modular initramfs generator
Changes: 
 initramfs-tools (0.107) unstable; urgency=low
 .
   [ Michal Suchanek ]
   * initramfs-tools: copy_exec quote ${src}
   * initramfs-tools: copy_exec add pattern for nonoptimized multiarch
     libraries (Closes: #659752)
 .
   [ Vagrant Cascadian ]
   * initramfs-tools Don't override root=/dev/nfs by BOOT=local config
     (Closes: #677157)
 .
   [ Adam Conrad ]
   * hooks/klibc: Make us play more nicely with busybox and static bin/sh
     (Closes: #638068)
   * Kernel versions aren't (necessarily) package versions, so redirect
     the whining from dpkg --compare-versions to /dev/null to avoid scary
     (and incorrect) warnings. (LP: #889584)
Checksums-Sha1: 
 84ee3fa3f463dd442c79f9cc6139f436134358fe 1052 initramfs-tools_0.107.dsc
 1e258bc0d20423ab700814b25e33ffedb662a52e 84681 initramfs-tools_0.107.tar.gz
 b077905498d5ec60fafce1dfb486def4f5025e70 90350 initramfs-tools_0.107_all.deb
Checksums-Sha256: 
 ffd4b8d0a6995ee65258a0c5b4abe7ef3f1c6c4244147cebc0e4bcfcc624cf69 1052 initramfs-tools_0.107.dsc
 354c37fe550b174ac219b6386ec5ea829ca1de66cc2b8e94fea96b3d77c8b2f3 84681 initramfs-tools_0.107.tar.gz
 964fc74473057eb9c46b61e4bc9c1359525c004773fcca872160a021057af6c6 90350 initramfs-tools_0.107_all.deb
Files: 
 e9c790e9703e3ed63497fee29160faec 1052 utils optional initramfs-tools_0.107.dsc
 8e8c39bbdf51c85a3045c35c15084baa 84681 utils optional initramfs-tools_0.107.tar.gz
 d9e11e8b225849d41f7a9aecee189f90 90350 utils optional initramfs-tools_0.107_all.deb

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

iEYEARECAAYFAk/7EpcACgkQvjztR8bOoMnMlACg+aSQwhmjAn9bBXkMqR4uzltE
imEAoJZJkdVtnUa4YXFHCxZetSJksq0q
=Ptgg
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: