免费注册 查看新帖 |

Chinaunix

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

USB 接口wifi 网卡拔除时出现内核崩溃现象,请大家帮帮忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-11 10:43 |只看该作者 |倒序浏览
linux kernel  2.6.22
wifi 模块: 威盛,VNT6656AU,wifi驱动是威盛给的,但不支持2.6.21以上的内核,我自己根据编译情况改了一下,可以用,只有在拔除此模块时出现一下情况:

mx27# usb 1-1: USB disconnect, address 2
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c0004000
[0000000c] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.22.6 #1391)
PC is at klist_del+0x20/0x68
LR is at device_del+0x24/0x2d0
pc : [<c02eb428>]    lr : [<c019f5bc>]    psr: a0000013
sp : c3c47e08  ip : c3c47e24  fp : c3c47e20
r10: c3955858  r9 : c3e8526c  r8 : 00000000
r7 : c3454c18  r6 : c3955800  r5 : c3955e34  r4 : c3c46000
r3 : 00000001  r2 : 00000000  r1 : c0373284  r0 : c3955e44
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 0005317f  Table: a3f90000  DAC: 00000017
Process khubd (pid: 63, stack limit = 0xc3c4625
Stack: (0xc3c47e08 to 0xc3c48000)
7e00:                   c3955e34 c3955e34 c3955800 c3c47e40 c3c47e24 c019f5bc
7e20: c02eb418 c3955e34 c3c46000 c3955800 c03c0174 c3c47e54 c3c47e44 c0279838
7e40: c019f5a8 c3955c00 c3c47e6c c3c47e58 c026c70c c0279824 c3955c00 c3454c00
7e60: c3c47e80 c3c47e70 c026c7cc c026c588 c3540000 c3c47e94 c3c47e84 c01ac43c
7e80: c026c7c0 c3454c18 c3c47eb8 c3c47e98 c0207bf0 c01ac3fc c3454c18 c03c0174
7ea0: 00000001 c3955858 0000001f c3c47ed0 c3c47ebc c01a1f50 c0207bb0 c3454cf0
7ec0: c3454c80 c3c47ee4 c3c47ed4 c01a2420 c01a1ed8 c3454c18 c3c47efc c3c47ee8
7ee0: c01a17c0 c01a23f8 c3454c18 c3454c18 c3c47f1c c3c47f00 c019f7e0 c01a1758
7f00: c3454c18 c3955800 00000001 c3955930 c3c47f38 c3c47f20 c0204de8 c019f5a8
7f20: c3955ae8 c3955800 c395587c c3c47f64 c3c47f3c c0200a8c c0204d78 00000003
7f40: 00000100 c3e85000 c3e0cee0 c3e64a14 c3e64218 c3e85000 c3c47fd8 c3c47f68
7f60: c0201444 c02009ec 0000000a c0061270 c3e64200 c3e64218 c3e85000 c3c46000
7f80: 00000000 00000009 00000001 00000000 00000000 c3c38060 c0068be8 c3c47f9c
7fa0: c3c47f9c 00000101 01000003 c3c3816c c3c46000 00000000 c0201010 00000000
7fc0: 00000000 00000000 00000000 c3c47ff4 c3c47fdc c0068acc c0201020 00000000
7fe0: 00000000 00000000 00000000 c3c47ff8 c00560e0 c0068a84 00000000 00000000
Backtrace:
[<c02eb408>] (klist_del+0x0/0x6 from [<c019f5bc>] (device_del+0x24/0x2d0)
r6:c3955800 r5:c3955e34 r4:c3955e34
[<c019f598>] (device_del+0x0/0x2d0) from [<c0279838>] (netdev_unregister_sysfs+0x24/0x2
r7:c03c0174 r6:c3955800 r5:c3c46000 r4:c3955e34
[<c0279814>] (netdev_unregister_sysfs+0x0/0x2 from [<c026c70c>] (unregister_netdevice+0x194/0x23
r4:c3955c00
[<c026c578>] (unregister_netdevice+0x0/0x23 from [<c026c7cc>] (unregister_netdev+0x1c/0x24)
r5:c3454c00 r4:c3955c00
[<c026c7b0>] (unregister_netdev+0x0/0x24) from [<c01ac43c>] (vntwusb_disconnect+0x50/0x64)
r4:c3540000
[<c01ac3ec>] (vntwusb_disconnect+0x0/0x64) from [<c0207bf0>] (usb_unbind_interface+0x50/0xa4)
r4:c3454c18
[<c0207ba0>] (usb_unbind_interface+0x0/0xa4) from [<c01a1f50>] (__device_release_driver+0x88/0xa
r8:0000001f r7:c3955858 r6:00000001 r5:c03c0174 r4:c3454c18
[<c01a1ec8>] (__device_release_driver+0x0/0xa from [<c01a2420>] (device_release_driver+0x38/0x60)
r5:c3454c80 r4:c3454cf0
[<c01a23e8>] (device_release_driver+0x0/0x60) from [<c01a17c0>] (bus_remove_device+0x78/0x8c)
r4:c3454c18
[<c01a1748>] (bus_remove_device+0x0/0x8c) from [<c019f7e0>] (device_del+0x248/0x2d0)
r5:c3454c18 r4:c3454c18
[<c019f598>] (device_del+0x0/0x2d0) from [<c0204de8>] (usb_disable_device+0x80/0xfc)
r7:c3955930 r6:00000001 r5:c3955800 r4:c3454c18
[<c0204d68>] (usb_disable_device+0x0/0xfc) from [<c0200a8c>] (usb_disconnect+0xb0/0x17c)
r6:c395587c r5:c3955800 r4:c3955ae8
[<c02009dc>] (usb_disconnect+0x0/0x17c) from [<c0201444>] (hub_thread+0x434/0xca0)
[<c0201010>] (hub_thread+0x0/0xca0) from [<c0068acc>] (kthread+0x58/0x90)
[<c0068a74>] (kthread+0x0/0x90) from [<c00560e0>] (do_exit+0x0/0x930)
r6:00000000 r5:00000000 r4:00000000
Code: e3c4403f e5943004 e5902000 e2833001 (e592500c)

论坛徽章:
0
2 [报告]
发表于 2008-11-12 09:41 |只看该作者

Re:

根据提示,出现空指针操作. 实际跟踪一下吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP