2009-05-19 16:40:23

by Tomasz Chmielewski

[permalink] [raw]
Subject: ipw2100: Oops, Data bus error

I'm not sure if it's interesting or not.

On ASUS WL-500gP (MIPS platform, with OpenWRT patches), running 2.6.29.3 kernel, I'm getting
an Oops (see below) when I remove the ipw2100 module and modprobe it again.
Let me know if I should decode the Oops etc., or if has perhaps something to do with the board
not fully supported by the upstream kernel, and just leave it.


Output from lspci:

00:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
Subsystem: Intel Corporation Samsung X10/P30 integrated WLAN
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 6
Region 0: Memory at 40001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Kernel modules: ipw2100



# modprobe ipw2100
[42949450.360000] lib80211: common routines for IEEE802.11 drivers
[42949450.440000] ieee80211: 802.11 data/management/control stack, git-1.1.13
[42949450.440000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <[email protected]>
[42949450.550000] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[42949450.560000] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[42949450.580000] PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
[42949450.590000] PCI: Fixing up device 0000:00:02.0
[42949450.590000] ipw2100Device not found via register read.

mangoo:~# rmmod ipw2100

mangoo:~# modprobe ipw2100
[42949611.580000] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[42949611.590000] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[42949611.610000] PCI: Fixing up device 0000:00:02.0
[42949611.610000] Data bus error, epc == c02b8d54, ra == c02b8d48
[42949611.610000] Oops[#1]:
[42949611.610000] Cpu 0
[42949611.610000] $ 0 : 00000000 1000d800 c02c8000 00000000
[42949611.610000] $ 4 : c02c0000 00000000 00000001 000000dc
[42949611.610000] $ 8 : 00000000 00000000 00000002 80340000
[42949611.610000] $12 : 80330000 00000030 00000008 00000000
[42949611.610000] $16 : 800372e8 81d4db28 00000000 c02bc374
[42949611.610000] $20 : 81d4d000 81ccb400 c02c8000 004fe008
[42949611.610000] $24 : 028f5beb 80180eb4
[42949611.610000] $28 : 80c36000 80c37cd8 7fa2db88 c02b8d48
[42949611.610000] Hi : 00000083
[42949611.610000] Lo : e42b2000
[42949611.610000] epc : c02b8d54 0xc02b8d54
[42949611.610000] Not tainted
[42949611.610000] ra : c02b8d48 0xc02b8d48
[42949611.610000] Status: 1000d803 KERNEL EXL IE
[42949611.610000] Cause : 0080001c
[42949611.610000] PrId : 00029006 (Broadcom BCM3302)
[42949611.610000] Modules linked in: ipw2100(+) sch_sfq cls_fw sch_htb xt_MARK ipt_ULOG xt_recent xt_state xt_tcpudp iptable_filter iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables fuse ohci_hcd libipw lib80211 uhci_hcd [last unloaded: ipw2100]
[42949611.610000] Process modprobe (pid: 1153, threadinfo=80c36000, task=81330088, tls=2aad96f0)
[42949611.610000] Stack : 00000001 00000000 00000400 81ea1fb0 00000000 00000000 00000000 00000000
[42949611.610000] 00000000 00000000 00000000 00000000 00000000 00000080 4a12df14 2f222ee2
[42949611.610000] c02c09e0 81ccb400 00000000 c02c0a10 c02c4000 00000000 00000000 80166874
[42949611.610000] 81ccb458 c02c0a10 c02c4000 801850d8 c02c09e0 81ccb400 c02c0d5c 00000000
[42949611.610000] 81ccb458 81ccb458 c02c0a10 80185304 81c34a08 8014d614 000031f1 1000d800
[42949611.610000] ...
[42949611.610000] Call Trace:[<c02c4000>] 0xc02c4000
[42949611.610000] [<80166874>] 0x80166874
[42949611.610000] [<c02c4000>] 0xc02c4000
[42949611.610000] [<801850d8>] 0x801850d8
[42949611.610000] [<80185304>] 0x80185304
[42949611.610000] [<8014d614>] 0x8014d614
[42949611.610000] [<8018549c>] 0x8018549c
[42949611.610000] [<8018213c>] 0x8018213c
[42949611.610000] [<8014d398>] 0x8014d398
[42949611.610000] [<8018542c>] 0x8018542c
[42949611.610000] [<80184540>] 0x80184540
[42949611.610000] [<c02c4000>] 0xc02c4000
[42949611.610000] [<8014dba4>] 0x8014dba4
[42949611.610000] [<80184bd0>] 0x80184bd0
[42949611.610000] [<80184ba8>] 0x80184ba8
[42949611.610000] [<c02c4000>] 0xc02c4000
[42949611.610000] [<80185730>] 0x80185730
[42949611.610000] [<c02c4000>] 0xc02c4000
[42949611.610000] [<80166b30>] 0x80166b30
[42949611.610000] [<80081c38>] 0x80081c38
[42949611.610000] [<c02c4068>] 0xc02c4068
[42949611.610000] [<8017e7f4>] 0x8017e7f4
[42949611.610000] [<8000c664>] 0x8000c664
[42949611.610000] [<8007d528>] 0x8007d528
[42949611.610000] [<8007d4ec>] 0x8007d4ec
[42949611.610000] [<8004a1a4>] 0x8004a1a4
[42949611.610000] [<80059288>] 0x80059288
[42949611.610000] [<80059238>] 0x80059238
[42949611.610000] [<800031d0>] 0x800031d0
[42949611.610000] [<800031d0>] 0x800031d0
[42949611.610000]
[42949611.610000]
[42949611.610000] Code: 8e820024 10400300 3c04c02c <8c430090> 3c02d555 344255d5 146202fc 3c028003 26a20058
Segmentation fault


--
Tomasz Chmielewski
http://wpkg.org



2009-05-19 17:45:11

by John W. Linville

[permalink] [raw]
Subject: Re: ipw2100: Oops, Data bus error

On Tue, May 19, 2009 at 06:40:19PM +0200, Tomasz Chmielewski wrote:
> I'm not sure if it's interesting or not.
>
> On ASUS WL-500gP (MIPS platform, with OpenWRT patches), running 2.6.29.3
> kernel, I'm getting an Oops (see below) when I remove the ipw2100 module
> and modprobe it again.
> Let me know if I should decode the Oops etc., or if has perhaps something to do with the board
> not fully supported by the upstream kernel, and just leave it.

Please decode the oops... :-)

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.

2009-05-19 18:18:11

by Tomasz Chmielewski

[permalink] [raw]
Subject: Re: ipw2100: Oops, Data bus error

John W. Linville schrieb:
> On Tue, May 19, 2009 at 06:40:19PM +0200, Tomasz Chmielewski wrote:
>> I'm not sure if it's interesting or not.
>>
>> On ASUS WL-500gP (MIPS platform, with OpenWRT patches), running 2.6.29.3
>> kernel, I'm getting an Oops (see below) when I remove the ipw2100 module
>> and modprobe it again.
>> Let me know if I should decode the Oops etc., or if has perhaps something to do with the board
>> not fully supported by the upstream kernel, and just leave it.
>
> Please decode the oops... :-)

