2009-06-20 00:53:30     wpa_supplicant corrupt with rt2x00 driver

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-20 00:53:30     wpa_supplicant corrupt with rt2x00 driver

david wang (CHINA)

Message: 76066   

 

Hi, all

 

   I want to use a ralink dongle in my bf527 board, and download the 2009R1 kernel and build the rt2x00 module. It works fine when it is in a open wifi network, but if I try to use WPA with wpa_supplicant, it corrupt after connnected. I think it's a hard job, does anybody else get the ralink work under wpa_supplicant?  Thanks!

 

Below is the dump,

 

//////////////////////////////////////////////////////////////////////////////////

 

  irmware_name = rt73.bin

phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.

rt73usb 1-1:1.0: firmware: requesting rt73.bin

phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.

-->ieee80211_ioctl_siwauth: in [7]

-->ieee80211_ioctl_siwauth: in [4]

-->ieee80211_ioctl_siwauth: [4] not supported

-->ieee80211_ioctl_siwauth: in [5]

CTRL-EVENT-SCAN-RESULTS

CTRL-EV-NT>SCiN-eESeLTe 80211_ioctl_siwauth: in [6]

 

uth: in [5]ssicieteewieh 80:0d:2e:17:12:_9 iSSoD=cimtgil' _res=2i37wMHa)

-->ieee80211_ioctl_siwauth: in [0]

-->ieee80211_ioctl_siwauth: in [1]

-->ieee80211_ioctl_siwauth: in [2]

-->ieee80211_ioctl_siwauth: in [3]

-->ieee80211_ioctl_siwauth: in [10]

-->ieee80211_ioctl_siwauth: in [8]

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

Authentication with 00:1d:7e:27:72:89 timed out.

CTRL-E-EN>-SiANeREeULeS 80211_ioctl_siwauth: in [6]

 

