S3C2440移植RTL8187L无线USB网卡记录(未解决)

首先准备了一大轮,最後还是有问题。

 

内核准备,2.6.13(S3C2440准备好),支持USB设备、WIFI等。

网卡驱动的移植,编译什麽不费多大劲,CC、LD、CFLAG等的改几下。

然後,找一个dhcp(dhcp-3.1.3),其实只要当中的client。make -C=arm-linux-gcc。

 

iwconfig wlan0 poweron on
iwconfig wlan0 mode managed
iwconfig wlan0 rate auto
iwconfig wlan0 ap 00:18:4d:7e:e0:74
iwconfig wlan0 essid shuangxi
iwconfig wlan0 key off

 

dhclient wlan0

 

注意:虽然工作顺利,但未成功的。

 

 

kernel BUG at kernel/timer.c:317!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1]
Modules linked in: r8187l
CPU: 0
PC is at __bug+0x40/0x54
LR is at 0x1
pc : [<c00320a4>]    lr : [<00000001>]    Not tainted
sp : c2c63f24  ip : 60000093  fp : c2c63f34
r10: c3e8d128  r9 : c33ac220  r8 : 80000013
r7 : c3e8d120  r6 : 0000066e  r5 : ffff59d3  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : c2c62000  r0 : 00000001
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: C000717F  Table: 33DB0000  DAC: 00000017
Process Ieee80211/0 (pid: 319, stack limit = 0xc2c62194)
Stack: (0xc2c63f24 to 0xc2c64000)
3f20:          c33acd28 c2c63f4c c2c63f38 c004e734 c0032074 c33ac220 c33ac8a4
3f40: c2c63f68 c2c63f50 bf00e57c c004e71c c33aca84 c33aca80 c2c62000 c2c63fc8
3f60: c2c63f6c c0056a50 bf00e470 bf00e460 ffffffff ffffffff 00000001 00000000
3f80: c0041474 00010000 00000000 00000000 c3c4b320 c0041474 00100100 00200200
3fa0: c3e8d120 c2c62000 c33a5da0 c0056854 fffffffc 00000000 00000000 c2c63ff4
3fc0: c2c63fcc c005b718 c0056864 ffffffff ffffffff 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 c2c63ff8 c00472cc c005b644 00000000 00000000
Backtrace:
[<c0032064>] (__bug+0x0/0x54) from [<c004e734>] (mod_timer+0x28/0x78)
 r4 = C33ACD28
[<c004e70c>] (mod_timer+0x0/0x78) from [<bf00e57c>] (ieee80211_softmac_scan_wq+0
x11c/0x134 [r8187l])
 r5 = C33AC8A4  r4 = C33AC220
[<bf00e460>] (ieee80211_softmac_scan_wq+0x0/0x134 [r8187l]) from [<c0056a50>] (w
orker_thread+0x1fc/0x2b4)
 r6 = C2C62000  r5 = C33ACA80  r4 = C33ACA84
[<c0056854>] (worker_thread+0x0/0x2b4) from [<c005b718>] (kthread+0xe4/0x114)
[<c005b634>] (kthread+0x0/0x114) from [<c00472cc>] (do_exit+0x0/0xc54)
 r8 = 00000000  r7 = 00000000  r6 = 00000000  r5 = 00000000
 r4 = 00000000
Code: 1b004e77 e59f0014 eb004e75 e3a03000 (e5833000)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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: r8187l
CPU: 0
PC is at __bug+0x40/0x54
LR is at 0x1
pc : [<c00320a4>]    lr : [<00000001>]    Not tainted
sp : c02a3e44  ip : 60000093  fp : c02a3e54
r10: 00000032  r9 : c33ba000  r8 : c02a3e94
r7 : c05388e0  r6 : c0538880  r5 : c0538880  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : c02a2000  r0 : 00000001
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: C000717F  Table: 334E4000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc02a2194)
Stack: (0xc02a3e44 to 0xc02a4000)
3e40:          c0538880 c02a3e88 c02a3e58 c01e9cf8 c0032074 c0538880 c0538880
3e60: c0538880 c05388e0 c0275f6c c33bad90 c2ca81a0 c2cb1f80 00000114 c02a3ed4
3e80: c02a3e8c bf003eec c01e9cb0 00000103 c02a2000 03134177 00000000 10100057
3ea0: 00000000 00000100 00000000 00000000 c0335204 c02a2000 0000000a c03351e0
3ec0: c032e344 c02a3f5c c02a3eec c02a3ed8 c004a994 bf003be4 00000001 c0335230
3ee0: c02a3f10 c02a3ef0 c004a550 c004a91c c02a2000 c02a2000 00000001 00000002
3f00: 00000001 c02a3f24 c02a3f14 c004a6ec c004a504 ffffffff c02a3f58 c02a3f28
3f20: c002e07c c004a6b8 004c4b11 c02a3f58 ffffffff c02a3f90 00000001 00000002
3f40: 00000001 c02a2000 3001ddc8 c02a3fb0 c02a3f5c c002c978 c002df50 00000000
3f60: ffffffff f040000c 80000013 c02a2000 c002ea74 c02a5008 c039da94 3001ddf8
3f80: 41129200 3001ddc8 c02a3fb0 c02a3fa4 c02a3fa4 c002ead0 c002eadc 80000013
3fa0: ffffffff c02a3fc8 c02a3fb4 c002eb3c c002ea84 c0337a00 c032f51c c02a3fd8
3fc0: c02a3fcc c002c03c c002eaf8 c02a3ff4 c02a3fdc c0008780 c002c010 c00082e4
3fe0: c032f5a8 c0007175 00000000 c02a3ff8 30008094 c0008648 00000000 00000000
Backtrace:
[<c0032064>] (__bug+0x0/0x54) from [<c01e9cf8>] (skb_over_panic+0x58/0x64)
 r4 = C0538880
[<c01e9ca0>] (skb_over_panic+0x0/0x64) from [<bf003eec>] (rtl8180_irq_rx_tasklet
+0x318/0x368 [r8187l])
 r7 = 00000114  r6 = C2CB1F80  r5 = C2CA81A0  r4 = C33BAD90
[<bf003bd4>] (rtl8180_irq_rx_tasklet+0x0/0x368 [r8187l]) from [<c004a994>] (task
let_action+0x88/0xdc)
[<c004a90c>] (tasklet_action+0x0/0xdc) from [<c004a550>] (__do_softirq+0x5c/0xd0
)
 r5 = C0335230  r4 = 00000001
[<c004a4f4>] (__do_softirq+0x0/0xd0) from [<c004a6ec>] (irq_exit+0x44/0x58)
 r8 = 00000001  r7 = 00000002  r6 = 00000001  r5 = C02A2000
 r4 = C02A2000
[<c004a6a8>] (irq_exit+0x0/0x58) from [<c002e07c>] (asm_do_IRQ+0x13c/0x158)
 r4 = FFFFFFFF
[<c002df40>] (asm_do_IRQ+0x0/0x158) from [<c002c978>] (__irq_svc+0x38/0x158)
[<c002ea74>] (default_idle+0x0/0x74) from [<c002eb3c>] (cpu_idle+0x54/0x88)
[<c002eae8>] (cpu_idle+0x0/0x88) from [<c002c03c>] (__init_end+0x3c/0x44)
 r5 = C032F51C  r4 = C0337A00
[<c002c000>] (__init_end+0x0/0x44) from [<c0008780>] (start_kernel+0x148/0x180)
[<c0008638>] (start_kernel+0x0/0x180) from [<30008094>] (0x30008094)
Code: 1b004e77 e59f0014 eb004e75 e3a03000 (e5833000)
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

阅读更多
个人分类: Embeded
想对作者说点什么? 我来说一句
相关热词

没有更多推荐了,返回首页

关闭
关闭
关闭