Closed paralin closed 8 years ago
Hi what platform ??
ARM linux. Through buildroot.
I must look for my Iomega Iconnect, some Marvell Kirkwood platform with Debian running ...
On my platform (x86_64) it doesn't show this error. It look like some race condition in setting up hal_ops and/or usb_ops tables. I will check this.
can you bisect ??
For the powermanagement issue itself :
I'm currently switching all code to rtlwifi, not on master of course ... And this is completely broken.
So I can verify the panic on my HW -> Marvell Kirkwood aka Zyxel NSA 325 Doing bisecting ..
Hello,
so I'm currently adopting the Alfa AWUSB driver.
Hi there,
whats the status of this? With the master branch I also get a kernel panic with a 4.4.10 Kernel on a SheevaPlug
Thanks,
Jonas
OK I need a call trace
Damn webinterface ...
Sure
WPA: Installing PTK to the driver. wpa_driver_wext_Unable to handle kernel NULL pointer dereference at virtual address 00000000 set_key: alg=3 kpgd = 40004000 ey_idx=0 set_tx=[00000000] *pgd=000000001 seqlen=6 key len=16 EAPOL: EInternal error: Oops: 17 [#1] ARM Modules linked in: mwifiex_sdio mwifiex cfg80211 rfkill cifs 8021q rtl8821au(O) marvell_cesa orion_wdt mv_cesa CPU: 0 PID: 0 Comm: swapper Tainted: G O 4.4.10 #4 Hardware name: Marvell Kirkwood (Flattened Device Tree) task: 40a05858 ti: 40a00000 task.ti: 40a00000 PC is at rtw_secmicsetkey+0xc/0x64 [rtl8821au] LR is at rtw_seccalctkipmic+0x2c/0xcc [rtl8821au] pc : [<3f020fe0>] lr : [<3f0211b0>] psr: 20000013 sp : 40a01db8 ip : 00000000 fp : 61081dd0 r10: 00000000 r9 : 5e7cdac8 r8 : 00000036 r7 : 40a01dfc r6 : 5e7cdac8 r5 : 00000036 r4 : 5e7cdaa8 r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 40a01dc8 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 0005397f Table: 1eb08000 DAC: 00000051 Process swapper (pid: 0, stack limit = 0x40a00190) Stack: (0x40a01db8 to 0x40a02000) 1da0: 5e7cdaa8 3f0211b0 1dc0: 02c631cc 00000000 6108a86c 3f034e84 ffff7628 ffffffff 00000100 61081dd0 1de0: 61081dd0 5e4204c0 40a02028 3f03263c 40a01dfc 00000000 02c631cc 6108a864 1e00: 6108a86c dc8ba60a 6108a8f4 61081dd0 61081dd0 5e4204c0 5e427500 00000000 1e20: 00000000 3f033b80 5e4204c0 5e408140 61081dd0 5e4204c0 00000154 0000009a 1e40: 5e4274c0 3f034494 5e4204c0 5e408140 5e427500 3f03461c 5e83f600 3f0186c0 1e60: 5e4204c0 5e427590 3f018560 40a07680 00000000 00000000 00000006 00000100 1e80: 40a781d0 00200000 40a7b7c0 40113304 00000040 40a00000 40a7b7f8 40112b7c 1ea0: 00060000 5f4d5000 5f4d5010 00000009 00004101 00000007 5f41a000 00000000 1ec0: 40a46574 00000000 5f402400 00000001 5f41a000 40a01f28 00000001 40112f3c 1ee0: 00000000 4013a994 00000000 00080000 5f41a01c 40aada20 00000013 4010143c 1f00: 40510cd0 40510d2c 20000013 ffffffff 40a01f5c 40a65390 00000000 00000000 1f20: 40a787ac 40658090 00000000 00000000 00000000 60000013 9827c806 0000006c 1f40: 000a1a18 0000006c 40a65390 00000000 00000000 40a787ac 00000003 40a01f78 1f60: 40510cd0 40510d2c 20000013 ffffffff 00000053 40510c7c 008de840 00000000 1f80: 00000000 00000000 9831e21e 0000006c 40a00000 40a65390 40a00000 40a65824 1fa0: 40a020dc 40a020dc 40a02020 5fffcd40 00000000 40133620 ffffffff 40900c38 1fc0: ffffffff ffffffff 00000000 40900660 00000000 4093ea28 40a7b234 40a02068 1fe0: 4093ea24 40a068d8 00004000 56251311 0093d210 00008048 00000000 00000000 [<3f020fe0>](rtw_secmicsetkey [rtl8821au]) from [<3f0211b0>](rtw_seccalctkipmic+0x2c/0xcc [rtl8821au]) [<3f0211b0>](rtw_seccalctkipmic [rtl8821au]) from [<3f03263c>](recvframe_chkmic+0xc0/0x1d4 [rtl8821au]) [<3f03263c>](recvframe_chkmic [rtl8821au]) from [<3f033b80>](recvframe_chk_defrag+0x134/0x154 [rtl8821au]) [<3f033b80>](recvframe_chk_defrag [rtl8821au]) from [<3f034494>](recv_func_posthandle+0x28/0xa0 [rtl8821au]) [<3f034494>](recv_func_posthandle [rtl8821au]) from [<3f03461c>](rtw_recv_entry+0x14/0x34 [rtl8821au]) [<3f03461c>](rtw_recv_entry [rtl8821au]) from [<3f0186c0>](rtl8812au_recv_tasklet+0x160/0x1c4 [rtl8821au]) [<3f0186c0>](rtl8812au_recv_tasklet [rtl8821au]) from <40113304> <40113304> from <40112b7c> <40112b7c> from <40112f3c> <40112f3c> from <4013a994> <4013a994> from <4010143c> <4010143c> from <40658090> Exception stack(0x40a01f28 to 0x40a01f70) 1f20: 00000000 00000000 00000000 60000013 9827c806 0000006c 1f40: 000a1a18 0000006c 40a65390 00000000 00000000 40a787ac 00000003 40a01f78 1f60: 40510cd0 40510d2c 20000013 ffffffff <40658090> from <40510d2c> <40510d2c> from <40133620> <40133620> from <40900c38> Code: 40a02028 e92d4010 e3a03000 e1a02003 (e7d14002) xternal notifica---[ end trace 6894fba8fe168673 ]--- tion - portValidKernel panic - not syncing: Fatal exception in interrupt Rebooting in 60 seconds..
I hope thats all you need, thanks for taking your time
Do you use TKIP or CCMP ?
Its a 802.1x AP, eap method is PEAP. My collegue sayes both TKIP and CCMP are supported but CCMP is prefered.
By the way tested devices are TP-Link T4U and Edimax EW-7811UTC
So I've done a test (as always) now with older kernel 4.4.10 Encryption with WPA2/AES/CCMP on my Marvell Kirkwood platform.
With TP-LINK T4U, T1U and some EDUP 1T1R device, without any kernel panic. So I think there is an error when using TKIP. Maybe if I have time, I do verify this. But I doubt.
Currently I'm working on the rtlwifi branch. And this will be the real rtlwifi driver Other parts in /core /hal /os-dep are removed !
And If someone has a newer driver, please let me know. I need some code for the DLINK Death Star DWA 192 or my Comfast 3T3R device
I think there is a difference between WPA 2 and WPA 2 Enterprise (802.1x). Anyway, I used another toolchain for crosscompiling the driver and have no kernel panic anymore. Previously I used one from CodeSourcery. Currently I only get a nearly immediate connection abort. But I will take a look into that myself. From my side you can close the ticket again.
Thanks for your work,
Jonas
Toolchain related. close (again)
With the latest version of the driver, built for ARM, with POWER_SAVING not set and -DCONFIG_LITTLE_ENDIAN, I get the following massive kernel panic when attempting to ifup the network interface:
This is a critical problem for us, any idea how to fix it?
Happens with power management enabled as well.