Tr-in- t> aisoeiaee eit8 00:12:71:21:7_:8i (oSIc='tmalin_ fseqi24w7 aHzu

th: in [5]

-->ieee80211_ioctl_siwauth: in [0]

-->ieee80211_ioctl_siwauth: in [1]

-->ieee80211_ioctl_siwauth: in [2]

-->ieee80211_ioctl_siwauth: in [3]

-->ieee80211_ioctl_siwauth: in [10]

-->ieee80211_ioctl_siwauth: in [8]

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.

Associated with 00:1d:7e:27:72:89

Data access misaligned address violation

- Attempted misaligned data memory or data cache access.

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=wpa_supplicant PID=287

CPU = 0

TEXT = 0x01b40000-0x01b7e478        DATA = 0x01b00478-0x01b03a88

BSS = 0x01b03a88-0x01a80000  USER-STACK = 0x01a9fe70

 

return address: [0x0022345a]; contents of:

0x00223430:  6000  ce82  ce01  b270  0000  ce82  c802  b2b0

0x00223440:  0000  300d  3016  63f8  be35  e3fb  ac73  506e

0x00223450:  3211  43c0  300f  307e  6487 [9310] acaa  3014

0x00223460:  3045  6426  0062  3007  300d  3016  e3fb  a9a8

 

ADSP-BF527-0.1 600(MHz CCLK) 120(MHz SCLK) (mpu off)

Linux version 2.6.28.10-ADI-2009R1-svn6689

Built with gcc version 4.1.2 (ADI svn)

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062024  IPEND: 8030  SYSCFG: 0006

  EXCAUSE   : 0x24

  interrupts disabled

  physical IVG5 asserted : <0xffa00998> /* kernel dynamic memory */

  physical IVG15 asserted : <0xffa00be8> /* kernel dynamic memory */

  logical irq   6 mapped  : <0x00105f18> /* kernel dynamic memory */

  logical irq  29 mapped  : <0x001a87a4> /* kernel dynamic memory */

  logical irq  30 mapped  : <0x001a8b54> /* kernel dynamic memory */

  logical irq  35 mapped  : <0x001b0a6c> /* kernel dynamic memory */

  logical irq  59 mapped  : <0x001d2fac> /* kernel dynamic memory */

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x01a53a44> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x0022344e> /* kernel dynamic memory */

PC  : <0x0022345a> /* kernel dynamic memory */

DCPLB_FAULT_ADDR: <0xef000014> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x001030a2> /* kernel dynamic memory */

 

PROCESSOR STATE:

R0 : c847f157    R1 : 01a53a9c    R2 : 00000003    R3 : 37b80ea8

R4 : 00000010    R5 : 01b04848    R6 : 00000073    R7 : 01a53a54

P0 : 01b048bb    P1 : 00000003    P2 : 01b048bb    P3 : 01a53b90

P4 : 01af8400    P5 : 01d7c9a0    FP : 01dd2dc0    SP : 01a53968

LB0: 001960fa    LT0: 001960fa    LC0: 00000000

LB1: 00198d6a    LT1: 00198d5a    LC1: 00000000

B0 : 60010d31    L0 : 00000000    M0 : aa04ceaf    I0 : 01b04848

B1 : 24de161f    L1 : 00000000    M1 : 93d467cf    I1 : 01a53b90

B2 : 5dac24c4    L2 : 00000000    M2 : e4c6b80d    I2 : 5a8eab44

B3 : af4ecb1b    L3 : 00000000    M3 : e1a22dc7    I3 : 4c6e6a3d

A0.w: 00000004   A0.x: 00000000   A1.w: 00000004   A1.x: 00000000

USP : 01a9f17c  ASTAT: 02002000

 

Hardware Trace:

   0 Target : <0x00103f94> /* kernel dynamic memory */

     Source : <0xffa003f2> /* kernel dynamic memory */ CALL pcrel

   1 Target : <0xffa00354> /* kernel dynamic memory */

     Source : <0xffa00234> /* kernel dynamic memory */ 0x0126

   2 Target : <0xffa0021c> /* kernel dynamic memory */

     Source : <0xffa002aa> /* kernel dynamic memory */ JUMP.S

   3 Target : <0xffa00264> /* kernel dynamic memory */

     Source : <0xffa004bc> /* kernel dynamic memory */ 0x5f65

   4 Target : <0xffa00464> /* kernel dynamic memory */

     Source : <0x00223458> /* kernel dynamic memory */ 0x6487

   5 Target : <0x0022344e> /* kernel dynamic memory */

     Source : <0x00198d72> /* kernel dynamic memory */ RTS

   6 Target : <0x00198d48> /* kernel dynamic memory */

     Source : <0x00198dcc> /* kernel dynamic memory */ JUMP.S

   7 Target : <0x00198d89> /* kernel dynamic memory */

     Source : <0x00198dc2> /* kernel dynamic memory */ IF CC JUMP

   8 Target : <0x00198d74> /* kernel dynamic memory */

     Source : <0x00198d46> /* kernel dynamic memory */ IF CC JUMP

   9 Target : <0x00198d44> /* kernel dynamic memory */

     Source : <0x00198d3e> /* kernel dynamic memory */ IF CC JUMP

  10 Target : <0x00198d30> /* kernel dynamic memory */

     Source : <0x0022344a> /* kernel dynamic memory */ CALL pcrel

  11 Target : <0x00223420> /* kernel dynamic memory */

     Source : <0x0022b0a4> /* kernel dynamic memory */ CALL pcrel

  12 Target : <0x0022b096> /* kernel dynamic memory */

     Source : <0x0022abaa> /* kernel dynamic memory */ RTS

  13 Target : <0x0022ab72> /* kernel dynamic memory */

     Source : <0x0022ab62> /* kernel dynamic memory */ RTS

  14 Target : <0x0022ab44> /* kernel dynamic memory */

     Source : <0x0022ab6e> /* kernel dynamic memory */ CALL pcrel

  15 Target : <0x0022ab64> /* kernel dynamic memory */

     Source : <0x0022b092> /* kernel dynamic memory */ CALL pcrel

 

Kernel Stack

Stack info:

SP: [0x01a53f24] <0x01a53f24> /* kernel dynamic memory */

Memory from 0x01a53f20 to 01a54000

01a53f20: 00000014 [0186dd88] 00008000  00002000  00000000  01a54000  0186dd88  0186dd88

01a53f40:<01b6c616><ffa00c4c> 02003004  01b4ad5f  0185ef29  01b4ad4c  0185ef26  00000000

01a53f60: 00000000  00004433  00000000  00d80000  00000000  af4ecb1b  5dac24c4  24de161f

01a53f80: 60010d31  00000000  00000000  00000000  00000000  e1a22dc7  e4c6b80d  93d467cf

01a53fa0: aa04ceaf  4c6e6a3d  5a8eab44  dd85311e  5afa0928  01a9f17c  01a9f188  00610498

01a53fc0: 00610878 <00609bd8> 00000006  0186dd74  00000146  00000000  01b01b70  00000014

01a53fe0: 01a9f1b0  00000000  00000063  0065eb58  00000006  00000006  00000146  00000006

01a54000: 000a0012

Return addresses in stack:

    address : <0x01b6c616> [ /usr/bin/wpa_supplicant + 0x2c616 ]

    address : <0xffa00c4c> /* kernel dynamic memory */

    address : <0x00609bd8> [ wpa_supplicant + 0x1bd8 ]

Modules linked in: rt73usb rt2x00usb rt2x00lib

Kernel panic - not syncing: Kernel exception

QuoteReplyEditDelete

 

 

2009-06-20 06:07:10     Re: wpa_supplicant corrupt with rt2x00 driver

Mike Frysinger (UNITED STATES)

Message: 76076   

 

your trace is useless as is.  because you disabled kallsysms, you need to manually lookup all the symbols presented in your local build.

 

otherwise, you can read the documentation here:

  docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications#unaligned_data_access

QuoteReplyEditDelete

 

 

2009-06-22 00:17:44     Re: wpa_supplicant corrupt with rt2x00 driver

david wang (CHINA)

Message: 76099   

 

Hi, Mike,

 

  Thanks! Another question, Is it possible to merge the rt73 driver back to 2008R1.5 release? Because all of our works are done under 2008R1.5, it's stable now, we don't want to move them to 2009R1 at this time, for it is not release yet.

QuoteReplyEditDelete

 

 

2009-06-22 00:23:02     Re: wpa_supplicant corrupt with rt2x00 driver

Robin Getz (UNITED STATES)

Message: 76101   

 

David:

 

The source is avalible - you can do whatever you want.

 

We have no plans to do so.

 

-robin

QuoteReplyEditDelete

 

 

2009-06-22 01:30:49     Re: wpa_supplicant corrupt with rt2x00 driver

david wang (CHINA)

Message: 76102   

 

Hi, Robin

 

  I've tried this but failed with lots of macro definition error. I compared the two include directories of include/net/ieee80211, there're many differences.  I doubt it is possible to merge the driver back.

Attachments

    Outcomes