기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

s3c6410보드에 rt3070모듈을 붙여 ap mode를 테스트하고 있는 대학생입니다.

 

현재 rt3070드라이버 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO를 사용하여

 

컴파일을 하였습니다.

 

컴파일을 한 후에 insmod를 이용하여 .ko파일을 올리고 난 후

 

ifconfig ra0 up을 입력하면 커널 패닉 메시지가 나옵니다.

 

혹시 s3c6410에서 rt3070이나 그 외의 ralink 와이파이 모듈 붙여 보신 분 있으시면 도움 부탁드립니다.

 

참고로, 커널버전은 2.6.21.5 입니다.

 

이전에 작업하신 분있으시면 정보 부탁드립니다.

 

 

아래는 로그메시지 입니다..

 

root@IJN-S42:~# insmod rt5370sta.ko
rtusb init rt2870 --->


=== pAd = c601e000, size = 508584 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
root@IJN-S42:~# ifconfig ra0 up
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RTMP_TimerListAdd: add timer obj c6065890!
RTMP_TimerListAdd: add timer obj c60658bc!
RTMP_TimerListAdd: add timer obj c60658e8!
RTMP_TimerListAdd: add timer obj c6065864!
RTMP_TimerListAdd: add timer obj c60657e0!
RTMP_TimerListAdd: add timer obj c606580c!
RTMP_TimerListAdd: add timer obj c6030424!
RTMP_TimerListAdd: add timer obj c601fd78!
RTMP_TimerListAdd: add timer obj c601fdac!
RTMP_TimerListAdd: add timer obj c60304bc!
RTMP_TimerListAdd: add timer obj c60303cc!
RTMP_TimerListAdd: add timer obj c603048c!
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(9) or Type(1)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
NVM is Efuse and its size =2d[2d0-2fc]
phy mode> Error! The chip does not support 5G band 5!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
root@IJN-S42:~# skb_over_panic: text:bf057e24 len:104 put:104 head:c35e9600 data:c35e9600 tail:c35e9610 end:c35e9718 dev:<NULL>
kernel BUG at net/core/skbuff.c:93!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#1]
Modules linked in: rt5370sta
CPU: 0
PC is at __bug+0x20/0x2c
LR is at release_console_sem+0x1e8/0x224
pc : [<c0050da0>]    lr : [<c006ae7c>]    Not tainted
sp : c3459d90  ip : c3459cc0  fp : c3459d9c
r10: c3459e24  r9 : c2f5e000  r8 : c3459e10
r7 : c35e9718  r6 : c35e9610  r5 : c35e9600  r4 : c35e9600
r3 : 00000000  r2 : 00000000  r1 : 60000013  r0 : 00000027
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C5387F
Table: 50750008  DAC: 00000015
Process RtmpMlmeTask (pid: 1327, stack limit = 0xc3458250)
Stack: (0xc3459d90 to 0xc345a000)
9d80:                                     c3459dd4 c3459da0 c025fd04 c0050d8c
9da0: c35e9600 c35e9600 c35e9610 c35e9718 c035b700 c3459e10 c4f6e0e0 00000000
9dc0: 00000068 00000054 c3459e04 c3459dd8 bf057e34 c025fcbc c3459e3c c3459e10
9de0: c601e000 00000000 00000054 c2f5e000 00000001 00000001 c3459e4c c3459e08
9e00: bf016aa8 bf057d2c c2f5e000 00000054 00000000 00000000 00000000 00000000
9e20: 00000000 c3459e64 00000004 00000004 00000004 c3459ea8 c3459ea0 c601e000
9e40: c3459ee4 c3459e50 bf01e820 bf016a14 00000001 c3459ea8 0000001a c602000e
9e60: ffffffff c60304f1 00000001 bf0b1c3a 00000001 c601ff16 00000008 c601ff0a
9e80: ffffffff c3459e90 00000040 ffffffff dd7cffff 5ebf1690 ffffffff 0000ffff
9ea0: 334c9000 0000001c 0000001a 00000054 c2f5e000 0e000400 c60200b0 c60304f1
9ec0: 0007b9e4 c601e000 c60200c4 c60200d8 c60200b0 c60200ec c3459f6c c3459ee8
9ee0: bf03d304 bf01e14c 00000000 bf034014 c3459f3e 00000000 c5a826a0 4f545241
9f00: 69575f41 656c6572 c6017373 00000000 c60200c4 c60200d8 c60200b0 c60200ec
9f20: c3459f5c c3459f30 bf046250 bf045a6c c0064550 c00644bc 01000000 0e130200
9f40: c3459f9c c60209f0 00000000 c6020378 c60200c4 c60200d8 c60200b0 c60200ec
9f60: c3459f84 c3459f70 bf00a130 bf03d00c c601e000 c601e000 c3459fcc c3459f88
9f80: bf011d2c bf00a0fc 00000000 c6020114 c6020328 c602033c 00000000 c60209f0
9fa0: c0064550 c601e000 c601e1a4 c3459fd4 0007bc41 00000000 00000000 00000000
9fc0: c3459ff4 c3459fd0 bf065564 bf011b48 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 c3459ff8 c006d6fc bf065508 00001202 00187526
Backtrace:
[<c0050d80>] (__bug+0x0/0x2c) from [<c025fd04>] (skb_over_panic+0x54/0x60)
[<c025fcb0>] (skb_over_panic+0x0/0x60) from [<bf057e34>] (RTMPAllocateNdisPacket+0x114/0x144 [rt5370sta])
 r7 = 00000054  r6 = 00000068  r5 = 00000000  r4 = C4F6E0E0
[<bf057d20>] (RTMPAllocateNdisPacket+0x0/0x144 [rt5370sta]) from [<bf016aa8>] (MiniportMMRequest+0xa0/0x14c [rt5370sta])
[<bf016a08>] (MiniportMMRequest+0x0/0x14c [rt5370sta]) from [<bf01e820>] (ScanNextChannel+0x6e0/0x814 [rt5370sta])
 r8 = C601E000  r7 = C3459EA0  r6 = C3459EA8  r5 = 00000004
 r4 = 00000004
[<bf01e140>] (ScanNextChannel+0x0/0x814 [rt5370sta]) from [<bf03d304>] (MlmeScanReqAction+0x304/0x3c0 [rt5370sta])
[<bf03d000>] (MlmeScanReqAction+0x0/0x3c0 [rt5370sta]) from [<bf00a130>] (StateMachinePerformAction+0x40/0x44 [rt5370sta])
[<bf00a0f0>] (StateMachinePerformAction+0x0/0x44 [rt5370sta]) from [<bf011d2c>] (MlmeHandler+0x1f0/0x31c [rt5370sta])
 r4 = C601E000
[<bf011b3c>] (MlmeHandler+0x0/0x31c [rt5370sta]) from [<bf065564>] (MlmeThread+0x68/0xc4 [rt5370sta])
[<bf0654fc>] (MlmeThread+0x0/0xc4 [rt5370sta]) from [<c006d6fc>] (do_exit+0x0/0x774)
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000
Code: e1a01000 e59f000c eb006a32 e3a03000 (e5833000)

root@IJN-S42:~#
root@IJN-S42:~# skb_over_panic: text:bf05fbac len:64 put:64 head:c2fe8c00 data:c2fe8c00 tail:c2fe8c10 end:c2fe8cb0 dev:<NULL>
kernel BUG at net/core/skbuff.c:93!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#2]
Modules linked in: rt5370sta
CPU: 0
PC is at __bug+0x20/0x2c
LR is at release_console_sem+0x1e8/0x224
pc : [<c0050da0>]    lr : [<c006ae7c>]    Not tainted
sp : c0395d68  ip : c0395c98  fp : c0395d74
r10: c4f6e4a0  r9 : c0395e14  r8 : 00000000
r7 : c2fe8cb0  r6 : c2fe8c10  r5 : c2fe8c00  r4 : c2fe8c00
r3 : 00000000  r2 : 00000000  r1 : 60000113  r0 : 00000027
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: C5387F
Table: 50030008  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0394250)
Stack: (0xc0395d68 to 0xc0396000)
5d60:                   c0395dac c0395d78 c025fd04 c0050d8c c2fe8c00 c2fe8c00
5d80: c2fe8c10 c2fe8cb0 c035b700 c0395d98 00000040 ff6c2004 c2fe8c70 c601e000
5da0: c0395de4 c0395db0 bf05fbb8 c025fcbc c0395de4 80000193 c2f51e58 c601e000
5dc0: c601e000 00000000 00000001 c0395e14 0007b834 0007b84c c0395e64 c0395de8
5de0: bf0413b8 bf05fa08 c0395e24 60000193 c5ace400 c28bee60 00000000 c5ace400
5e00: ff643000 c5ace4c8 00000001 00000001 c0395e34 c0395e20 c020a7a4 c5245b20
5e20: c2fbff00 c5ace400 c0395e44 c5ace400 00000000 001782b4 c0395e5c c601e000
5e40: c601e000 00000000 00000001 0000001c c03ef4f8 00000000 c0395e8c c0395e68
5e60: bf060fb4 bf04136c c0395ecc c2fbff00 c601e000 c601e824 00000000 00000001
5e80: c0395ebc c0395e90 bf066390 bf060f54 c6600000 00000002 00000000 00000000
5ea0: c03eda40 c03eda20 c03eda20 00000001 c0395edc c0395ec0 c006f634 bf066244
5ec0: c0395ee4 c03eda5c 00000001 0000000a c0395f0c c0395ee0 c006f8b0 c006f5c4
5ee0: 0000002f 0000002f c0396bc0 00000000 c03dae68 50020fec 410fb766 50020fb8
5f00: c0395f1c c0395f10 c006fc40 c006f85c c0395f3c c0395f20 c004db34 c006fc08
5f20: c0395f4c ffffffff f0100000 00008000 c0395f94 c0395f40 c004c830 c004daf8
5f40: c004bd40 c0394000 f2900000 00000021 c004e354 c0394000 c004e354 c03dae68
5f60: 50020fec 410fb766 50020fb8 c0395f94 c0395f88 c0395f88 c0056530 c004e3ac
5f80: a0000013 ffffffff c0395fb4 c0395f98 c004e120 c004e360 c03f0234 c03daa28
5fa0: c0022668 c0403898 c0395fc4 c0395fb8 c004c148 c004e0f8 c0395ff4 c0395fc8
5fc0: c0008c80 c004c120 c000855c 00000000 00000000 c0022668 00000000 00c5387d
5fe0: c03daeec c0399464 00000000 c0395ff8 50008030 c0008a3c 00000000 00000000
Backtrace:
[<c0050d80>] (__bug+0x0/0x2c) from [<c025fd04>] (skb_over_panic+0x54/0x60)
[<c025fcb0>] (skb_over_panic+0x0/0x60) from [<bf05fbb8>] (GetPacketFromRxRing+0x1bc/0x240 [rt5370sta])
 r7 = C601E000  r6 = C2FE8C70  r5 = FF6C2004  r4 = 00000040