Umm...


# cat oops.txt | ksymoops

ksymoops 2.4.11 on mips 2.6.29.3. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.6.29.3/ (default)
-m /boot/System.map-2.6.29.3 (default)

Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Data bus error, epc == c02b8d54, ra == c02b8d48
Cpu 0
$ 0 : 00000000 1000d800 c02c8000 00000000
$ 4 : c02c0000 00000000 00000001 000000dc
$ 8 : 00000000 00000000 00000002 80340000
$12 : 80330000 00000030 00000008 00000000
$16 : 800372e8 81d4db28 00000000 c02bc374
$20 : 81d4d000 81ccb400 c02c8000 004fe008
$24 : 028f5beb 80180eb4
$28 : 80c36000 80c37cd8 7fa2db88 c02b8d48
Hi : 00000083
Lo : e42b2000
epc : c02b8d54 0xc02b8d54
Using defaults from ksymoops -t elf32-tradlittlemips -a mips:3000
Status: 1000d803 KERNEL EXL IE
Cause : 0080001c
00000000 00000000 00000000 00000000 00000000 00000080 4a12df14
2f222ee2
c02c09e0 81ccb400 00000000 c02c0a10 c02c4000 00000000 00000000
80166874
81ccb458 c02c0a10 c02c4000 801850d8 c02c09e0 81ccb400 c02c0d5c
00000000
81ccb458 81ccb458 c02c0a10 80185304 81c34a08 8014d614 000031f1
1000d800
Call Trace:[<c02c4000>] 0xc02c4000
[<80166874>] 0x80166874
[<c02c4000>] 0xc02c4000
[<801850d8>] 0x801850d8
[<80185304>] 0x80185304
[<8014d614>] 0x8014d614
[<8018549c>] 0x8018549c
[<8018213c>] 0x8018213c
[<8014d398>] 0x8014d398
[<8018542c>] 0x8018542c
[<80184540>] 0x80184540
[<c02c4000>] 0xc02c4000
[<8014dba4>] 0x8014dba4
[<80184bd0>] 0x80184bd0
[<80184ba8>] 0x80184ba8
[<c02c4000>] 0xc02c4000
[<80185730>] 0x80185730
[<c02c4000>] 0xc02c4000
[<80166b30>] 0x80166b30
[<80081c38>] 0x80081c38
[<c02c4068>] 0xc02c4068
[<8017e7f4>] 0x8017e7f4
[<8000c664>] 0x8000c664
[<8007d528>] 0x8007d528
[<8007d4ec>] 0x8007d4ec
[<8004a1a4>] 0x8004a1a4
[<80059288>] 0x80059288
[<80059238>] 0x80059238
[<800031d0>] 0x800031d0
[<800031d0>] 0x800031d0
Code: 8e820024 10400300 3c04c02c <8c430090> 3c02d555 344255d5
146202fc 3c028003 26a20058


>>$12; 80330000 <invalid_pte_table+0/1000>
>>$16; 800372e8 <init_timer+0/14>
>>$25; 80180eb4 <mem_serial_out+0/20>

>>PC; c02b8d54 <END_OF_CODE+3ff74bc4/????> <=====

Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
Trace; 80166874 <pci_device_probe+68/a4>
Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
Trace; 801850d8 <driver_sysfs_add+50/84>
Trace; 80185304 <driver_probe_device+16c/294>
Trace; 8014d614 <kobject_get+20/34>
Trace; 8018549c <__driver_attach+70/a8>
Trace; 8018213c <next_device+10/2c>
Trace; 8014d398 <kobject_init+58/9c>
Trace; 8018542c <__driver_attach+0/a8>
Trace; 80184540 <bus_for_each_dev+5c/a8>
Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
Trace; 8014dba4 <kobject_init_and_add+40/58>
Trace; 80184bd0 <bus_add_driver+cc/260>
Trace; 80184ba8 <bus_add_driver+a4/260>
Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
Trace; 80185730 <driver_register+b4/15c>
Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
Trace; 80166b30 <__pci_register_driver+4c/a0>
Trace; 80081c38 <remove_vm_area+30/7c>
Trace; c02c4068 <END_OF_CODE+3ff7fed8/????>
Trace; 8017e7f4 <serial8250_console_putchar+0/44>
Trace; 8000c664 <do_one_initcall+64/1dc>
Trace; 8007d528 <mmap_region+350/5d8>
Trace; 8007d4ec <mmap_region+314/5d8>
Trace; 8004a1a4 <blocking_notifier_call_chain+14/20>
Trace; 80059288 <sys_init_module+a8/1c0>
Trace; 80059238 <sys_init_module+58/1c0>
Trace; 800031d0 <stack_done+20/3c>
Trace; 800031d0 <stack_done+20/3c>

Code; c02b8d48 <END_OF_CODE+3ff74bb8/????>
00000000 <_PC>:
Code; c02b8d48 <END_OF_CODE+3ff74bb8/????>
0: 8e820024 lw v0,36(s4)
Code; c02b8d4c <END_OF_CODE+3ff74bbc/????>
4: 10400300 beqz v0,c08 <_PC+0xc08>
Code; c02b8d50 <END_OF_CODE+3ff74bc0/????>
8: 3c04c02c lui a0,0xc02c
Code; c02b8d54 <END_OF_CODE+3ff74bc4/????> <=====
c: 8c430090 lw v1,144(v0) <=====
Code; c02b8d58 <END_OF_CODE+3ff74bc8/????>
10: 3c02d555 lui v0,0xd555
Code; c02b8d5c <END_OF_CODE+3ff74bcc/????>
14: 344255d5 ori v0,v0,0x55d5
Code; c02b8d60 <END_OF_CODE+3ff74bd0/????>
18: 146202fc bne v1,v0,c0c <_PC+0xc0c>
Code; c02b8d64 <END_OF_CODE+3ff74bd4/????>
1c: 3c028003 lui v0,0x8003
Code; c02b8d68 <END_OF_CODE+3ff74bd8/????>
20: 26a20058 addiu v0,s5,88


