OpenWrt Forum Archive

Topic: kernel-oops with prism54 on a WGT634U (r7314)

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I intended to replace the b0rked atheros card with this fullmac prism54 one (ISL3880IK). But see for yourself...

Jan  1 00:00:26 OpenWrt user.info kernel: Loaded prism54 driver, version 1.2
Jan  1 00:00:26 OpenWrt user.warn kernel: PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Jan  1 00:00:26 OpenWrt user.warn kernel: PCI: Fixing up device 0000:00:01.0

root@OpenWrt:/# ifconfig eth1 up
Jan  1 00:02:32 OpenWrt user.debug kernel: eth1: resetting device...
Jan  1 00:02:32 OpenWrt user.debug kernel: eth1: uploading firmware...
Jan  1 00:02:32 OpenWrt user.debug kernel: eth1: firmware version: 1.0.4.3
Jan  1 00:02:32 OpenWrt user.debug kernel: eth1: firmware upload complete
Jan  1 00:02:32 OpenWrt user.debug kernel: eth1: interface reset complete


root@OpenWrt:/# iwconfig
lo        no wireless extensions.

ethData bus error, epc == c010810c, ra == c010765c
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000b800 abad0000 a1fa02e8
$ 4   : 00000001 c00f0000 00000013 00000001
$ 8   : 00000004 800fbb6c 00000000 00000000
$12   : 00000000 00000100 00000400 00000000
$16   : 818a1980 1000b801 81ee0a80 81ee0800
$20   : 00000010 00000000 a1fa0000 ff02000d
$24   : 00000000 2abd45f0
$28   : 81c7c000 81c7dce8 00000000 c010765c
Hi    : 000002fc
Lo    : 00035866
epc   : c010810c     Not tainted
ra    : c010765c Status: 1000b803    KERNEL EXL IE
Cause : 0000001c
PrId  : 00029007
Modules linked in: sch_red sch_sfq sch_hfsc cls_fw prism54 ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_TTL ipt_ttl ipt_TOS ipt_time ipt_tos xt_MARK xt_mark xt_mac xt_length ipt_ECN ipt_ecn xt_CLASSIFY imq ipt_IMQ ipt_layer7 ipt_ipp2p xt_NOTRACK iptable_raw xt_portscan xt_DELUDE xt_string ipt_recent ipt_owner ipt_LOG xt_helper xt_CONNMARK xt_connmark tun ppp_async ppp_generic slhc crc_ccitt nfs lockd sunrpc switch_robo switch_core diag
Process iwconfig (pid: 2228, threadinfo=81c7c000, task=81cc15a0)
Stack : 0000000a 8034e000 812318c0 8034e000 00000000 81cc15a0 8003d39c 81ee0e30
        81ee0e30 8002f260 00000004 00000000 00000000 801f79ac 7fd95178 0000008a
        ff02000d 81ee0a80 81c7dd98 c0110aa8 812318c0 8034e000 00000000 812318c0
        00000004 81c7dd50 00000000 8002a7fc 81c7de70 81c7de70 81c7de60 801f79ac
        7fd95178 7fd951f8 81c7de60 00008b01 81ee0800 c010b5b8 80001e30 00000005
        ...
Call Trace:[<8003d39c>][<8002f260>][<c0110aa8>][<8002a7fc>][<c010b5b8>][<80001e30>][<800039a0>][<c010b53c>][<80166258>][<800fbb5c>][<c010b53c>][<80166794>][<8011e3f8>][<80157fe0>][<8001f2c8>][<80112914>][<801128f4>][<8008282c>][<80082b48>][<80073db0>][<8007136c>][<80082bc8>][<800617e0>][<80061710>][<8000cdc0>][<8000cdc0>]

Code: 10800014  24020002  3c02abad <8ca30010> 3442face  1462000f  24020008  08042050  00000000
0      no wireless extensions.

eth0.0    no wireless extensions.

eth0.1    no wireless extensions.

imq0      no wireless extensions.

imq1      no wireless extensions.

Segmentation fault



And another one:

root@OpenWrt:/# iwconfig 
lo        no wireless extensions.

ethData bus error, epc == c0108158, ra == c010765c
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000b800 00000008 90004000
$ 4   : 00000001 c00f0000 00000013 00000001
$ 8   : 00000004 800fbb6c 00000000 00000000
$12   : 00000000 00000100 00000400 00000000
$16   : 81289980 1000b801 81f0ca80 81f0c800
$20   : 00000010 00000000 a1860000 ff02000d
$24   : 00000000 2abd45f0                  
$28   : 81dbc000 81dbdce8 00000000 c010765c
Hi    : 000002fc
Lo    : 00035866
epc   : c0108158     Not tainted
ra    : c010765c Status: 1000b803    KERNEL EXL IE 
Cause : 8000081c
PrId  : 00029007
Modules linked in: sch_red sch_sfq sch_hfsc cls_fw prism54 ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_TTL ipt_ttl ipt_TOS ipt_time ipt_tos xt_MARK xt_mark xt_mac xt_length ipt_ECN ipt_ecn xt_CLASSIFY imq ipt_IMQ ipt_layer7 ipt_ipp2p xt_NOTRACK iptable_raw xt_portscan xt_DELUDE xt_string ipt_recent ipt_owner ipt_LOG xt_helper xt_CONNMARK xt_connmark tun ppp_async ppp_generic slhc crc_ccitt nfs lockd sunrpc switch_robo switch_core diag
Process iwconfig (pid: 2223, threadinfo=81dbc000, task=81cdd188)
Stack : 00000000 8002a720 8034e019 00000019 00000000 81cdd188 8003d39c 81f0ce30
        81f0ce30 8002a7fc 00000004 00000000 00000000 801f79ac 7fab8178 0000008a
        ff02000d 81f0ca80 81dbdd98 c0110aa8 80001e58 81dbdea8 8196b000 00000001
        00000004 81dbdd50 00000000 800039a0 81dbde70 81dbde70 81dbde60 801f79ac
        7fab8178 7fab81f8 81dbde60 00008b01 81f0c800 c010b5b8 8026fb10 00000005
        ...
Call Trace:[<8002a720>][<8003d39c>][<8002a7fc>][<c0110aa8>][<80001e58>][<800039a0>][<c010b5b8>][<c010b53c>][<80166258>][<80120964>][<80074ec4>][<c010b53c>][<80166794>][<8005d680>][<80093d58>][<8007d814>][<8011e3f8>][<80157fe0>][<8001f2c8>][<80112914>][<801128f4>][<8008282c>][<80082b48>][<80073db0>][<8002a7fc>][<80082bc8>][<800617e0>][<80061710>][<8000cdc0>][<8000cdc0>]

