Re: Re: mkinitrd linking issue.
Hi Chris, I have the same problem. I was just wondering: do you have a 3w-9550 raid controller card? If so, did you use the 3ware ISO to install debian sarge-amd64? I have exactly the same problem when I use the installer of 3ware. My guess is that it's somehow corrupt. I hope it helps. Regards, Nicolas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mkinitrd linking issue.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Wakefield wrote: | Hi Harri. | | Here it is: | | $ /usr/bin/ldd /sbin/modprobe | libc.so.6 = /lib/libc.so.6 (0x002a9566c000) | /lib64/ld-linux-x86-64.so.2 = /lib64/ld-linux-x86-64.so.2 | (0x002a95556000) | | Thanks for your interest and help, | Chris W. | You're welcome. If the problem is fixed, then please add a note to the bug report. Regards Harri -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBzdN3UTlbRTxpHjcRAhfEAJ0ZAiZItzGZIrjr1t6niey6QJY+6ACggZio CnyL1r+/jP2cexFXkj46e4Q= =I4zK -END PGP SIGNATURE-
Re: mkinitrd linking issue.
Happy holidays to all. I have just completed a re-install of x86_64 Debian, just to see what gives with: # /usr/sbin/mkinitrd -o /tmp/initrd.img-2.6.10-rc3 2.6.10-rc3 /bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory (This is happening on my WD Raptor SATA drive) In my fresh install on my maxtor ide drive the same command is successful in creating the initrd img file. I have no leads to run on here, I wonder if anybody can suggest where I can look for missing files or broken links? BTW. - Thanks Harri for your interest and help so far. Chris W. On December 25, 2004 12:54 pm, Harald Dunkel wrote: Chris Wakefield wrote: | Hi Harri. | | Here it is: | | $ /usr/bin/ldd /sbin/modprobe | libc.so.6 = /lib/libc.so.6 (0x002a9566c000) | /lib64/ld-linux-x86-64.so.2 = /lib64/ld-linux-x86-64.so.2 | (0x002a95556000) | | Thanks for your interest and help, | Chris W. You're welcome. If the problem is fixed, then please add a note to the bug report. Regards Harri
Re: mkinitrd linking issue.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Wakefield wrote: | Hi Harri. | | here is the output to: | | bash -x /usr/sbin/mkinitrd -o /tmp/initrd.img-2.6.10-rc3 2.6.10-rc3 log | [snip] | + xldd /sbin/modprobe | + i=/sbin/modprobe | + set +e | + '[' yes ']' | ++ LD_LIBRARY_PATH= | ++ LD_ASSUME_KERNEL=2.4 | ++ ldd /sbin/modprobe | /bin/bash: error while loading shared libraries: libdl.so.2: cannot open | shared object file: No such file or directory | + x= Would you mind to run /usr/bin/ldd /sbin/modprobe on the command line and send me the output? I get this on my PC: % /usr/bin/ldd /sbin/modprobe ~libc.so.6 = /lib/libc.so.6 (0x002a9566d000) ~/lib/ld-linux-x86-64.so.2 = /lib/ld-linux-x86-64.so.2 (0x002a95556000) Regards Harri -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBy8t6UTlbRTxpHjcRAra4AJ4uXBo1c4yEgvtCe46YH9RzJxSoUACfXBxL oAIsrFxKNi2zuI3OP3amjcw= =Eqqs -END PGP SIGNATURE-
Re: mkinitrd linking issue.
Hi Harri. Here it is: $ /usr/bin/ldd /sbin/modprobe libc.so.6 = /lib/libc.so.6 (0x002a9566c000) /lib64/ld-linux-x86-64.so.2 = /lib64/ld-linux-x86-64.so.2 (0x002a95556000) Thanks for your interest and help, Chris W. On December 23, 2004 11:55 pm, Harald Dunkel wrote: Chris Wakefield wrote: | Hi Harri. | | here is the output to: | | bash -x /usr/sbin/mkinitrd -o /tmp/initrd.img-2.6.10-rc3 2.6.10-rc3 | log [snip] | + xldd /sbin/modprobe | + i=/sbin/modprobe | + set +e | + '[' yes ']' | ++ LD_LIBRARY_PATH= | ++ LD_ASSUME_KERNEL=2.4 | ++ ldd /sbin/modprobe | /bin/bash: error while loading shared libraries: libdl.so.2: cannot open | shared object file: No such file or directory | + x= Would you mind to run /usr/bin/ldd /sbin/modprobe on the command line and send me the output? I get this on my PC: % /usr/bin/ldd /sbin/modprobe ~libc.so.6 = /lib/libc.so.6 (0x002a9566d000) ~/lib/ld-linux-x86-64.so.2 = /lib/ld-linux-x86-64.so.2 (0x002a95556000) Regards Harri
Re: mkinitrd linking issue.
Greetings Harri. Before I started playing with the export command, I had this problem. Here is the output: - [EMAIL PROTECTED]:/$ bash -x /usr/sbin/mkinitrd ... + set -e ++ pwd + ORIGDIR=/ + PROG=/usr/sbin/mkinitrd + CONFDIR=/etc/mkinitrd + unset keep croot cmkimage out + getopts d:km:o:r: flag + shift 0 + '[' ']' + usage + revision='$Id: mkinitrd,v 1.201 2004/05/16 22:00:48 herbert Exp $' + cat $Id: mkinitrd,v 1.201 2004/05/16 22:00:48 herbert Exp $ Usage: /usr/sbin/mkinitrd [OPTION]... -o outfile [version] Options: -d confdir Specify an alternative configuration directory. -k Keep temporary directory used to make the image. -m command Set the command to make an initrd image. -o outfile Write to outfile. -r root Override ROOT setting in mkinitrd.conf. See mkinitrd(8) for further details. + exit 1 --- gcc --version gcc (GCC) 3.3.5 (Debian 1:3.3.5-5) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- I have noticed that ldd and mkinitrd seem not to packages unto themselves, otherwise I would have re-installed them. Can you interpret this? Thank you. Chris W. On December 22, 2004 09:43 pm, Harald Dunkel wrote: Chris Wakefield wrote: | using: /usr/sbin/mkinitrd -o initrd.img-2.6.10-rc3 2.6.10-rc3 | I'm now getting: | /bin/bash: error while loading shared libraries: libdl.so.2: cannot open | shared object file: No such file or directory Sorry, but I cannot reproduce this (using amd64 (gcc-3.4)). There are no platform dependent binaries in initrd-tools, so the problem must be in the environment. But mkinitrd uses ldd to get a list of libraries to add to the initrd.img. Do you have some environment variables set affecting shared library handling (e.g. LD_PRELOAD, LD_LIBRARY_PATH, LD_RUNPATH)? Maybe you could run bash -x /usr/sbin/mkinitrd ... to see what goes wrong in mkinitrd? Regards Harri
Re: mkinitrd linking issue.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, Chris Wakefield wrote: | Greetings Harri. | | Before I started playing with the export command, I had this problem. Here is | the output: | - | [EMAIL PROTECTED]:/$ bash -x /usr/sbin/mkinitrd ... Maybe I should have been more explicit about what to run. Would you mind to try bash -x /usr/sbin/mkinitrd -o /tmp/initrd.img-2.6.10-rc3 2.6.10-rc3 log and send me the log file? Many thanx Harri -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBy1S3UTlbRTxpHjcRAvsdAJ47h18+YVsOfvod84gFoP6efoYCYgCeKvkO 6EtGKVM9ApD7MsbUfOABvSc= =/I4G -END PGP SIGNATURE-
mkinitrd linking issue.
I think I finally figured out why none of my kernels have been booting, I haven't been appending the kernel version to the mkinitrd command ...so: using: /usr/sbin/mkinitrd -o initrd.img-2.6.10-rc3 2.6.10-rc3 I'm now getting: /bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory Output of: linux-2.6.9# ldd /lib/libdl.so.2 libc.so.6 = /lib/libc.so.6 (0x002a9566b000) /lib/ld-linux-x86-64.so.2 = /lib64/ld-linux-x86-64.so.2 (0x00552000) So I guess the kernel or minitrd can't find libdl.so.2 for some linking mistake? Can someone please suggest a fix of some kind? Thanks, Chris W.
Re: mkinitrd linking issue.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Wakefield wrote: | | using: /usr/sbin/mkinitrd -o initrd.img-2.6.10-rc3 2.6.10-rc3 | I'm now getting: | /bin/bash: error while loading shared libraries: libdl.so.2: cannot open | shared object file: No such file or directory | Sorry, but I cannot reproduce this (using amd64 (gcc-3.4)). There are no platform dependent binaries in initrd-tools, so the problem must be in the environment. But mkinitrd uses ldd to get a list of libraries to add to the initrd.img. Do you have some environment variables set affecting shared library handling (e.g. LD_PRELOAD, LD_LIBRARY_PATH, LD_RUNPATH)? Maybe you could run bash -x /usr/sbin/mkinitrd ... to see what goes wrong in mkinitrd? Regards Harri -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBylrvUTlbRTxpHjcRAiYhAJ9YRGjrNkBBdNQbTvkhYgEnzoy1NQCgjEdj opGaYeWfa1eQUPcG53oUOsk= =O25G -END PGP SIGNATURE-