public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ld.so kernel difference
@ 2004-01-05 22:20 Chris Smith
  0 siblings, 0 replies; only message in thread
From: Chris Smith @ 2004-01-05 22:20 UTC (permalink / raw)
  To: linux-kernel

I have a system booting via pxe using a kernel built from redhat source (2.4.20-8). I am trying to get the system to boot using a kernel.org kernel. (one of many 2.4.22, 23, 20) 

This system is very stripped down, no disks. ~12MB for the full running os. essentially the init is the only thing running. it starts various daemons then loops on a bash propmt.

What I am seeing (and why i sent it to this list) is that there appears to be a difference in how the libraries are being found between the two types of kernels. the redhat derived kenrel is working but none of the kernel.org kernels are. 

the error i am seeing with the kenrel.org kernels is: 
/bin/sh: error while loading shared libraries libc.so.6: cannot open shared object file: no such file or directory.

then it tries to kill the init and the kernel panics.

is there a way the kernel can influence how/where ld.so looks for a library? the libraries are present on the ramdisk just not found by the kernel. the kernel is accessing the ramdisk since it is trying to run the init script (it is failing on loading /bin/sh since this is not statically linked). the "redhat" kernel using the same ramdisk works fine (same ld.so.cache, etc).

??

chris


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-05 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-05 22:20 ld.so kernel difference Chris Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox