Hi,

I use the following:
Vanilla Kernel 2.6.17
        + patch-2.6.18-rc2
        + some changes for PXA270 (nothing with softmac)

I patch it with patch-2.6.18-rc2-rc3 and have the same problem (ICV
mismatch).

Then I test Kernel 2.6.17 + patch-2.6.18-rc2 on a Laptop.
But the result is the same.

Test with restricted key (this time with the right configuration from
the access point) fails also (PXA270 and Laptop).
On both systems I become kernel oops (PXA oops see below).

I use access points from RoamAbout and Cisco.

Thanks in-advance
Peter

Ulrich Kunitz wrote:
> On 06-07-28 10:28 Peter Lueg wrote:
> 
>> Hi,
>> 
>> I use a ZD1211 with AL7230B RF chip and the latest zd1211rw driver
>> version from Daniel.
>> Firmware version: zd1211_fw_2006-07-21
>> CPU: PXA270
>> 
>> Without encryption everything works fine.
>> 
>> When I use WEP encryption than comes the following problems:
>> 
>> 1) iwconfig eth0 key open <mykey>
>> The authentication and association process is successfully .
>> The zd12211 can sent arp requests (see it with kismet and tcpdump) and
>> received the arp replay.
>> Everything looks fine until the ICV will be checked.
>> Here the error messages:
>>  ieee80211: I ieee80211_rx_frame_decrypt decryption failed
>> (SA=00:40:96:a1:a2:46) res=-2
>>  ieee80211: I ieee80211_rx_frame_decrypt Decryption failed ICV mismatch
>> (key 0)
>> 
>> 
>> 2) iwconfig eth0 key restricted <mykey>
>> The authentication and association process failed.
>> In this case I become the following error:
>>  SoftMAC: Sent Authentication Request to <MYMAC>
>>  SoftMAC: Shared Key Authentication failed due to a missing challenge.
>> 
>> Any ideas?
> 
> We had some problems recently with WEP, but Daniel fixed them recently. I
> have pulled his patches, so Daniel and me have now the same master
> head tree.
> 
> Your problem looks like a softmac issue, so I would like to know,
> which Linux kernel you are using. I'm using here John Linville's
> wireless tree, a modified 2.6.18-rc1. WEP is working here.
> 
> Regards,
> 
> Uli
> 

