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
[email protected]
Re:/sbin/init problem in HH2.0 distro
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?
Kevin K.
----- Original Message -----
From: "Fuxin Zhang" <[email protected]>
To: <[email protected]>
Sent: Monday, July 30, 2001 3:48 PM
Quoted 10 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.Theerror message is something like:
Init: Kernel panic: trying to kill init
Init:error loading libc.so.6, undefined symbol_sec0But if i let the kernel execute
/bin/ash.staticdirectly,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 harddisk(IBM Deskstar 40M,7200rpm)
Kernel options:
pci,ide(with/without dma,multimode) enabled serial console enabledWhat 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]