Code: 3c0300a3  24020008  aca20000 <03e00008> 8ca20018  ac850020  3c0300a3  3c058026  8c820018 
0      no wireleData bus error, epc == c010e6e8, ra == 800490b8
Oops[#2]:
Cpu 0
$ 0   : 00000000 10009801 00000001 00010000
$ 4   : c00f0000 81f0ca80 00000140 00000000
$ 8   : ffffffff ffffffff 00000001 00000001
$12   : ffffbbd3 00000103 8022b38c 10009001
$16   : 81802200 00000000 00000000 00000005
$20   : 00000010 00000000 a1860000 ff02000d
$24   : 81dbdaac ffffffff                  
$28   : 81dbc000 81dbda98 00000000 800490b8
Hi    : 00000002
Lo    : 00000000
epc   : c010e6e8     Not tainted
ra    : 800490b8 Status: 10009803    KERNEL EXL IE 
Cause : 0000201c
PrId  : 00029007
Modules linked in: sch_red sch_sfq sch_hfsc cls_fw prism54 ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_TTL ipt_ttl ipt_TOS ipt_time ipt_tos xt_MARK xt_mark xt_mac xt_length ipt_ECN ipt_ecn xt_CLASSIFY imq ipt_IMQ ipt_layer7 ipt_ipp2p xt_NOTRACK iptable_raw xt_portscan xt_DELUDE xt_string ipt_recent ipt_owner ipt_LOG xt_helper xt_CONNMARK xt_connmark tun ppp_async ppp_generic slhc crc_ccitt nfs lockd sunrpc switch_robo switch_core diag
Process iwconfig (pid: 2223, threadinfo=81dbc000, task=81cdd188)
Stack : 00000060 00000000 5e3da035 ffffbbd3 00000001 80266544 81802200 00000000
        00000000 800490b8 802340c0 802cd980 00000000 8002a720 80234140 81802200
        00000005 00000004 800491d4 81dbdc38 10009800 8002a7fc 0000202f 8002418c
        0000a800 81dbdc38 81dbdc38 8000549c 00002030 1000b800 fffff7e8 80023d04
        80001e80 80024d68 00000400 80210b54 00002030 80220000 00000000 800039a0
        ...
Call Trace:[<800490b8>][<8002a720>][<800491d4>][<8002a7fc>][<8002418c>][<8000549c>][<80023d04>][<80001e80>][<80024d68>][<800039a0>][<800faf78>][<8000aa28>][<8000aa40>][<c010815c>][<8000ad3c>][<8000ac78>][<c0108158>][<c010765c>][<800039a8>][<8008b61c>][<800fbb6c>][<c010765c>][<800490b8>][<c0108158>][<8002a720>][<8003d39c>][<8002a7fc>][<c0110aa8>][<80001e58>][<800039a0>][<c010b5b8>][<c010b53c>][<80166258>][<80120964>][<80074ec4>][<c010b53c>][<80166794>][<8005d680>][<80093d58>][<8007d814>][<8011e3f8>][<80157fe0>][<8001f2c8>][<80112914>][<801128f4>][<8008282c>][<80082b48>][<80073db0>][<8002a7fc>][<80082bc8>][<800617e0>][<80061710>][<8000cdc0>][<8000cdc0>]

Code: 8ca40170  24020001  afa20010 <8c820078> 00a08021  30420200  1440009d  8cb10180  8c820010 
ss extensions.
Kernel panic - not syncing: Fatal exception in interrupt

eth0.0    no w ireless extensio<0>Rebooting in 3 seconds..ns.

eth0.1    no wireless extensions.

imq0      no wireless extensions.

imq1      no wireless extensions.

<1>Please stand by while rebooting the system...

This is a Netgear WGT634U with Kamikaze r7314

Any ideas on that?

(Last edited by loswillios on 2 Jun 2007, 22:11)

same result with r7460 (2.6.21.1):

root@OpenWrt:/lib/firmware# iwconfig
lo        no wireless extensions.

ethData bus error, epc == c00c5008, ra == c00c4ce0
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000b800 00000008 90004000
$ 4   : 00000001 c0064000 00000010 81312800
$ 8   : 00000013 8010472c 00000000 00000000
$12   : 00000000 00000200 00000100 00000000
$16   : 1000b801 81c3c320 00000010 81c3c000
$20   : 80100000 a1ea0000 fffffff4 000000fa
$24   : 00000000 80200000
$28   : 813e6000 813e7c90 00000019 c00c4ce0
Hi    : 00000000
Lo    : 00000000
epc   : c00c5008     Not tainted
ra    : c00c4ce0 Status: 1000b803    KERNEL EXL IE
Cause : 8000001c
PrId  : 00029007
Modules linked in: prism54 nfs lockd sunrpc switch_robo switch_core diag
Process iwconfig (pid: 1377, threadinfo=813e6000, task=812487f0)
Stack : 0000000a 80280000 810d9419 00000019 00000000 812487f0 8003f41c 81c3c6b0
        81c3c6b0 81805620 00000010 81312800 01312800 813e7cac 813e7cac 00000003
        81c3c6b0 000000c0 00000000 00000004 0000008a 00000114 fffffffb 813e7d60
        00000000 c00d0000 81c3c320 c00cd610 1000b800 00000000 ff02000d 00000000
        00000004 813e7d18 00000000 ff02000d 813e7e40 813e7e40 8020c130 81c3c000
        ...
Call Trace:[<8003f41c>][<c00cd610>][<c00c5a40>][<c00c59c8>][<80175e9c>][<c00c59c8>][<8017625c>][<80126494>][<801264b4>][<8016775c>][<80020870>][<80156a80>][<80118b20>][<80087a90>][<80087de8>][<80087e60>][<800670f8>][<80067028>][<80001da4>][<8000bdc0>][<80003a60>]

Code: 2402000a  24020008  aca20000 <03e00008> 8ca20018  3c020010  ac800018  3442624e  2403000a
0      no wireleData bus error, epc == c00cafe4, ra == 8004be94
Oops[#2]:
Cpu 0
$ 0   : 00000000 10009801 00000001 fffffbff
$ 4   : c0064000 81c3c320 00000001 00000000
$ 8   : 274893b4 0000006e 0000007f ffffffff
$12   : 00000002 813e7a6c 8023f978 10009001
$16   : 81e4dd80 00000000 00000000 00000005
$20   : 80100000 a1ea0000 fffffff4 000000fa
$24   : 00000103 8000bbe0
$28   : 813e6000 813e7a50 00000019 8004be94
Hi    : 0000008f
Lo    : 5c28f640
epc   : c00cafe4     Not tainted
ra    : 8004be94 Status: 10009803    KERNEL EXL IE
Cause : 0000201c
PrId  : 00029007
Modules linked in: prism54 nfs lockd sunrpc switch_robo switch_core diag
Process iwconfig (pid: 1377, threadinfo=813e6000, task=812487f0)
Stack : 00000019 80008c04 00000000 80280000 00000001 8002c85c 81e4dd80 00000000
        00000000 00000005 8004be94 80280e44 8002c258 00000003 00000002 00000004
        80248140 00000005 00000002 00000004 8004d698 813e7be0 8002c330 800268a4
        00000400 802266c4 0000a800 813e7be0 80001e1c 80001da4 80240000 000000fa
        80102ea4 8020f16c 00000000 80003a60 813e7b94 8027c8fd 00000001 800268a4
        ...
Call Trace:[<80008c04>][<8002c85c>][<8004be94>][<8002c258>][<8004d698>][<8002c330>][<800268a4>][<80001e1c>][<80001da4>][<80102ea4>][<80003a60>][<800268a4>][<80100000>][<80100000>][<800096e0>][<800096f8>][<80026920>][<8000987c>][<c00c5008>][<c00c4ce0>][<80003a40>][<8008ec90>][<8010472c>][<80100000>][<80200000>][<c00c4ce0>][<c00c5008>][<8003f41c>][<c00cd610>][<c00c5a40>][<c00c59c8>][<80175e9c>][<c00c59c8>][<8017625c>][<80126494>][<801264b4>][<8016775c>][<80020870>][<80156a80>][<80118b20>][<80087a90>][<80087de8>][<80087e60>][<800670f8>][<80067028>][<80001da4>][<8000bdc0>][<80003a60>]

Code: 8ca40150  24020001  afa20010 <8c900078> 00a08821  8cb20160  32020200  1440009c  00001821
ss extensions.
Kernel panic - not syncing: Fatal exception in interrupt

eth0.0    no wRebooting in 3 seconds..ireless extensions.

eth0.1    no wireless extensions.

<1>Please stand by while rebooting the system...

How would I decode that oops with openwrt? I already recompiled with CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS enabled but I guess that isn't what I need, cause the oops appears not while inserting the module.

EDIT: make kernel_menuconfig and enable KALLSYMS

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

ethData bus error, epc == c007e16c, ra == c007d6c0
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000b800 abad0000 00000032
$ 4   : 00000001 c0068000 00000013 00000001
$ 8   : 00000004 800feb8c 00000000 00000000
$12   : 00000000 00000000 8124ca40 00000000
$16   : 812a7800 000000fa 81361320 81361000
$20   : 00000010 00000000 a1cc0000 00000019
$24   : 00000000 2abd45f0
$28   : 813d6000 813d7ce8 ff02000d c007d6c0
Hi    : 000002fc
Lo    : 00035866
epc   : c007e16c isl38xx_trigger_device+0xc/0x60 [prism54]     Not tainted
ra    : c007d6c0 islpci_mgt_transaction+0x380/0x614 [prism54]
Status: 1000b803    KERNEL EXL IE
Cause : 0000001c
PrId  : 00029007
Modules linked in: prism54 switch_robo switch_core diag
Process iwconfig (pid: 1411, threadinfo=813d6000, task=8106f3f8)
Stack : 81108800 8001e418 00000060 00000000 00000000 8106f3f8 8003bf54 813616b0
        813616b0 80029ab0 00000004 00000000 00000000 80200ddc 0000008a ff02000d
        81361320 813d7d98 81361000 c0086cd0 1000b800 00000000 1000b800 8002964c
        00000004 813d7d50 00000000 81271d04 813d7e70 813d7e70 813d7e60 80200ddc
        7fcad438 7fcad478 813d7e60 00008b01 c0081628 00000101 00000001 00000000
        ...
Call Trace:
[<c007e16c>] isl38xx_trigger_device+0xc/0x60 [prism54]
[<c007d6c0>] islpci_mgt_transaction+0x380/0x614 [prism54]
[<c0086cd0>] mgt_get_request+0x100/0x2ec [prism54]
[<c0081628>] prism54_set_mac_address+0x1a0/0xfd8 [prism54]


Code: 10800014  24020002  3c02abad <8ca30010> 3442face  1462000f  24020008  0801f868  00000000
0      no wireless extensions.

eth0.0    no wireless extensions.

eth0.1    no wireless extensions.

Segmentation fault


And:

root@OpenWrt:/# iwconfig eth1
Data bus error, epc == c007e1b8, ra == c007d6c0
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000b800 00000008 90004000
$ 4   : 00000001 c0068000 00000013 00000001
$ 8   : 00000004 800feb8c 00000000 00000000
$12   : 00000000 00705aac 2ab8af4c 00000000
$16   : 81c9d280 000000fa 813a8320 813a8000
$20   : 00000010 00000000 a1cc0000 00000019
$24   : 00000000 2abd45f0
$28   : 81c92000 81c93ce8 ff02000d c007d6c0
Hi    : 00000369
Lo    : 00001be5
epc   : c007e1b8 isl38xx_trigger_device+0x58/0x60 [prism54]     Not tainted
ra    : c007d6c0 islpci_mgt_transaction+0x380/0x614 [prism54]
Status: 1000b803    KERNEL EXL IE
Cause : 8000001c
PrId  : 00029007
Modules linked in: prism54 switch_robo switch_core diag
Process iwconfig (pid: 1298, threadinfo=81c92000, task=802ca3f8)
Stack : 00000000 81e5b760 81288000 811134f4 00000000 802ca3f8 8003bf54 813a86b0
        813a86b0 00000007 00000004 00000000 00000000 80200ddc 0000008a ff02000d
        813a8320 81c93d98 813a8000 c0086cd0 813260d8 00000000 813d0000 00000001
        00000004 81c93d50 00000000 80029ab0 81c93e70 81c93e70 81c93e60 80200ddc
        7f95e888 7f95e8a8 81c93e60 00008b01 c0081628 00000101 00000001 00000000
        ...
Call Trace:
[<c007e1b8>] isl38xx_trigger_device+0x58/0x60 [prism54]
[<c007d6c0>] islpci_mgt_transaction+0x380/0x614 [prism54]
[<c0086cd0>] mgt_get_request+0x100/0x2ec [prism54]
[<c0081628>] prism54_set_mac_address+0x1a0/0xfd8 [prism54]


Code: 3c0300a3  24020008  aca20000 <03e00008> 8ca20018  ac850020  3c0300a3  3c058028  8c820018
Data bus error, epc == c0084850, ra == 80049768
Oops[#2]:
Cpu 0
$ 0   : 00000000 10009801 00000001 fffffbff
$ 4   : c0068000 813a8320 00000000 00000000
$ 8   : 00000041 00000000 8024c9a0 24b76a00
$12   : 386d43c1 80290000 80290000 80290000
$16   : 813c2400 00000000 00000000 00000005
$20   : 00000010 00000000 a1cc0000 00000019
$24   : 00000000 8000be40
$28   : 81c92000 81c93ab0 ff02000d 80049768
Hi    : 00000002
Lo    : 00000005
epc   : c0084850 islpci_interrupt+0x20/0x2c8 [prism54]     Not tainted
ra    : 80049768 handle_IRQ_event+0x54/0xc0
Status: 10009803    KERNEL EXL IE
Cause : 0000201c
PrId  : 00029007
Modules linked in: prism54 switch_robo switch_core diag
Process iwconfig (pid: 1298, threadinfo=81c92000, task=802ca3f8)
Stack : 0000000a 80038acc 00000010 8002dcf8 00000001 8028fe44 813c2400 00000000
        00000000 80049768 00000008 8028fe24 00000000 80029570 80258140 00000005
        81c93c38 00000004 8004b57c 81c93c38 10009800 8002964c 00001d49 1000b800
        0000a000 81c93c38 80001dd8 80001ce0 00000400 80236870 00001d49 80250000
        00000000 80003960 a1cc0000 00000019 800fda98 00000000 80290000 80236870
        ...
Call Trace:
[<c0084850>] islpci_interrupt+0x20/0x2c8 [prism54]
[<80049768>] handle_IRQ_event+0x54/0xc0
[<8004b57c>] handle_level_irq+0xbc/0x130
[<80001dd8>] plat_irq_dispatch+0x168/0x1e0
[<80003960>] ret_from_irq+0x0/0x4
[<80009da8>] die+0x94/0xe4
[<8000a0f8>] do_be+0x140/0x17c
[<80003940>] ret_from_exception+0x0/0x20
[<c007e1b8>] isl38xx_trigger_device+0x58/0x60 [prism54]
[<c007d6c0>] islpci_mgt_transaction+0x380/0x614 [prism54]
[<c0086cd0>] mgt_get_request+0x100/0x2ec [prism54]
[<c0081628>] prism54_set_mac_address+0x1a0/0xfd8 [prism54]


Code: 8ca40150  24020001  afa20010 <8c820078> 00a08021  30420200  1440009d  8cb10160  8c820010
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 3 seconds..<1>Please stand by while rebooting the system...

(Last edited by loswillios on 3 Jun 2007, 23:38)

The discussion might have continued from here.