[<bf05f9fc>] (GetPacketFromRxRing+0x0/0x240 [rt5370sta]) from [<bf0413b8>] (STARxDoneInterruptHandle+0x58/0x354 [rt5370sta])
[<bf041360>] (STARxDoneInterruptHandle+0x0/0x354 [rt5370sta]) from [<bf060fb4>] (RTUSBBulkReceive+0x6c/0xd8 [rt5370sta])
[<bf060f48>] (RTUSBBulkReceive+0x0/0xd8 [rt5370sta]) from [<bf066390>] (rx_done_tasklet+0x158/0x18c [rt5370sta])
 r8 = 00000001  r7 = 00000000  r6 = C601E824  r5 = C601E000
 r4 = C2FBFF00
[<bf066238>] (rx_done_tasklet+0x0/0x18c [rt5370sta]) from [<c006f634>] (tasklet_hi_action+0x7c/0xc0)
 r8 = 00000001  r7 = C03EDA20  r6 = C03EDA20  r5 = C03EDA40
 r4 = 00000000
[<c006f5b8>] (tasklet_hi_action+0x0/0xc0) from [<c006f8b0>] (__do_softirq+0x60/0xc0)
 r6 = 0000000A  r5 = 00000001  r4 = C03EDA5C
[<c006f850>] (__do_softirq+0x0/0xc0) from [<c006fc40>] (irq_exit+0x44/0x4c)
[<c006fbfc>] (irq_exit+0x0/0x4c) from [<c004db34>] (asm_do_IRQ+0x48/0x60)
[<c004daec>] (asm_do_IRQ+0x0/0x60) from [<c004c830>] (__irq_svc+0x30/0x80)
 r6 = 00008000  r5 = F0100000  r4 = FFFFFFFF
[<c004e354>] (default_idle+0x0/0x64) from [<c004e120>] (cpu_idle+0x34/0x50)
[<c004e0ec>] (cpu_idle+0x0/0x50) from [<c004c148>] (rest_init+0x34/0x3c)
 r7 = C0403898  r6 = C0022668  r5 = C03DAA28  r4 = C03F0234
[<c004c114>] (rest_init+0x0/0x3c) from [<c0008c80>] (start_kernel+0x250/0x2bc)
[<c0008a30>] (start_kernel+0x0/0x2bc) from [<50008030>] (0x50008030)
Code: e1a01000 e59f000c eb006a32 e3a03000 (e5833000)
Kernel panic - not syncing: Aiee, killing interrupt handler!


고도리

2013.06.08 02:43:25
*.200.239.210

로그를 보니....대략 짐작으로는 driver와 wifi module과의 통신에 문제가 있는 듯 합니다.


realtek거는 해 봤는데, ralink거는 해보지 않아서 로그상으로 보면 해당 답만 할 수 있을 듯 하네요.

List of Articles
번호 제목 글쓴이 날짜 조회 수

사용자 로그인