booting with NFS root
Hello!
I have evaluation board from PMC-sierra, their CPU is using E9000 core. Kernel (2.4.26), root FS are provided by them. I set up NFS and TFTP servers on my linux box, kernel loads into board but fails to boot woth the following message (I skipped some lines of kernel):
=====================
PMC-Sierra TITAN 10/100/1000 Ethernet Driver Device Id : 206014, Version : 0
eth0: port 0 with MAC address 30:30:3a:31:31:3a Rx NAPI supported, Tx Coalescing ON
eth1: port 1 with MAC address 30:30:3a:31:31:3b Rx NAPI supported, Tx Coalescing ON
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
IP-Config: Entered.ipconfig.c 1194dev.c 1998dev.c 2013dev.c 750irq.c 539irq.c 571irq.c 840irq.c 879handler->startup 80259d14irq.c 892irq.c 576
Assigned IRQ 6 to port 0titan_ge.c 2256titan_ge.c 2278titan_ge.c 2316titan_ge.c 2359titan_ge.c 1614titan_ge.c 1659titan_ge.c 1698titan_ge.c 1717titan_ge.c 1837titan_ge.c 2025titan_ge.c 2118titan_ge.c 2177
dev_addr= 1, reg_addr= 11
val= 4111
val= 1titan_ge.c 2184titan_ge.c 2397
dev_addr= 1, reg_addr= 11
val= 4112
val= 1dev.c 788dev.c 2034dev.c 2043dev.c 2059
IP-Config: eth0 UP (able=1, xid=57c63687)dev.c 1998dev.c 2013dev.c 750irq.c 539irq.c 571irq.c 840irq.c 879irq.c 892irq.c 576
Assigned IRQ 6 to port 1titan_ge.c 2256titan_ge.c 2278titan_ge.c 2316titan_ge.c 2359titan_ge.c 1659titan_ge.c 1698titan_ge.c 1717titan_ge.c 1837titan_ge.c 2025titan_ge.c 2118titan_ge.c 2177
dev_addr= 2, reg_addr= 11
val= 4111
val= 1titan_ge.c 2184titan_ge.c 2397
dev_addr= 2, reg_addr= 11
val= 4212
val= 1
eth1: Error opening interfacedev.c 788dev.c 2034dev.c 2043dev.c 2059
IP-Config: Failed to open eth1ipconfig.c 1199
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.11.42, mask=255.255.255.0,
gw=255.255.255.255,
host=192.168.11.42, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.11.43, rootpath=NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.11.43
Looking up port of RPC 100005/1 on 192.168.11.43
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 104k freeddo_cpu invoked from kernel context! in traps.c::do_cpu, line 676:
$0 : 00000000 9004a000 2ab03fe0 2ab03fe0 2ab01560 00000000 00000ae0 00000ae0 $8 : 00000020 2ab01fe0 2ab01520 00001000 00000019 00000080 811d7b18 00000c62 $16: 2ab010c0 811d7c58 87f8cfe0 00000003 00000080 2ab01520 87f841a0 00000001
$24: 00000000 00000080 811d6000 811d7ba0 2aaa8000 8015f414
Hi : 00000000
Lo : 00000000
epc : 80256e14 Not tainted
Status: 9004a003
Cause : 1000002c
PrId : 000034c1
Process init (pid: 1, stackpage=811d6000)
Stack: 8015f8a8 8015f9a8 87f71180 8012b2fc 00000000 80135330 00002012
00000019 87f8cf60 2ab019e4 00000004 00002012 000590c0 2ab01000 10000000 811d7d88 87ff5740 00000000 811d7ef8 81164e80 00000000 00000002 87f841a0 8015ffd8 811d7c20 811d6000 811d7cbc 801975a4 00006012 0000000a 811d7c18 811d7c18 7f454c46 01020100 00000000 00000000 00020008 00000001 00401980 00000034 ...
Call Trace: [<8015f8a8>] [<8015f9a8>] [<8012b2fc>] [<80135330>] [<8015ffd8>]
[<801975a4>] [<8015fbc0>] [<801493ac>] [<801007b8>] [<8014889c>] [<801495bc>] [<801495a8>] [<801007b8>] [<80108f80>] [<801007b8>] [<8014fcc4>] [<801095c0>] [<8025ad30>] [<801007b8>] [<8025ad30>] [<8014af50>] [<801007b8>] [<80117888>] [<801194a0>] [<80100884>] [<801007b8>] [<8010079c>] [<8025de14>] [<80104320>] [<80117aec>] [<8026b7a8>] [<801b2054>] [<80104310>]
Code: 30c8003c 01244821 24840040 <ac85ffc0> ac85ffc4 ac85ffc8 ac85ffcc ac85ffd0 ac85ffd4 Kernel panic: Attempted to kill init! =====================
I load kernel with the following parameters:
tftp://192.168.11.43/vmlinux ip=192.168.11.42 root=/dev/nfs nfsroot=192.168.11.43:/export/linux/mips-fs-be
What may be the problem here?
Thanks in advance!
With best regards, Roman Mashak. E-mail: [email protected]
Hi,
Quoted 7 lines · On Fri, 26 May 2006 09:49:50 +0900 "Roman Mashak" <[email protected]> wrote:
Hello!
I have evaluation board from PMC-sierra, their CPU is using E9000 core. Kernel (2.4.26), root FS are provided by them. I set up NFS and TFTP servers on my linux box, kernel loads into board but fails to boot woth the following message (I skipped some lines of kernel):
<snip>
Quoted 2 lines
Freeing unused kernel memory: 104k freed
do_cpuinvoked from kernel context! intraps.c::do_cpu, line 676:
This error is coprocessor unusable exception.
Quoted 7 lines
$0 : 00000000
9004a0002ab03fe02ab03fe02ab015600000000000000ae000000ae0$8 : 000000202ab01fe02ab0152000001000 00000019 00000080811d7b1800000c62$16:2ab010c0811d7c5887f8cfe000000003 000000802ab0152087f841a000000001
$24: 00000000 00000080811d6000811d7ba02aaa80008015f414
Hi : 00000000
Lo : 00000000
epc :80256e14Not tainted
The exception program counter is 0x80256e14 .
You can check instructions(0x80256e14 and before) in your kernel object.
Quoted 31 lines
Status:
9004a003
Cause :1000002c
PrId :000034c1
Process init (pid: 1, stackpage=811d6000)Stack: 8015f8a8 8015f9a8 87f71180 8012b2fc 00000000 80135330 00002012 00000019 87f8cf60 2ab019e4 00000004 00002012 000590c0 2ab01000 10000000 811d7d88 87ff5740 00000000 811d7ef8 81164e80 00000000 00000002 87f841a0 8015ffd8 811d7c20 811d6000 811d7cbc 801975a4 00006012 0000000a 811d7c18 811d7c18 7f454c46 01020100 00000000 00000000 00020008 00000001 00401980 00000034 ... Call Trace: [<8015f8a8>] [<8015f9a8>] [<8012b2fc>] [<80135330>][<
8015ffd8>]
[<801975a4>] [<8015fbc0>] [<801493ac>] [<801007b8>] [<8014889c>]
[<801495bc>]
[<801495a8>] [<801007b8>] [<80108f80>] [<801007b8>] [<8014fcc4>]
[<801095c0>]
[<8025ad30>] [<801007b8>] [<8025ad30>] [<8014af50>] [<801007b8>]
[<80117888>]
[<801194a0>] [<80100884>] [<801007b8>] [<8010079c>] [<8025de14>]
[<80104320>]
[<80117aec>] [<8026b7a8>] [<801b2054>] [<80104310>]Code: 30c8003c 01244821 24840040 <ac85ffc0> ac85ffc4 ac85ffc8 ac85ffcc ac85ffd0 ac85ffd4 Kernel panic: Attempted to kill init! =====================I load kernel with the following parameters:
tftp://192.168.11.43/vmlinux ip=192.168.11.42 root=/dev/nfs nfsroot=192.168.11.43:/export/linux/mips-fs-be
Quoted 6 lines
What may be the problem here?
Thanks in advance!
With best regards, Roman Mashak. E-mail: [email protected]
Yoichi
Hello, Yoichi
and thanks for reply.
YY> <snip>
??>> Freeing unused kernel memory: 104k freed
??>> do_cpu invoked from kernel context! in traps.c::do_cpu, line 676:
YY> This error is coprocessor unusable exception.
May this be caused by hardware error/bug ?
??>> $0 : 00000000 9004a000 2ab03fe0 2ab03fe0 2ab01560 00000000 00000ae0 ??>> 00000ae0 $8 : 00000020 2ab01fe0 2ab01520 00001000 00000019 00000080 ??>> 811d7b18 00000c62 $16: 2ab010c0 811d7c58 87f8cfe0 00000003 00000080 ??>> 2ab01520 87f841a0 00000001 $24: 00000000 00000080
??>> 811d6000 811d7ba0 2aaa8000 8015f414 Hi : 00000000 Lo : 00000000 epc
??>> : 80256e14 Not tainted
YY> The exception program counter is 0x80256e14 .
YY> You can check instructions(0x80256e14 and before) in your kernel YY> object.
I ran 'objdump -d /tftpboot/vmlinux | grep -B7 ^80256e14' and got the following:
80256df8: 732f6330 0x732f6330 80256dfc: 64347000 daddiu s4,at,28672 80256e00: 63636973 daddi v1,k1,26995 80256e04: 732f6330 0x732f6330 80256e08: 64357000 daddiu s5,at,28672 80256e0c: 63636973 daddi v1,k1,26995 80256e10: 732f6330 0x732f6330 80256e14: 64367000 daddiu s6,at,28672
But I'm not good in MIPS assembling. Does this give you some clue?
??>> Status: 9004a003
??>> Cause : 1000002c
??>> PrId : 000034c1
??>> Process init (pid: 1, stackpage=811d6000)
??>> Stack: 8015f8a8 8015f9a8 87f71180 8012b2fc 00000000 80135330
With best regards, Roman Mashak. E-mail: [email protected]