Skip to contentSkip to conversation

/sbin/init problem in HH2.0 distro

DISCUSSION Fuxin Zhang 1 participant 1 message Jul 30, 2001 MIPS

lore
Share & tools
lore
#0 lore raw

hello,Kevin
I have found out the cause: the P6032 on board cache make all
these subtle errors!

Thank you for your attention.

2001-07-30 17:01:00:
Quoted 18 lines
Quoted 6 lines
2001-07-30 16:17:00:
Quoted 3 lines

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.

Quoted 50 lines

Kevin K.

Quoted 47 lines
Quoted 14 lines

----- Original Message -----
From: "Fuxin Zhang" <[email protected]>
To: <[email protected]>
Sent: Monday, July 30, 2001 3:48 PM

Quoted 8 lines

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

Quoted 28 lines
Quoted 2 lines

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

Quoted 25 lines

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
[email protected]

Regards
Fuxin Zhang
[email protected]

Regards
Fuxin Zhang
[email protected]