1 warning and 1 error issued. Results may not be reliable.


--
Tomasz Chmielewski
http://wpkg.org


2009-06-01 21:04:40

by Reinette Chatre

[permalink] [raw]
Subject: Re: ipw2100: Oops, Data bus error

Hi Tomasz,

On Tue, 2009-05-19 at 11:18 -0700, Tomasz Chmielewski wrote:
> John W. Linville schrieb:
> > On Tue, May 19, 2009 at 06:40:19PM +0200, Tomasz Chmielewski wrote:
> >> I'm not sure if it's interesting or not.
> >>
> >> On ASUS WL-500gP (MIPS platform, with OpenWRT patches), running 2.6.29.3
> >> kernel, I'm getting an Oops (see below) when I remove the ipw2100 module
> >> and modprobe it again.
> >> Let me know if I should decode the Oops etc., or if has perhaps something to do with the board
> >> not fully supported by the upstream kernel, and just leave it.
> >
> > Please decode the oops... :-)
>
> Umm...
>
>
> # cat oops.txt | ksymoops
>
> ksymoops 2.4.11 on mips 2.6.29.3. Options used
> -V (default)
> -k /proc/ksyms (default)
> -l /proc/modules (default)
> -o /lib/modules/2.6.29.3/ (default)
> -m /boot/System.map-2.6.29.3 (default)
>
> Warning: You did not tell me where to find symbol information. I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc. ksymoops -h explains the options.
>
> Error (regular_file): read_ksyms stat /proc/ksyms failed
> ksymoops: No such file or directory
> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> Data bus error, epc == c02b8d54, ra == c02b8d48
> Cpu 0
> $ 0 : 00000000 1000d800 c02c8000 00000000
> $ 4 : c02c0000 00000000 00000001 000000dc
> $ 8 : 00000000 00000000 00000002 80340000
> $12 : 80330000 00000030 00000008 00000000
> $16 : 800372e8 81d4db28 00000000 c02bc374
> $20 : 81d4d000 81ccb400 c02c8000 004fe008
> $24 : 028f5beb 80180eb4
> $28 : 80c36000 80c37cd8 7fa2db88 c02b8d48
> Hi : 00000083
> Lo : e42b2000
> epc : c02b8d54 0xc02b8d54
> Using defaults from ksymoops -t elf32-tradlittlemips -a mips:3000
> Status: 1000d803 KERNEL EXL IE
> Cause : 0080001c
> 00000000 00000000 00000000 00000000 00000000 00000080 4a12df14
> 2f222ee2
> c02c09e0 81ccb400 00000000 c02c0a10 c02c4000 00000000 00000000
> 80166874
> 81ccb458 c02c0a10 c02c4000 801850d8 c02c09e0 81ccb400 c02c0d5c
> 00000000
> 81ccb458 81ccb458 c02c0a10 80185304 81c34a08 8014d614 000031f1
> 1000d800
> Call Trace:[<c02c4000>] 0xc02c4000
> [<80166874>] 0x80166874
> [<c02c4000>] 0xc02c4000
> [<801850d8>] 0x801850d8
> [<80185304>] 0x80185304
> [<8014d614>] 0x8014d614
> [<8018549c>] 0x8018549c
> [<8018213c>] 0x8018213c
> [<8014d398>] 0x8014d398
> [<8018542c>] 0x8018542c
> [<80184540>] 0x80184540
> [<c02c4000>] 0xc02c4000
> [<8014dba4>] 0x8014dba4
> [<80184bd0>] 0x80184bd0
> [<80184ba8>] 0x80184ba8
> [<c02c4000>] 0xc02c4000
> [<80185730>] 0x80185730
> [<c02c4000>] 0xc02c4000
> [<80166b30>] 0x80166b30
> [<80081c38>] 0x80081c38
> [<c02c4068>] 0xc02c4068
> [<8017e7f4>] 0x8017e7f4
> [<8000c664>] 0x8000c664
> [<8007d528>] 0x8007d528
> [<8007d4ec>] 0x8007d4ec
> [<8004a1a4>] 0x8004a1a4
> [<80059288>] 0x80059288
> [<80059238>] 0x80059238
> [<800031d0>] 0x800031d0
> [<800031d0>] 0x800031d0
> Code: 8e820024 10400300 3c04c02c <8c430090> 3c02d555 344255d5
> 146202fc 3c028003 26a20058
>
>
> >>$12; 80330000 <invalid_pte_table+0/1000>
> >>$16; 800372e8 <init_timer+0/14>
> >>$25; 80180eb4 <mem_serial_out+0/20>
>
> >>PC; c02b8d54 <END_OF_CODE+3ff74bc4/????> <=====
>
> Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
> Trace; 80166874 <pci_device_probe+68/a4>
> Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
> Trace; 801850d8 <driver_sysfs_add+50/84>
> Trace; 80185304 <driver_probe_device+16c/294>
> Trace; 8014d614 <kobject_get+20/34>
> Trace; 8018549c <__driver_attach+70/a8>
> Trace; 8018213c <next_device+10/2c>
> Trace; 8014d398 <kobject_init+58/9c>
> Trace; 8018542c <__driver_attach+0/a8>
> Trace; 80184540 <bus_for_each_dev+5c/a8>
> Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
> Trace; 8014dba4 <kobject_init_and_add+40/58>
> Trace; 80184bd0 <bus_add_driver+cc/260>
> Trace; 80184ba8 <bus_add_driver+a4/260>
> Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
> Trace; 80185730 <driver_register+b4/15c>
> Trace; c02c4000 <END_OF_CODE+3ff7fe70/????>
> Trace; 80166b30 <__pci_register_driver+4c/a0>
> Trace; 80081c38 <remove_vm_area+30/7c>
> Trace; c02c4068 <END_OF_CODE+3ff7fed8/????>
> Trace; 8017e7f4 <serial8250_console_putchar+0/44>
> Trace; 8000c664 <do_one_initcall+64/1dc>
> Trace; 8007d528 <mmap_region+350/5d8>
> Trace; 8007d4ec <mmap_region+314/5d8>
> Trace; 8004a1a4 <blocking_notifier_call_chain+14/20>
> Trace; 80059288 <sys_init_module+a8/1c0>
> Trace; 80059238 <sys_init_module+58/1c0>
> Trace; 800031d0 <stack_done+20/3c>
> Trace; 800031d0 <stack_done+20/3c>
>
> Code; c02b8d48 <END_OF_CODE+3ff74bb8/????>
> 00000000 <_PC>:
> Code; c02b8d48 <END_OF_CODE+3ff74bb8/????>
> 0: 8e820024 lw v0,36(s4)
> Code; c02b8d4c <END_OF_CODE+3ff74bbc/????>
> 4: 10400300 beqz v0,c08 <_PC+0xc08>
> Code; c02b8d50 <END_OF_CODE+3ff74bc0/????>
> 8: 3c04c02c lui a0,0xc02c
> Code; c02b8d54 <END_OF_CODE+3ff74bc4/????> <=====
> c: 8c430090 lw v1,144(v0) <=====
> Code; c02b8d58 <END_OF_CODE+3ff74bc8/????>
> 10: 3c02d555 lui v0,0xd555
> Code; c02b8d5c <END_OF_CODE+3ff74bcc/????>
> 14: 344255d5 ori v0,v0,0x55d5
> Code; c02b8d60 <END_OF_CODE+3ff74bd0/????>
> 18: 146202fc bne v1,v0,c0c <_PC+0xc0c>
> Code; c02b8d64 <END_OF_CODE+3ff74bd4/????>
> 1c: 3c028003 lui v0,0x8003
> Code; c02b8d68 <END_OF_CODE+3ff74bd8/????>
> 20: 26a20058 addiu v0,s5,88
>
>
> 1 warning and 1 error issued. Results may not be reliable.
>
>

I do not know what do do with this trace. It has no ipw2100 functions in
it and I cannot find in the kernel the one hint I do see
("invalid_pte_table"). Could you please ask somebody who is familiar
with mips?

Reinette