> 2001-07-30 16:17:00£º > >Well, if you can run "passwd", can you run "nm" > >or some other utility to see if libc.so.6 does > >in fact define the symbol _sec0? > > Yes,I can. And there is no such symbol,so I suspect the disk drive first It's always possible that there's something wrong with your disk or your driver, but the fact that you're able to run other commands fairly reliably makes me suspect that your problem is elsewhere. Since nm works, you should likewise be able to verify that there's a reference to _sec0 in the image of /sbin/init. If there isn't, something subtle and nasty is wrong. If there is, maybe you've simply got an /sbin/init image that was built against a different version of libc.so.6 than the one on your disk. I'm actually a little suprised that /sbin/init isn't static. Kevin K. > >----- Original Message ----- > >From: "Fuxin Zhang" <fxzhang@ict.ac.cn> > >To: <linux-mips@oss.sgi.com> > >Sent: Monday, July 30, 2001 3:48 PM > > > > > >> hello,linux-mips > >> I am porting support of Algorithmics P6032 evalution board from > >> 2.2 kernel to 2.4. I started with the kernel 2.4.3 from hardhat2.0 > >> distribution.Now I am able to boot the kernel but it hangs up when > >> trying to exec /sbin/init.The error message is something like: > >> Init: Kernel panic: trying to kill init > >> Init:error loading libc.so.6, undefined symbol _sec0 > >> > >> But if i let the kernel execute /bin/ash.static directly,it can give me > >> a shell while complaining something like" no tty found,job control > >disabled". Then I can use most commands such as ls,passwd,cat.So the > >> libc.so.6 can't be a corrupted one. > >> > >> The test environment is: > >> Algorithmics P6032 with a idt79RC64474 CPU > >> IDE hard disk(IBM Deskstar 40M,7200rpm) > >> Kernel options: > >> pci,ide(with/without dma,multimode) enabled > >> serial console enabled > >> > >> What can be the cause? > >> > >> I suspect the ide driver first.But disabling dma doesn't help and it > >> seems to work quite well under ash. > >> > >> I am investigating the cause,if you want,I can provide more > >> information. > >> > >> > >> > >> > >> > >> Regards > >> Fuxin Zhang > >> fxzhang@ict.ac.cn > >> > > Regards > Fuxin Zhang > fxzhang@ict.ac.cn >