Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook
On 15.01.2012 20:16, Ãmeric Maschino wrote: Le 15 janvier 2012 19:08, maximilian attems m...@stro.at a écrit : Nice detective work.  So the next question is: why does klibc-utils on ia64 provide /usr/lib/klibc/bin/sh instead of sh.shared like other architectures? #439181  ia64 works only static Thanks for pointing this out. I'd also be interested to hear how /usr/lib/klibc/bin/sh behaves in general: e.g., could you try    ldd /usr/lib/klibc/bin/sh    /usr/lib/klibc/bin/sh -c 'echo hi' ? /me too. Okay, okay, your wish is my command ;-) emeric@longspeak:~$ ldd /usr/lib/klibc/bin/sh not a dynamic executable The above seems to be the most recent message in the bug log, other than a me too a few weeks ago. Has there been any progress towards getting this resolved? Unless I'm missing something, it sounds like a fairly large blocker to using Debian on ia64. Regards, Adam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook
On Sun, Jan 15, 2012 at 05:53:27PM +0100, Ãmeric Maschino wrote: I've checked that simply replacing /bin/busybox binary in initrd.img (being in fact a copy of system /usr/lib/klibc/bin/sh binary) by real system /bin/busybox binary solves the issue. I upgraded from vmlinuz-2.6.32-5-mckinley to linux-image-3.2.0-2-itanium yesterday. Start-Date: 2012-05-03 10:43:33 Commandline: apt-get install linux-image-3.2.0-2-itanium Install: firmware-linux-free:ia64 (3, automatic), linux-image-3.2.0-2-itanium:ia64 (3.2.15-1) Upgrade: libklibc:ia64 (1.5.20-1+squeeze1, 2.0~rc3-1), klibc-utils:ia64 (1.5.20-1+squeeze1, 2.0~rc3-1), linux-base:ia64 (2.6.32-41squeeze2, 3.5), initramfs-tools:ia64 (0.98.8, 0.102) End-Date: 2012-05-03 10:44:54 When I tried to boot the new kernel it freezed completely. I replaced busybox with /bin/busybox in the initrd.img as suggested by Ãmeric and it fixed this bug on my Powerdege 7250. # uname -a Linux debian 3.2.0-2-itanium #1 SMP Sun Apr 15 17:53:42 UTC 2012 ia64 GNU/Linux -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook
Émeric Maschino wrote: I've checked that simply replacing /bin/busybox binary in initrd.img (being in fact a copy of system /usr/lib/klibc/bin/sh binary) by real system /bin/busybox binary solves the issue. Nice detective work. So the next question is: why does klibc-utils on ia64 provide /usr/lib/klibc/bin/sh instead of sh.shared like other architectures? I'd also be interested to hear how /usr/lib/klibc/bin/sh behaves in general: e.g., could you try ldd /usr/lib/klibc/bin/sh /usr/lib/klibc/bin/sh -c 'echo hi' ? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook
On Sun, Jan 15, 2012 at 11:27:09AM -0600, Jonathan Nieder wrote: Émeric Maschino wrote: I've checked that simply replacing /bin/busybox binary in initrd.img (being in fact a copy of system /usr/lib/klibc/bin/sh binary) by real system /bin/busybox binary solves the issue. Nice detective work. So the next question is: why does klibc-utils on ia64 provide /usr/lib/klibc/bin/sh instead of sh.shared like other architectures? #439181 ia64 works only static I'd also be interested to hear how /usr/lib/klibc/bin/sh behaves in general: e.g., could you try ldd /usr/lib/klibc/bin/sh /usr/lib/klibc/bin/sh -c 'echo hi' ? /me too. thanks. -- maks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook
Le 15 janvier 2012 19:08, maximilian attems m...@stro.at a écrit : Nice detective work. So the next question is: why does klibc-utils on ia64 provide /usr/lib/klibc/bin/sh instead of sh.shared like other architectures? #439181 ia64 works only static Thanks for pointing this out. I'd also be interested to hear how /usr/lib/klibc/bin/sh behaves in general: e.g., could you try ldd /usr/lib/klibc/bin/sh /usr/lib/klibc/bin/sh -c 'echo hi' ? /me too. Okay, okay, your wish is my command ;-) emeric@longspeak:~$ ldd /usr/lib/klibc/bin/sh not a dynamic executable Checked with: emeric@longspeak:~$ file /usr/lib/klibc/bin/sh /usr/lib/klic/bin/sh: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), statically linked, stripped emeric@longspeak:~$ /usr/lib/klibc/bin/sh -c 'echo hi' hi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org