Problems with NWA

Ben Thompson bt4 at york.ac.uk
Mon Mar 1 22:19:32 CET 2010


On Mon, Mar 01, 2010 at 01:36:01PM +0300, Paul Fertser wrote:
> No, this backtrace of yours is entirely different. Please file a
> ticket preferrably with a way to reproduce it. Or at least be ready to
> test patches. I hope i can make the oops you report go away, but i
> need some way to test the possible solutions. Do not forget to specify
> kernel version you're using.

Hi

I can reproduce this problem using NWA but I am not sure what is going
on at the D-Bus level. Maybe someone could help me (maybe Niko)?

I have latest SHR-U with NWA installed from Niko's opkg repo and I
made the oops happen like this :-

1. I create two profiles in NWA :-
   a) An WPA-Enterprise network with PEAP and RADIUS server cert
   defined and no MAC address defined
   b) An Open network with a MAC address defined

2. I then enabled these profiles (in NWA) and also enabled the profile
called "any_open".

3. Then sited the Freerunner in a location where non of the profiles
specified in (1) above are withing range, but there is a third open
network with a weak signal (Quality=4/94  Signal level=-91 dBm  Noise
level=-95 dBm).

4. Let NWA associate with the weak access point (I don't know what
this AP is; its's just a signal I picked up from my house). I see this
in dmesg :-
[  887.860000] AR6000 connected event on freq 2437 with bssid 00:22:75:dd:76:51  listenInterval=100, beaconInterval = 100, beaconIeLen = 0 assocReqLen=41 assocRespLen =59
[  887.860000] Network: Infrastructure

5. The signal is weak and I do not recieve a DHCP lease (perhaps the
UDP does not go well over weak wifi) but NWA says "Connected".

6. I now disable the "any_open" profile in NWA and see this in dmesg :-
[  931.290000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  941.610000] eth0: no IPv6 routers present

7. Now I quit NWA and although it appears to exit OK, this is when I
see the Kernel Oops :-

[  961.890000] Unable to handle kernel NULL pointer dereference at virtual address 0000002c
[  961.890000] pgd = c6ae4000
[  961.895000] [0000002c] *pgd=36a3a031, *pte=00000000, *ppte=00000000
[  961.900000] Internal error: Oops: 17 [#1] PREEMPT
[  961.900000] Modules linked in: ar6000 snd_soc_neo1973_gta02_wm8753
snd_soc_s3c24xx_i2s snd_soc_s3c24xx s3cmci btusb rfcomm ppp_generic
slhc ohci_hcd ipv6 hidp l2cap bluetooth g_ether snd_soc_wm8753
snd_soc_core snd_pcm snd_timer snd_page_alloc snd
[  961.900000] CPU: 0    Not tainted  (2.6.29-rc3 #1)
[  961.900000] PC is at wmi_cmd_send+0x98/0xc0 [ar6000]
[  961.900000] LR is at wmi_cmd_send+0x60/0xc0 [ar6000]
[  961.900000] pc : [<bf159834>]    lr : [<bf1597fc>]    psr: 80000013
[  961.900000] sp : c7b73d28  ip : c7b73d28  fp : c7b73d44
[  961.900000] r10: c7b73d7c  r9 : c6032e00  r8 : c686dcc0
[  961.900000] r7 : 00000009  r6 : 00000000  r5 : 00000000  r4 : c686dcc0
[  961.900000] r3 : 00000000  r2 : 00000000  r1 : c686dcc0  r0 : c69fa682
[  961.900000] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM Segment user
[  961.900000] Control: c000717f  Table: 36ae4000  DAC: 00000015
[  961.900000] Process wpa_supplicant (pid: 1092, stack limit = 0xc7b72268)
[  961.900000] Stack: (0xc7b73d28 to 0xc7b74000)
[  961.900000] 3d20:                   00000000 00000000 c69fa684 00000000 c7b73d6c c7b73d48 
[  961.900000] 3d40: bf15b9d8 bf1597ac 00000000 c7bdc000 c7bdc460 c7b72000 00000000 c6032e00 
[  961.900000] 3d60: c7b73db4 c7b73d70 bf1538ec bf15b960 00000064 000000cd 00000001 00000000 
[  961.900000] 3d80: c69b2a60 c005c744 c7b73d88 c7b73d88 bf1537c8 c7b73e78 c02e4138 00008b18 
[  961.900000] 3da0: c7bdc000 00000000 c7b73e1c c7b73db8 c02b7ea8 bf1537d8 c7b73e88 c7b73e2c 
[  961.900000] 3dc0: 00000000 00000000 c03bfe70 22222222 22222222 22222222 22222222 22222222 
[  961.900000] 3de0: c7b73e04 c7b73e78 bef23bd0 c7bdc000 c7b73e1c c7b73e78 bef23bd0 00000000 
[  961.900000] 3e00: 00008b18 c08c63e8 c7b72000 c08c63e8 c7b73e54 c7b73e20 c02b80ac c02b7c30 
[  961.900000] 3e20: bf1537c8 0000000a 00000000 00008b18 c7b73e74 bef23bd0 00008b18 00000000 
[  961.900000] 3e40: 00000000 c002cfe4 c7b73ecc c7b73e58 c0247390 c02b8000 c7b73ef4 00000000 
[  961.900000] 3e60: c7b73fa4 c7b73e70 c02364bc c0236244 c7b73e8c c7b73e80 30687465 00000000 
[  961.900000] 3e80: 00000000 00000000 00000000 00000000 00000000 00000000 c69b2a60 c69b2e98 
[  961.900000] 3ea0: 60000093 00008b18 bef23bd0 bef23bd0 00008b18 c002cfe4 c7b72000 40023000 
[  961.900000] 3ec0: c7b73eec c7b73ed0 c023593c c0246cdc c699e140 c0235720 bef23bd0 00008b18 
[  961.900000] 3ee0: c7b73f0c c7b73ef0 c00ae894 c0235730 bef23bd0 c699e140 c39fe748 00000005 
[  961.900000] 3f00: c7b73f7c c7b73f10 c00aef14 c00ae86c c7b73e10 c7b73e14 c7b73f18 bef23ca8 
[  961.900000] 3f20: 0003cd40 00000008 0003ce50 c7b73f70 00000000 0003cdc8 c7b73f7c c7b73f48 
[  961.900000] 3f40: c0030540 c003c158 c7b73f70 c03a4f40 c02bed70 c699e140 bef23bd0 00008b18 
[  961.900000] 3f60: 00000005 c002cfe4 c7b72000 40023000 c7b73fa4 c7b73f80 c00aefc0 c00aea0c 
[  961.900000] 3f80: 4b8c283f 00000000 0003dac0 bef23bd0 00000000 00000036 00000000 c7b73fa8 
[  961.900000] 3fa0: c002ce60 c00aef90 0003dac0 bef23bd0 00000005 00008b18 bef23bd0 0003dad5 
[  961.900000] 3fc0: 0003dac0 bef23bd0 00000000 00000036 00000000 00000000 40023000 00000000 
[  961.900000] 3fe0: 0003cc3c bef23a80 00027821 402297fc 60000010 00000005 309d0031 309d0431 
[  961.900000] Backtrace: 
[  961.900000] [<bf15979c>] (wmi_cmd_send+0x0/0xc0 [ar6000]) from [<bf15b9d8>] (wmi_bssfilter_cmd+0x88/0x8c [ar6000])
[  961.900000]  r7:00000000 r6:c69fa684 r5:00000000 r4:00000000
[  961.900000] [<bf15b950>] (wmi_bssfilter_cmd+0x0/0x8c [ar6000]) from [<bf1538ec>] (ar6000_ioctl_siwscan+0x124/0x150 [ar6000])
[  961.900000]  r9:c6032e00 r8:00000000 r7:c7b72000 r6:c7bdc460 r5:c7bdc000
[  961.900000] r4:00000000
[  961.900000] [<bf1537c8>] (ar6000_ioctl_siwscan+0x0/0x150 [ar6000]) from [<c02b7ea8>] (ioctl_standard_call+0x288/0x3d0)
[  961.900000] [<c02b7c20>] (ioctl_standard_call+0x0/0x3d0) from [<c02b80ac>] (wext_handle_ioctl+0xbc/0x21c)
[  961.900000] [<c02b7ff0>] (wext_handle_ioctl+0x0/0x21c) from [<c0247390>] (dev_ioctl+0x6c4/0x72c)
[  961.900000]  r8:c002cfe4 r7:00000000 r6:00000000 r5:00008b18 r4:bef23bd0
[  961.900000] [<c0246ccc>] (dev_ioctl+0x0/0x72c) from [<c023593c>] (sock_ioctl+0x21c/0x254)
[  961.900000] [<c0235720>] (sock_ioctl+0x0/0x254) from [<c00ae894>] (vfs_ioctl+0x38/0x98)
[  961.900000]  r7:00008b18 r6:bef23bd0 r5:c0235720 r4:c699e140
[  961.900000] [<c00ae85c>] (vfs_ioctl+0x0/0x98) from [<c00aef14>] (do_vfs_ioctl+0x518/0x584)
[  961.900000]  r7:00000005 r6:c39fe748 r5:c699e140 r4:bef23bd0
[  961.900000] [<c00ae9fc>] (do_vfs_ioctl+0x0/0x584) from [<c00aefc0>] (sys_ioctl+0x40/0x60)
[  961.900000] [<c00aef80>] (sys_ioctl+0x0/0x60) from [<c002ce60>] (ret_fast_syscall+0x0/0x2c)
[  961.900000]  r7:00000036 r6:00000000 r5:bef23bd0 r4:0003dac0
[  961.900000] Code: e1a01004 ebffff58 e3a02001 e1a01004 (e595002c) 
[  961.940000] ---[ end trace 29a5feb8a3c0ed43 ]---



-- 

Ben Thompson



More information about the community mailing list