Skip to contentSkip to conversation

Upgrading to kernel 2.4.6 with old init program

DISCUSSION Cindy Peters 1 participant 1 message Sep 24, 2001

lore
Share & tools
lore
#0 lore raw

Thanks for your help. The new ld.so.1 fixed the problem. I am thinking that I should rebuild the code with the latest libraries so that we don't have to have both versions available. Is there an ftp site where I can get the sources for all of the executables that you need in a ramdisk?

Thanks again,

Cindy Peters
Adaptive Micro-ware, Inc.

-----Original Message-----
From: Wolfgang Denk [mailto:[email protected]]
Sent: Sunday, September 23, 2001 1:01 PM
To: Cindy Peters
Cc: '[email protected]'
Subject: Re: Upgrading to kernel 2.4.6 with old init program

Quoted 3 lines · In message <41EDEC3C1B88D51186EB00A0C9CFADF702FA81@AMWMAIL> you wrote:

I am upgrading my Linux kernel from 2.2.13 to 2.4.6 on an MPC823. When the kernel startup process gets to running the sbin/init program I am getting

a

Quoted 3 lines

usage error for ld.so and then a kernel panic. It looks like it is attempting to run ld.so. I am still using an old ramdisk with old versions of executables that ran successfully on Linux 2.2.13. Have the file

formats

Quoted 1 line

changed somehow? Do I need to get the source for the executables and

rebuild

Quoted 1 line

them with the latest libraries? If so, where can I get them?

This souns as if you are still running code based on libc-1.99. You need a modified version of /lib/ld.so.1 then. There is one on our FTP server, AFAIR in ftp://ftp.denx.de/pub/LinuxPPC/usr/src/ld.so* (or maybe in the "patches" directory?).

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
Nothing ever becomes real until it is experienced. - John Keats

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/