PXA oops:
Unable to handle kernel paging request at virtual address 79763601
pgd = c0004000
[79763601] *pgd=00000000
Internal error: Oops: f3 [#1]
Modules linked in: arc4 ieee80211_crypt_wep zd1211rw firmware_class
ieee80211softmac ieee80211 ieee80211_crypt ohci_hcd colibri_bl backlight
rtc_dev rtc_pcf8583 rtc_core i2c_dev i2c_pxa i2c_core uinput evdev
snd_pxa2xx_ac97 snd_pxa2xx_pcm snd_ac97_codec snd_pcm snd_timer snd
soundcore snd_page_alloc ucb1x00_ts ucb1400_core snd_ac97_bus usbcore
CPU: 0
PC is at __dma_alloc+0x1e0/0x448
LR is at 0xa0000093
pc : [<c0024118>]    lr : [<a0000093>]    Not tainted
sp : c0205a40  ip : ffc61000  fp : c0205a84
r10: 00001000  r9 : ffdff000  r8 : c020abec
r7 : c02ecec0  r6 : 00000000  r5 : 5ac4bcb5  r4 : c02ecec0
r3 : 6b2f8c63  r2 : 79763601  r1 : 79763601  r0 : c37e6420
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: 397F  Table: A3B7C000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0204258)
Stack: (0xc0205a40 to 0xc0206000)
5a40: c00f4090 c0025328 00000000 00000000 c0205a6c 00000020 c37e62ac
c37e62a0
5a60: 000000b3 00000004 c3571cc0 20000093 c30aeef0 00000020 c0205a98
c0205a88
5a80: c00243a4 c0023f44 000000e3 c0205aec c0205a9c c01448cc c002438c
c0205b2c
5aa0: c02f1480 c3a242c3 00000000 00000000 000002c3 bf0c1530 c3a242bf
5d40b295
5ac0: c37e63a0 00000020 000000b3 c359a858 c3088d60 c3a24210 c359a800
000025f0
5ae0: c0205b00 c0205af0 bf00b0cc c01447a8 c30aeec0 c0205b10 c0205b04
bf000b94
5b00: bf00b050 c0205b44 c0205b14 bf0b5b90 bf000b54 fffffff4 c37c85e0
c3a24210
5b20: c3a2421b 000000ac c37c85e0 00000000 c3088d60 000000ac c0205b80
c0205b48
5b40: bf0b34cc bf0b5b2c 00000001 c37e62e0 c37e64c0 c37e62e0 c37c85e0
000000a0
5b60: c3088280 c3a2421f 00000001 c37e64c0 c37e62e0 c0205bc8 c0205b84
bf09b684
5b80: bf0b3104 00000000 a0000093 c3088314 00000018 00000006 c3620808
c3088a38
5ba0: 00000140 000000a0 c3620800 c3088a38 00000001 00000001 c0205bd8
c0205c04
5bc0: c0205bcc bf0a66b8 bf09b51c 00000001 00000000 00000001 c37e64c0
00000140
5be0: 60000093 c3620800 c30aef80 c3088a38 20000093 ffc5e025 c0205c40
c0205c08
5c00: bf0a6d50 bf0a6320 bf0a4a40 ffc5a005 c3088280 c0205dcc 00000000
ffc5e005
5c20: c3088280 c0205ddc ffc5e005 ffc5e0a9 c3088d60 c0205dc4 c0205c44
bf09eb80
5c40: bf0a6a78 c0205c60 c0205c54 c0036ef4 c00363f8 c0205c74 c0205c64
c004fcd4
5c60: c0036eec 00000002 c0205c94 c0205c78 c004fd60 c004fccc 00000000
c0000128
5c80: c0000128 00000001 c0205cc0 c024894c c0205cb4 c0205ca0 c37e6504
00000001
5ca0: c3571300 ffc56140 c37e6500 c37e6600 00000000 c3571240 ffc560c0
c37e6600
5cc0: c358f8d0 00000040 a38631a0 c3571240 00000000 c37e6600 c37e6608
f0140000
5ce0: c0205d48 c0205cf0 bf092320 bf091740 c3571240 00000000 00000000
60000093
5d00: 00000020 c359a800 00000000 40018380 c358f8d0 00000020 c358f800
c3571300
5d20: a38631a0 c3f48c48 00000020 00000020 c3571240 00000000 c358f800
c0205e10
5d40: c0205d4c bf005b88 bf091cf8 c0205d68 c0205d5c c00608ac c0078eb4
c0205d80
5d60: c0205d6c c006084c c006089c c03828a0 c0335c40 c0205d98 c0205d84
c008324c
5d80: c00607fc c0383854 c03828a0 c0205da8 00000000 00000058 0000004a
c3088d60
5da0: 00000000 000000ae 000000a0 c3088d60 ffc5e005 c3088d60 c0205e20
c0205dc8
5dc0: bf0b2ed8 bf09e724 c0205e00 c3088280 c00364b8 c0036238 80000093
00000000
5de0: 00005532 0001006e 00a0010b 00000000 00000000 00000000 00002580
000000ae
5e00: ffc5e000 c3088dc0 ffc5e0a6 c3088d60 c3088d60 c0205e48 c0205e24
bf0b565c
5e20: bf0b2c60 00002580 00000000 c35713c0 c3088dc0 ffc5e000 000000ae
c0205e74
5e40: c0205e4c bf0b5798 bf0b5614 c358f800 c35713c0 c0205f68 c0205f68
00000000
5e60: c4880000 c358f800 c0205e90 c0205e78 bf00585c bf0b56bc c358f800
c35713c0
5e80: c358f8d0 c0205eb0 c0205e94 bf091170 bf005824 c37e64c0 c35713c0
ffc56140
5ea0: c358f8d0 c0205f00 c0205eb4 bf092aa0 bf0910f4 00000001 c026b66c
00000000
5ec0: 00000002 c0205f58 c358f800 00000009 00000002 c0205f68 c358f800
00000000
5ee0: c0205f68 00000003 00000000 69054117 a00192d4 c0205f14 c0205f04
bf0068d0
5f00: bf09270c c39219e0 c0205f38 c0205f18 c005ac60 bf00689c c0206100
00000003
5f20: c0205f68 c027b8d0 a0019308 c0205f54 c0205f3c c005bcf8 c005ac20
ffffffff
5f40: c0205f9c 00000008 c0205f64 c0205f58 c001f660 c005bc7c c0205fc8
c0205f68
5f60: c001e9e4 c001f62c c0204000 00002040 00000000 00000000 c001f83c
c0204000
5f80: c0247ee8 c027b8d0 a0019308 69054117 a00192d4 c0205fc8 c3ae7ae0
c0205fb0
5fa0: c024894c c001f8f0 60000013 ffffffff c026c3a0 c0247f64 c020a824
c0205fd8
5fc0: c0205fcc c001e024 c001f8b0 c0205ff4 c0205fdc c000883c c001e00c
c00082e4
5fe0: c0247fc8 0000397d 00000000 c0205ff8 a0008030 c00086a0 00000000
00000000
Backtrace:
[<c0023f38>] (__dma_alloc+0x0/0x448) from [<c00243a4>]
(dma_alloc_coherent+0x24/0x2c)
[<c0024380>] (dma_alloc_coherent+0x0/0x2c) from [<c01448cc>]
(dma_pool_alloc+0x130/0x240)
[<c014479c>] (dma_pool_alloc+0x0/0x240) from [<bf00b0cc>]
(hcd_buffer_alloc+0x88/0x90 [usbcore])
[<bf00b044>] (hcd_buffer_alloc+0x0/0x90 [usbcore]) from [<bf000b94>]
(usb_buffer_alloc+0x4c/0x54 [usbcore])
 r4 = C30AEEC0
[<bf000b48>] (usb_buffer_alloc+0x0/0x54 [usbcore]) from [<bf0b5b90>]
(zd_usb_tx+0x70/0x110 [zd1211rw])
[<bf0b5b20>] (zd_usb_tx+0x0/0x110 [zd1211rw]) from [<bf0b34cc>]
(netdev_tx+0x3d4/0x4d0 [zd1211rw])
[<bf0b30f8>] (netdev_tx+0x0/0x4d0 [zd1211rw]) from [<bf09b684>]
(ieee80211_tx_frame+0x174/0x2a8 [ieee80211])
[<bf09b510>] (ieee80211_tx_frame+0x0/0x2a8 [ieee80211]) from
[<bf0a66b8>] (ieee80211softmac_send_mgt_frame+0x3a4/0x46c
[ieee80211softmac])
[<bf0a6314>] (ieee80211softmac_send_mgt_frame+0x0/0x46c
[ieee80211softmac]) from [<bf0a6d50>]
(ieee80211softmac_auth_resp+0x2e4/0x4c4 [ieee80211softmac])
[<bf0a6a6c>] (ieee80211softmac_auth_resp+0x0/0x4c4 [ieee80211softmac])
from [<bf09eb80>] (ieee80211_rx_mgt+0x468/0x70c [ieee80211])
[<bf09e718>] (ieee80211_rx_mgt+0x0/0x70c [ieee80211]) from [<bf0b2ed8>]
(zd_mac_rx+0x284/0x4a4 [zd1211rw])
[<bf0b2c54>] (zd_mac_rx+0x0/0x4a4 [zd1211rw]) from [<bf0b565c>]
(handle_rx_packet+0x54/0xa8 [zd1211rw])
[<bf0b5608>] (handle_rx_packet+0x0/0xa8 [zd1211rw]) from [<bf0b5798>]
(rx_urb_complete+0xe8/0x104 [zd1211rw])
[<bf0b56b0>] (rx_urb_complete+0x0/0x104 [zd1211rw]) from [<bf00585c>]
(usb_hcd_giveback_urb+0x44/0xac [usbcore])
[<bf005818>] (usb_hcd_giveback_urb+0x0/0xac [usbcore]) from [<bf091170>]
(finish_urb+0x88/0xec [ohci_hcd])
 r6 = C358F8D0  r5 = C35713C0  r4 = C358F800
[<bf0910e8>] (finish_urb+0x0/0xec [ohci_hcd]) from [<bf092aa0>]
(ohci_irq+0x3a0/0x468 [ohci_hcd])
 r7 = C358F8D0  r6 = FFC56140  r5 = C35713C0  r4 = C37E64C0
[<bf092700>] (ohci_irq+0x0/0x468 [ohci_hcd]) from [<bf0068d0>]
(usb_hcd_irq+0x40/0x98 [usbcore])
[<bf006890>] (usb_hcd_irq+0x0/0x98 [usbcore]) from [<c005ac60>]
(handle_IRQ_event+0x4c/0xa0)
 r4 = C39219E0
[<c005ac14>] (handle_IRQ_event+0x0/0xa0) from [<c005bcf8>]
(handle_level_irq+0x88/0x118)
 r8 = A0019308  r7 = C027B8D0  r6 = C0205F68  r5 = 00000003
 r4 = C0206100
[<c005bc70>] (handle_level_irq+0x0/0x118) from [<c001f660>]
(asm_do_IRQ+0x40/0x50)
 r6 = 00000008  r5 = C0205F9C  r4 = FFFFFFFF
[<c001f620>] (asm_do_IRQ+0x0/0x50) from [<c001e9e4>] (__irq_svc+0x24/0x60)
[<c001f8a4>] (cpu_idle+0x0/0x58) from [<c001e024>] (__init_end+0x24/0x2c)
 r6 = C020A824  r5 = C0247F64  r4 = C026C3A0
[<c001e000>] (__init_end+0x0/0x2c) from [<c000883c>]
(start_kernel+0x1a8/0x218)
[<c0008694>] (start_kernel+0x0/0x218) from [<a0008030>] (0xa0008030)
Code: e591500c e1a01002 e1550009 8a000077 (e5912000)
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to