免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3301 | 回复: 3
打印 上一主题 下一主题

无线网卡一ifconfig up,内核就崩溃 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-11 11:18 |只看该作者 |倒序浏览
处理器:S3C2410
系统:LINUX 2.6.14
无线网卡:ASUS WL-167g

下载的是RT73_Linux_STA_Drv1.0.4.0.tar.gz
按照《TL-WN321G (rt73)USB无线网卡驱动在armlinux平台上的移植》更改了makefile

在开发板上insmod rt73.ko

插上无线网卡,正常,能读出idVendor和idProduct
iwconfig也能发现无线网卡rausb0

只是用ifconfig rausb0 up,就会出现系统崩溃信息

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = c0004000

[00000000] *pgd=00000000

Internal error: Oops: 17 [#1]

Modules linked in: rt73

CPU: 0

PC is at RTMPMoveMemory+0x1c/0x9c [rt73]

LR is at __init_begin+0x3fff8000/0x2c

pc : [<bf016924>] lr : [<00000000>] Not tainted

sp : c023de6c ip : c023de80 fp : c023de7c

r10: 00000006 r9 : c023fec4 r8 : 00000004

r7 : 40000013 r6 : 00000000 r5 : c4812000 r4 : c48145bd

r3 : 00000001 r2 : 00000000 r1 : 00000000 r0 : c48145bd

Flags: Nzcv IRQs off FIQs on Mode SVC_32 Segment kernel

Control: C000717F Table: 33E98000 DAC: 00000017

Process swapper (pid: 0, stack limit = 0xc023c194)

Stack: (0xc023de6c to 0xc023e000)

de60: c4812528 c023dea4 c023de80 bf0043d0 bf016918

de80: c4812000 00000100 bf00d1b0 c023dec0 c02aff18 00000000 c023debc c023dea8

dea0: bf00d1ec bf00431c 00000000 c023c000 c023def4 c023dec0 c00427a0 bf00d1c0

dec0: c023dec0 c023dec0 c023ded4 00000001 c02afcb0 c023c000 0000000a c02afc80

dee0: 41129200 c02a8e44 c023df18 c023def8 c003e7cc c0042638 ffffffff c023df90

df00: 00000001 c02c76d8 c023df5c c023df28 c023df1c c003e958 c003e780 c023df58

df20: c023df2c c0024f04 c003e924 c4804000 00000a00 ffffffff c023df90 00000001

df40: c02c76d8 3001cfb4 3001cf84 c023dfb0 c023df5c c0023984 c0024df4 c001f6a0

df60: ffffffff f040000c 80000013 c0025720 c023c000 c023fbf4 c02c76d8 3001cfb4

df80: 41129200 3001cf84 c023dfb0 c023dfa4 c023dfa4 c002577c c0025788 80000013

dfa0: ffffffff c023dfc8 c023dfb4 c00257dc c0025730 c02b24a8 c02aa01c c023dfd8

dfc0: c023dfcc c0023024 c00257a4 c023dff4 c023dfdc c0008928 c0023010 c0008464

dfe0: c02aa0a8 c0007175 00000000 c023dff8 30008094 c0008808 00000000 00000000

Backtrace:

[<bf016908>] (RTMPMoveMemory+0x0/0x9c [rt73]) from [<bf0043d0>] (MlmeEnqueue+0xc4/0xd4 [rt73])

r4 = C4812528

[<bf00430c>] (MlmeEnqueue+0x0/0xd4 [rt73]) from [<bf00d1ec>] (ScanTimeout+0x3c/0x78 [rt73])

[<bf00d1b0>] (ScanTimeout+0x0/0x78 [rt73]) from [<c00427a0>] (run_timer_softirq+0x178/0x1dc)

r4 = C023C000

[<c0042628>] (run_timer_softirq+0x0/0x1dc) from [<c003e7cc>] (__do_softirq+0x5c/0xd0)

[<c003e770>] (__do_softirq+0x0/0xd0) from [<c003e958>] (irq_exit+0x44/0x4c)

r8 = C023DF5C r7 = C02C76D8 r6 = 00000001 r5 = C023DF90

r4 = FFFFFFFF

[<c003e914>] (irq_exit+0x0/0x4c) from [<c0024f04>] (asm_do_IRQ+0x120/0x13c)

[<c0024de4>] (asm_do_IRQ+0x0/0x13c) from [<c0023984>] (__irq_svc+0x24/0x160)

[<c0025720>] (default_idle+0x0/0x74) from [<c00257dc>] (cpu_idle+0x48/0x64)

[<c0025794>] (cpu_idle+0x0/0x64) from [<c0023024>] (__init_end+0x24/0x2c)

r5 = C02AA01C r4 = C02B24A8

[<c0023000>] (__init_end+0x0/0x2c) from [<c0008928>] (start_kernel+0x130/0x16

[<c00087f8>] (start_kernel+0x0/0x16 from [<30008094>] (0x30008094)

Code: e3520008 e1a04000 e1a0e001 8a00001d (e4de3001)

<0>Kernel panic - not syncing: Aiee, killing interrupt handler!


求救啊 ,怎么解决?

论坛徽章:
3
金牛座
日期:2014-06-14 22:04:062015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:49:45
2 [报告]
发表于 2008-09-11 11:21 |只看该作者
可以肯定的说,是无线网卡的驱动出了问题。可以看看网卡驱动实现的read,write函数。

论坛徽章:
0
3 [报告]
发表于 2008-09-11 11:22 |只看该作者
原帖由 dreamice 于 2008-9-11 11:21 发表
可以肯定的说,是无线网卡的驱动出了问题。可以看看网卡驱动实现的read,write函数。

我感觉这像无线网卡中断冲突

论坛徽章:
0
4 [报告]
发表于 2008-11-11 17:52 |只看该作者
你好,请问你这个kernel的问题解决了吗?我现在也是在移植这个网卡,也是这样,一ifconfig rausb0 up系统就panic了,请问是怎么回事啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP