linux-mips-fnet
[Top] [All Lists]

Re: Why can't run /sbin/init !!

To: michaels@jungo.com
Subject: Re: Why can't run /sbin/init !!
From: Andreas Jaeger <aj@suse.de>
Date: 25 Feb 2001 17:21:25 +0100
Cc: Greeen-III <greeen@iii.org.tw>, LinuxEmbeddedMailList <linux-embedded@waste.org>, MipsMailList <linux-mips@fnet.fr>
In-reply-to: <3A98BEAA.E055B1EB@jungo.com> (michaels@jungo.com's message of "Sun, 25 Feb 2001 10:13:30 +0200")
Mail-copies-to: never
References: <000e01c09d4a$d91ef7c0$4c0c5c8c@trd.iii.org.tw> <3A98BEAA.E055B1EB@jungo.com>
Sender: aj@suse.de
User-agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands)
michaels@jungo.com writes:

> Hi,
> 
> As a wild guess, I'd say you're missing the right dynamic linker. On
> some systems it is called ld.so.1(2), but on other versions of glibc it
> must be called ld-lunux.so.1(2). Try to add those links to standard

That's wrong! The name of the dynamic linker is different on different
Linux systems.  Here's the complete list:

i.86-.*-linux.*         ld=ld-linux.so.2
sparc64-.*-linux.*      ld=ld-linux.so.2        GLIBC_2.2
sparc.*-.*-linux.*      ld=ld-linux.so.2
alpha.*-.*-linux.*      ld=ld-linux.so.2
arm.*-.*-linux.*        ld=ld-linux.so.2
sh.*-.*-linux.*         ld=ld-linux.so.2        GLIBC_2.2
ia64-.*-linux.*         ld=ld-linux-ia64.so.2   GLIBC_2.2
mips.*-.*-linux.*       ld=ld.so.1              GLIBC_2.0 GLIBC_2.2
hppa.*-.*-.*            ld=ld.so.1              GLIBC_2.2
# We use the ELF ABI standard name for the default.
.*-.*-.*                ld=ld.so.1

Andreas

> ld-$(VERSION).so in your /lib directory. I have seen the problem with my
> system too. 
> 
> Greeen-III wrote:
> > 
> > I am porting Linux to MIPS (r3912).
> > 
> > When The /init/main.c run to this line
> > "execve("/sbin/init",argv_init,envp_init);",
> > there is nothing happened.
> > Then Kernel showed the panic message "Not find init".
> > 
> > I checked if there is init program in the directory
> > "/sbin/". And I make sure that there is a file "init"
> > there.
> > 
> > ************************************
> > * It's Green!! (¸UªL©ú)
> > * TEL: 886-2-23776100  ext.620
> > * mailto:greeen@iii.org.tw
> > * Working at III(¸êµ¦·|)
> > * ¥x¥_¥«¤j¦w°Ï´°¤Æ«n¸ô¤G¬q216¸¹12F
> > ************************************

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

<Prev in Thread] Current Thread [Next in Thread>