2007-06-03 21:02:14

by Jan Willies

[permalink] [raw]
Subject: ISL3880IK crashes with 2.6.19.1 / .21.1

Hi,

I tried to replace my broken atheros card with an ISL3880IK one but it
crashes. I tried both wireless-tools.28/29 and kernel 2.6.19.1/2.6.21.1

My system is OpenWrt on a Netgear WGT634U (mipsel).

Any ideas on that?


regards
Jan



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...


http://pastebin.ca/534295


2007-06-03 22:33:28

by Jan Willies

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Jean-Baptiste Note schrieb:
> Hi,
>
> Any chance you could decode the oops ? If you're recompiling the
> kernel yourself, include symbols (can't remember the option name), or
> run ksymoops...

I recompiled the kernel with KALLSYMS and got this:

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...

http://pastebin.ca/534888

2007-06-03 20:23:31

by Jean-Baptiste Note

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Hi,

Any chance you could decode the oops ? If you're recompiling the
kernel yourself, include symbols (can't remember the option name), or
run ksymoops...

JB

2007-11-22 01:03:03

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

On Jun 3, 2007 5:33 PM, Jan Willies <[email protected]> wrote:
> Jean-Baptiste Note schrieb:
> > Hi,
> >
> > Any chance you could decode the oops ? If you're recompiling the
> > kernel yourself, include symbols (can't remember the option name), or
> > run ksymoops...
>
> I recompiled the kernel with KALLSYMS and got this:
>
> 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]

Sorry for the late reply ;) but anyway, I tried looking into this
finally (with new found knowledge on this subject, thanks to Kyle) and
I cannot see a place where isl38xx_trigger_device() would trigger
unaligned access.

Is this issue still present? If so I'd like to get to the bottom of
it. FYI p54 is there as a replacement but as you may know certain
features (ad-hoc, ap support, encryption) are still not present in
that driver.

Luis

2007-11-27 01:26:00

by loswillios

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Jan Willies wrote:
> Luis R. Rodriguez wrote:
>> Actually I've been informed this is not unaligned access problem but
>> instead it occurs on do_be() or ip22_be_interrupt() on MIPS. I'll have
>> to check how that works, I do not yet understand how this is reached.
>
> I will try a new build with prism54 in the next days and let you know if
> that issue is still present.

Still the same problem with 2.6.23.1:

root@OpenWrt:/# ifconfig eth1 up
eth1: resetting device...
eth1: uploading firmware...
eth1: firmware version: 1.0.4.3
eth1: firmware upload complete
eth1: interface reset complete

root@OpenWrt:/# iwlist eth1 scanning
Data bus error, epc == c011518c, ra == c01146cc
Oops[#1]:
Cpu 0
$ 0 : 00000000 1000b800 abad0000 00000032
$ 4 : 00000001 c00c8000 00000013 00000001
$ 8 : 0000003c 80102bd4 ffffffff 81e2101c
$12 : ffffffff 00000580 2ab8af24 00000498
$16 : 81e21680 000000fa 81339380 0000004a
$20 : 81339380 00000000 a1e80000 81339000
$24 : 00000000 2abd55e0
$28 : 813b4000 813b5cc8 00000019 c01146cc
Hi : 00000000
Lo : 00000580
epc : c011518c Not tainted
ra : c01146cc Status: 1000b803 KERNEL EXL IE
Cause : 0000001c
PrId : 00029007
Modules linked in: prism54 ehci_hcd ohci_hcd nf_nat_tftp
nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp
nf_conntrack_ftp ppp_async ppp_generic slhc crc_ccitt usbcore arc4 aes
deflate ecb cbc blkcipher crypto_hash cryptomgr crypto_algapi
switch_robo switch_core diag
Process iwlist (pid: 680, threadinfo=813b4000, task=810a10c8)
Stack : ffffff9c 2ab3549b 80074a50 7fd23300 00000000 810a10c8 8003cac4
81339710
81339710 8008c054 0000003e 00000000 00000000 813b5e60 00000060
17000012
81339380 813b5d78 00000498 c011dce0 81052920 00000000 17000012
00000009
0000003e 813b5d30 00000000 81052920 813b5e70 802a6000 802a6000
813b5e60
813b5e70 00000000 81339380 00008b0b c01187ec 00008b0b 81047360
000080d0
...
Call
Trace:[<80074a50>][<8003cac4>][<8008c054>][<c011dce0>][<c01187ec>][<c01186a4>][<801ec8ec>][<8005ecc4>][<8005ecc4>][<800cbc34>][<80118d8c>][<c01186a4>][<801ecb10>][<80060f6c>][<80164b28>][<8008d4a8>][<8008630c>][<8008661c>][<8008669c>][<8000c12c>][<80003a00>]

Code: 10800014 24020002 3c02abad <8ca30010> 3442face 1462000f
24020008 08045470 00000000
Segmentation fault


Sometimes I even get this weird stuff:

root@OpenWrt:/# ifconfig eth1 up
eth1: resetting device...
eth1: uploading firmware...
eth1: firmware version: 1.0.4.3
eth1: firmware upload complete
eth1: no 'reset complete' IRQ seen - retrying
eth1: no 'reset complete' IRQ seen - retrying
eth1: interface reset failure
prism54: Your card/socket may be faulty, or IRQ line too busy :(
ifconfig: SIOCSIFFLAGS: Timer expired


Thanks for looking into it, much appreciated.


- Jan

2007-11-22 01:13:47

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

On Nov 21, 2007 8:03 PM, Luis R. Rodriguez <[email protected]> wrote:
>
> On Jun 3, 2007 5:33 PM, Jan Willies <[email protected]> wrote:
> > Jean-Baptiste Note schrieb:
> > > Hi,
> > >
> > > Any chance you could decode the oops ? If you're recompiling the
> > > kernel yourself, include symbols (can't remember the option name), or
> > > run ksymoops...
> >
> > I recompiled the kernel with KALLSYMS and got this:
> >
> > 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]
>
> Sorry for the late reply ;) but anyway, I tried looking into this
> finally (with new found knowledge on this subject, thanks to Kyle) and
> I cannot see a place where isl38xx_trigger_device() would trigger
> unaligned access.
>
> Is this issue still present? If so I'd like to get to the bottom of
> it. FYI p54 is there as a replacement but as you may know certain
> features (ad-hoc, ap support, encryption) are still not present in
> that driver.

Actually I've been informed this is not unaligned access problem but
instead it occurs on do_be() or ip22_be_interrupt() on MIPS. I'll have
to check how that works, I do not yet understand how this is reached.

Luis

2007-11-22 21:38:04

by Christian Lamparter

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

>
> Hmmz, I wasn't aware that p54 doesn't support encryption or AP mode yet.
> Is there any website/blog or something apart from linvilles commit log
> where I can read about its progress?
>
> Funny thing is, I had a chat with Michael Wu because p54 was segfaulting
> for me. Turned out that I was missing some crypto modules, which are
> only needed for encryption I guess. Therefore I assumed encryption is
> working.
>
"hardware encryption" does not work, since no one has implemented it.
but the software encryption is always available...

The AP Mode is a pain... Beause the firmware of the device changes the beacon
frames and does some accouting for the powersaving features...
There're workarounds, but they'll probably break something else.

Regards,
Chr

2007-11-22 21:55:42

by Jan Willies

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Luis R. Rodriguez wrote:
> On Nov 21, 2007 8:03 PM, Luis R. Rodriguez <[email protected]> wrote:
>> On Jun 3, 2007 5:33 PM, Jan Willies <[email protected]> wrote:
>>> Jean-Baptiste Note schrieb:
>>>> Hi,
>>>>
>>>> Any chance you could decode the oops ? If you're recompiling the
>>>> kernel yourself, include symbols (can't remember the option name), or
>>>> run ksymoops...
>>> I recompiled the kernel with KALLSYMS and got this:
>>>
>>> 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]
>> Sorry for the late reply ;) but anyway, I tried looking into this
>> finally (with new found knowledge on this subject, thanks to Kyle) and
>> I cannot see a place where isl38xx_trigger_device() would trigger
>> unaligned access.

Heh, wasn't expecting an answer anymore :)

>> Is this issue still present? If so I'd like to get to the bottom of
>> it. FYI p54 is there as a replacement but as you may know certain
>> features (ad-hoc, ap support, encryption) are still not present in
>> that driver.

Yep, I packaged p54 for OpenWrt and it's working for me. Well, I just
tried a scan and some APs showed up. But there was no segfaulting.

Hmmz, I wasn't aware that p54 doesn't support encryption or AP mode yet.
Is there any website/blog or something apart from linvilles commit log
where I can read about its progress?

Funny thing is, I had a chat with Michael Wu because p54 was segfaulting
for me. Turned out that I was missing some crypto modules, which are
only needed for encryption I guess. Therefore I assumed encryption is
working.

> Actually I've been informed this is not unaligned access problem but
> instead it occurs on do_be() or ip22_be_interrupt() on MIPS. I'll have
> to check how that works, I do not yet understand how this is reached.

I will try a new build with prism54 in the next days and let you know if
that issue is still present.


- Jan

2007-11-27 01:05:06

by Jan Willies

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Chr wrote:
>> Hmmz, I wasn't aware that p54 doesn't support encryption or AP mode yet.
>> Is there any website/blog or something apart from linvilles commit log
>> where I can read about its progress?
>>
>> Funny thing is, I had a chat with Michael Wu because p54 was segfaulting
>> for me. Turned out that I was missing some crypto modules, which are
>> only needed for encryption I guess. Therefore I assumed encryption is
>> working.
>>
> "hardware encryption" does not work, since no one has implemented it.
> but the software encryption is always available...

Indeed, software encryption works like a charm (for me). This ISL3880
chip has a good range covered btw.

> The AP Mode is a pain... Beause the firmware of the device changes the beacon
> frames and does some accouting for the powersaving features...
> There're workarounds, but they'll probably break something else.

Sad to hear, but I guess there are many sad things to hear when talking
about wireless and open source.

How will AP Mode be realized once it's done? Via hostapd?


- Jan


2009-02-16 22:32:58

by Jan Willies

[permalink] [raw]
Subject: Re: [Developers] ISL3880IK crashes with 2.6.19.1 / .21.1

Am Sonntag, den 03.06.2007, 21:51 +0200 schrieb Jan Willies:
> I tried to replace my broken atheros card with an ISL3880IK one but it
> crashes. I tried both wireless-tools.28/29 and kernel 2.6.19.1/2.6.21.1
>
> My system is OpenWrt on a Netgear WGT634U (mipsel).
>
> 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

Well, it turned out that the mini-pci slot in the WGT634U was b0rked
after all and not the atheros card or the p54/prism54 driver :/

The p54 driver works fine on my x86 system, even with AP-mode. Thanks
for making this happen!


cheers

- jan