FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-09-2011, 06:34 PM
Andrea Cardaci
 
Default Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses

Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-35squeeze1

After an apt-get upgrade today, I wasn't able to boot anymore, lvm
complains that can't find libncurses.so.5, and it's right, the only
libncurses.so.5 file in initrd.img-2.6.32-5-amd64 is in
/32bit/usr/lib/libncurses.so.5.

Note that:

$ file libncurses.so.5
libncurses.so.5: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, stripped

I solved by patching initrd.img-2.6.32-5-amd64 with a symlink to the
proper path: /lib. That's the second time it happens after an upgrade.
I don't have records of the first one.

Here's the culprit (from /var/log/apt/history.log):

Start-Date: 2011-09-09 *15:43:30
Commandline: apt-get upgrade
Upgrade: linux-image-2.6.32-5-amd64:amd64 (2.6.32-35,
2.6.32-35squeeze1), firmware-linux-free:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-headers-2.6.32-5-common:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-headers-2.6.32-5-amd64:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-base:amd64 (2.6.32-35, 2.6.32-35squeeze1),
linux-libc-dev:amd64 (2.6.32-35, 2.6.32-35squeeze1)
End-Date: 2011-09-09 *15:44:21

--
Andrea Cardaci

http://behance.net/AndreaCardaci



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CACMsj9OTFSHsDHPF7Xdj=kWRvHN0q0brh2aJ4yLw7=k-Ru7f9A@mail.gmail.com">http://lists.debian.org/CACMsj9OTFSHsDHPF7Xdj=kWRvHN0q0brh2aJ4yLw7=k-Ru7f9A@mail.gmail.com
 
Old 10-10-2011, 07:09 PM
Julien Cristau
 
Default Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses

On Fri, Sep 9, 2011 at 20:34:19 +0200, Andrea Cardaci wrote:

> Package: linux-image-2.6.32-5-amd64
> Version: 2.6.32-35squeeze1
>
> After an apt-get upgrade today, I wasn't able to boot anymore, lvm
> complains that can't find libncurses.so.5, and it's right, the only
> libncurses.so.5 file in initrd.img-2.6.32-5-amd64 is in
> /32bit/usr/lib/libncurses.so.5.
>
> Note that:
>
> $ file libncurses.so.5
> libncurses.so.5: ELF 64-bit LSB shared object, x86-64, version 1
> (SYSV), dynamically linked, stripped
>
> I solved by patching initrd.img-2.6.32-5-amd64 with a symlink to the
> proper path: /lib. That's the second time it happens after an upgrade.
> I don't have records of the first one.
>
What version of initramfs-tools? You'll need to trace the execution of
update-initramfs and figure out why it picks up that version of ncurses.

Cheers,
Julien



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111010190937.GG12618@radis.liafa.jussieu.fr">htt p://lists.debian.org/20111010190937.GG12618@radis.liafa.jussieu.fr
 
Old 10-10-2011, 07:39 PM
Andrea Cardaci
 
Default Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses

Thanks for the reply.

`apt-cache show initramfs-tools` says version 0.98.8

I tried to run `update-initramfs -v -t -u -k 2.6.32-5-amd64` and I noticed:

[...]
Adding library /32bit/usr/lib/libncurses.so.5
[...]

where `/32bit/` is a chroot I've created some time ago, well I assume
that's the culprit but can't figure out of how it can mess
`initrd.img`. It's worth to mention that I've added a file to
`/etc/ld.so.conf.d/` with:

/32bit/lib
/32bit/usr/lib
/32bit/usr/X11R6/lib
/32bit/usr/local/lib

But now I'm stuck... ideas?

2011/10/10 Julien Cristau <jcristau@debian.org>:
> On Fri, Sep *9, 2011 at 20:34:19 +0200, Andrea Cardaci wrote:
>
>> Package: linux-image-2.6.32-5-amd64
>> Version: 2.6.32-35squeeze1
>>
>> After an apt-get upgrade today, I wasn't able to boot anymore, lvm
>> complains that can't find libncurses.so.5, and it's right, the only
>> libncurses.so.5 file in initrd.img-2.6.32-5-amd64 is in
>> /32bit/usr/lib/libncurses.so.5.
>>
>> Note that:
>>
>> $ file libncurses.so.5
>> libncurses.so.5: ELF 64-bit LSB shared object, x86-64, version 1
>> (SYSV), dynamically linked, stripped
>>
>> I solved by patching initrd.img-2.6.32-5-amd64 with a symlink to the
>> proper path: /lib. That's the second time it happens after an upgrade.
>> I don't have records of the first one.
>>
> What version of initramfs-tools? *You'll need to trace the execution of
> update-initramfs and figure out why it picks up that version of ncurses.
>
> Cheers,
> Julien
>



--
Andrea Cardaci

http://behance.net/AndreaCardaci




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CACMsj9N-Aeky-n03xVgJyBQ-DpJh1jaKXtoUHhvDE346077myg@mail.gmail.com">http://lists.debian.org/CACMsj9N-Aeky-n03xVgJyBQ-DpJh1jaKXtoUHhvDE346077myg@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 05:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org