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

Bug#612633: initramfs-tools: mkinitramfs creates non working initramfs



[ Keep the bugreport on Cc, this is *not* a private communication 
  and maybe easily lost there, thank you. ]

On Wed, Feb 09, 2011 at 11:41:58PM +0100, Benedikt Spranger wrote:
> # md5sum /sbin/lvm
> a61f4ebc4f34d2f973925bd5e06bc269  /sbin/lvm
> # ldd /sbin/lvm
>         linux-gate.so.1 =>  (0xb774f000)
>         libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7728000)
>         libreadline.so.5 => /lib/libreadline.so.5 (0xb76f5000)
>         libdevmapper.so.1.02.1 => /lib/libdevmapper.so.1.02.1
> (0xb76d2000) libudev.so.0 => /lib/libudev.so.0 (0xb76c4000)
>         libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb757e000)
>         /lib/ld-linux.so.2 (0xb7750000)
>         libncurses.so.5 => /lib/libncurses.so.5 (0xb7544000)
>         libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0xb7527000)
>         libselinux.so.1 => /lib/libselinux.so.1 (0xb750b000)

hmm right forgot to check 32 bit legacy, well there the line is similar,
but 
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7595000)

what is your  cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf
  
> > No libgcc also seen in any of the initramfs around.
> Thats bad. See above. libgcc_s.so.1 is needed.

well the question is why do you have a non working libgcc in /usr/local/lib ??

> > mkinitramfs would be misbehaving here, this can be closed soon.
> I hope the output above can clarify.

Nope, your report is still missing a lot, like
lsinitramfs /boot/path_to_broken_initramfs

and the output of
sh -x /usr/sbin/mkinitramfs -o /tmp/fooo

to backup the claims.

thank you.

-- 
maks



Reply to: