View previous topic :: View next topic |
Author |
Message |
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon Aug 08, 2016 3:24 pm Post subject: zfs-9999 can't boot any longer because of libgcc_s.so.1 |
|
|
It seems in the last 2 weeks or so my openzfs systems here at work that have zfs on / will no longer boot because zfs-9999 somehow depends on libgcc_s.so.1 (although it does not appear to show up in ldd)
similar to this thread: https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/issues/1
I am using genkenel-next.
During boot I get "libgcc_s.so.1 must be installed for pthread_cancel to work" printed 2 times then I see Aborted and then the prompt about not finding the root block device.
On the first system this happened to I solved this by manually expanding the initramfs putting libgcc_s.so.1 to /lib folder and recreating the initramfs.
Is there an easy way to keep genkernel-next and have it do this for me? _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Aug 09, 2016 3:42 am Post subject: |
|
|
While the list might still be long, you can ask revdep-rebuild to help finding packages using that lib, and with that list, finding ones you need to boot should be easy.
revdep-rebuild -L libgcc_s.so.1
From a dry run on mine, seeing llvm, i would put my bets on it. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
redog n00b
Joined: 06 Nov 2002 Posts: 35
|
Posted: Wed Oct 19, 2016 5:40 pm Post subject: I was able to get around this with genkernel |
|
|
mkdir -p /usr/src/initramfs/usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3
cp -a /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 /usr/src/initramfs/usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/
In /etc/genkernel.conf Set
[code]INITRAMFS_OVERLAY="/usr/src/initramfs"[/code]
genkernel --zfs initramfs |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Oct 19, 2016 5:51 pm Post subject: |
|
|
Thanks. I see this could be helpful in the future (provided I remember this thread!). I have since patched genkernel-next. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23062
|
Posted: Thu Oct 20, 2016 1:43 am Post subject: |
|
|
drescherjm wrote: | I see this could be helpful in the future (provided I remember this thread!). | Set a bookmark so you can find this thread again easily? |
|
Back to top |
|
|
|