Hi!

I am testing a wireless adapter based on zd1211 on an embedded arm-based
platform. I have compiled the driver for arm9 with the toolchain from
emdebian.

I load the driver and configure essid and wep key without problems. But when
I start a ping (from or against) the kernel oppses after some time. I have
discovered that this behavior only reproduces when wep secutity is enabled.

Either /proc/ksyms or /proc/modules are empty.

This is the kernel oops:

Unable to handle kernel paging request at virtual address 0010010d
pgd = c0004000
[0010010d] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: zd1211_driver
CPU: 0
PC is at zd1205_start_ru+0x5c/0xf8 [zd1211_driver]
LR is at 0xc3f38ee8
pc : [<bf003010>]    lr : [<c3f38ee8>]    Not tainted
sp : c0207bd8  ip : 00100100  fp : c0207bec
r10: 00000002  r9 : 00000002  r8 : 000000d0
r7 : c3f9dfe0  r6 : c3f38000  r5 : 000012bd  r4 : c3f38000
r3 : 00100100  r2 : c340402b  r1 : 00000068  r0 : c3f38000
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: C000717F  Table: 22CEC000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0206198)
Stack: (0xc0207bd8 to 0xc0208000)
7bc0:                                                       c34040ff
c3f38000
7be0: c0207c10 c0207bf0 bf02690c bf002fc4 00000002 c3f36010 00000000
c3f38000
7c00: c3f9dfe0 c0207c5c c0207c14 bf027acc bf0268fc c0207c3c 00000068
c340402b
7c20: 000000c8 00000003 c3f9dfe0 c3f38ee8 c010c620 c3f38000 c3cd85c0
c3c2d4c8
7c40: c0207d68 c5100000 00000000 00000002 c0207c74 c0207c60 bf027c04
bf0277dc
7c60: c0207d68 c3cd85c0 c0207c8c c0207c78 c014977c bf027b60 c3c2d400
c3cd85c0
7c80: c0207cac c0207c90 c01547e8 c0149760 c3f9d400 ffc060c0 c3cd85c0
c3c2d4c8
7ca0: c0207ce0 c0207cb0 c0155df8 c015473c c0207d68 c3c2d400 c3c2d400
00000000
7cc0: 00000000 00000017 c0207d68 c0207de4 c024da20 c0207cf4 c0207ce4
c014a500
7ce0: c0155bd4 c3cc2200 c0207d18 c0207cf8 c0020970 c014a4d0 c024decc
00000017
7d00: c0207d68 c3c2d800 c0207d68 c0207d34 c0207d1c c0020bb0 c0020934
ffffffff
7d20: fefff000 00000017 c0207d64 c0207d38 c0020c54 c0020b58 c0020c14
c3d9dbe0
7d40: ffffffff fefff000 00000017 c3c2d800 c3c5e3e0 c0207de8 c0207dc4
c0207d68
7d60: c001f964 c0020c14 c0317b60 c0307600 00000078 c0307600 00000000
c3d9dbe0
7d80: c3e25410 c3c2d800 c3c5e3e0 c0207de4 c0207de8 c0207dc4 00000001
c0207db0
7da0: c0164cfc c0164de4 80000013 ffffffff 00000000 00000001 c0207e60
c0207dc8
7dc0: c01a3878 c0164d4c c3c2d800 c0207dd8 c0137cb8 c016a71c c3e25418
c3d9dbe0
7de0: c0207dec de00000a 0100000a 00000000 00000018 c0207e80 41129200
c024da20
7e00: c0207e30 c0207e10 c0020970 c0137bb4 c024df00 00000018 c0207e80
0000c3bc
7e20: c024df00 c0207e4c c0207e34 c0020bfc c0029300 ffffffff c3d9dbe0
c3c2d800
7e40: 00000608 c3c2d800 0000c3bd c0260ef8 00000040 c0207e78 c0207e64
c01a39c4
7e60: c01a3284 c3d9dbe0 c026118c c0207e98 c0207e7c c016abcc c01a38c8
c3c2d800
7e80: c0260f14 00000008 c0207ec8 c0207ec4 c0207e9c c016acd0 c016aa28
c0260fd0
7ea0: c0260f14 c0260ef8 0000c3bc c020c47c 41129200 c024da20 c0207eec
c0207ec8
7ec0: c016ae40 c016ac34 000000ec 00000005 c02555e0 c0206000 0000000a
c02555a0
7ee0: c0207f10 c0207ef0 c00391dc c016adc0 ffffffff fefff000 00000018
c0267b1c
7f00: c0207f54 c0207f20 c0207f14 c0039368 c0039190 c0207f50 c0207f24
c0020d30
7f20: c0039334 c0207f60 c0207f34 ffffffff fefff000 00000018 c0267b1c
2001c81c
7f40: 2001c7ec c0207fa8 c0207f54 c001f964 c0020c14 c001cc60 c0338000
00000000
7f60: 60000013 c002157c c0206000 c0257d6c c0267b1c 2001c81c 41129200
2001c7ec
7f80: c0207fa8 c0207fac c0207f9c c00215bc c00215c8 60000013 ffffffff
c0207fc0
7fa0: c0207fac c0021618 c002158c c0007175 c024d5dc c0207fd0 c0207fc4
c001f024
7fc0: c00215e0 c0207ff4 c0207fd4 c00087f0 c001f010 c00082e4 c024fba8
c0007175
7fe0: c024fb1c c0209c84 00000000 c0207ff8 20008094 c0008688 00000000
00000000
Backtrace:
[<bf002fb4>] (zd1205_start_ru+0x0/0xf8 [zd1211_driver]) from [<bf02690c>]
(zd1211_submit_rx_urb+0x20/0x10c [zd1211_driver])
 r4 = C3F38000
[<bf0268ec>] (zd1211_submit_rx_urb+0x0/0x10c [zd1211_driver]) from
[<bf027acc>] (zd1211_rx_isr+0x300/0x384 [zd1211_driver])
 r7 = C3F9DFE0  r6 = C3F38000  r5 = 00000000  r4 = C3F36010
[<bf0277cc>] (zd1211_rx_isr+0x0/0x384 [zd1211_driver]) from [<bf027c04>]
(zd1211_rx_comp_cb+0xb4/0xc8 [zd1211_driver])
[<bf027b50>] (zd1211_rx_comp_cb+0x0/0xc8 [zd1211_driver]) from [<c014977c>]
(usb_hcd_giveback_urb+0x2c/0x74)
 r5 = C3CD85C0  r4 = C0207D68
[<c0149750>] (usb_hcd_giveback_urb+0x0/0x74) from [<c01547e8>]
(finish_urb+0xbc/0xe8)
 r5 = C3CD85C0  r4 = C3C2D400
[<c015472c>] (finish_urb+0x0/0xe8) from [<c0155df8>] (ohci_irq+0x234/0x350)
 r7 = C3C2D4C8  r6 = C3CD85C0  r5 = FFC060C0  r4 = C3F9D400
[<c0155bc4>] (ohci_irq+0x0/0x350) from [<c014a500>] (usb_hcd_irq+0x40/0x84)
[<c014a4c0>] (usb_hcd_irq+0x0/0x84) from [<c0020970>] (__do_irq+0x4c/0x88)
 r4 = C3CC2200
[<c0020924>] (__do_irq+0x0/0x88) from [<c0020bb0>] (do_level_IRQ+0x68/0xbc)
 r8 = C0207D68  r7 = C3C2D800  r6 = C0207D68  r5 = 00000017
 r4 = C024DECC
[<c0020b48>] (do_level_IRQ+0x0/0xbc) from [<c0020c54>]
(asm_do_IRQ+0x50/0x14c)
 r6 = 00000017  r5 = FEFFF000  r4 = FFFFFFFF
[<c0020c04>] (asm_do_IRQ+0x0/0x14c) from [<c001f964>] (__irq_svc+0x24/0x60)
[<c0164d3c>] (__kfree_skb+0x0/0xc4) from [<c01a3878>]
(arp_process+0x604/0x630)
 r5 = 00000001  r4 = 00000000
[<c01a3274>] (arp_process+0x0/0x630) from [<c01a39c4>] (arp_rcv+0x10c/0x154)
[<c01a38b8>] (arp_rcv+0x0/0x154) from [<c016abcc>]
(netif_receive_skb+0x1b4/0x20c)
 r5 = C026118C  r4 = C3D9DBE0
[<c016aa18>] (netif_receive_skb+0x0/0x20c) from [<c016acd0>]
(process_backlog+0xac/0x18c)
 r7 = C0207EC8  r6 = 00000008  r5 = C0260F14  r4 = C3C2D800
[<c016ac24>] (process_backlog+0x0/0x18c) from [<c016ae40>]
(net_rx_action+0x90/0x170)
[<c016adb0>] (net_rx_action+0x0/0x170) from [<c00391dc>]
(__do_softirq+0x5c/0xd0)
 r8 = C02555A0  r7 = 0000000A  r6 = C0206000  r5 = C02555E0
 r4 = 00000005
[<c0039180>] (__do_softirq+0x0/0xd0) from [<c0039368>] (irq_exit+0x44/0x4c)
 r8 = C0207F54  r7 = C0267B1C  r6 = 00000018  r5 = FEFFF000
 r4 = FFFFFFFF
[<c0039324>] (irq_exit+0x0/0x4c) from [<c0020d30>] (asm_do_IRQ+0x12c/0x14c)
[<c0020c04>] (asm_do_IRQ+0x0/0x14c) from [<c001f964>] (__irq_svc+0x24/0x60)
[<c002157c>] (default_idle+0x0/0x54) from [<c0021618>] (cpu_idle+0x48/0x64)
[<c00215d0>] (cpu_idle+0x0/0x64) from [<c001f024>] (__init_end+0x24/0x2c)
 r5 = C024D5DC  r4 = C0007175
[<c001f000>] (__init_end+0x0/0x2c) from [<c00087f0>]
(start_kernel+0x178/0x1c0)
[<c0008678>] (start_kernel+0x0/0x1c0) from [<20008094>] (0x20008094)
Code: e153000e 0a000017 e253c000 0a000019 (e5dc200d)
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

The board has 64MB RAM and no swap support into the kernel. 

Thanks for your help in advance.
--
View this message in context: 
http://www.nabble.com/Kernel-Panic-with-zd1211-compiled-for-arm9-t1550664.html#a4212205
Sent from the zd1211-devs forum at Nabble.com.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to