iwconfig Segmentation fault + machine lockup
Thomas Gourgon <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am having a minor problem with the driver. Minor because there
seem to be no problem getting it to work when I load the module
manually after my computer boots up. On the other hand if I disconnect
and reconnect my USB WiFi adapter, sometimes it freezes my terminal OR
ifconfig and iwconfig start generating seg. faults. I would like to fix
or help fixing this problem, I can code but I don't know much about
kernel development so I could use some help to get me started.
Regards,
Thomas Gourgon
My USB device is a Linksys WUSB11 v2.8. and I am running Debian/Sarge.
uname -a :Linux mercury 2.4.23-lvm #1 SMP Fri Jan 23 20:09:32 EST 2004
i686 GNU/Linux
The problem when the terminal does not freeze:
root@mercury:/var/log# iwconfig --version
iwconfig Version 26
Compatible with Wireless Extension v16 or earlier,
Currently compiled with Wireless Extension v16.
Segmentation fault
root@mercury:/var/log#
Kernel & modules output
-------------------------
Feb 3 19:41:06 localhost kernel: Code: Bad EIP value.
Feb 3 19:41:14 localhost kernel: <1>Unable to handle kernel paging
request at virtual address 000091e6
Feb 3 19:41:14 localhost kernel: printing eip:
Feb 3 19:41:14 localhost kernel: 000091e6
Feb 3 19:41:14 localhost kernel: Oops: 0000
Feb 3 19:41:14 localhost kernel: CPU: 0
Feb 3 19:41:14 localhost kernel: EIP: 0010:[<000091e6>] Not
tainted
Feb 3 19:41:14 localhost kernel: EFLAGS: 00010202
Feb 3 19:41:14 localhost kernel: eax: 000091e6 ebx: e2d63000 ecx:
d97ee143 edx: 00000000
Feb 3 19:41:14 localhost kernel: esi: d97ee1be edi: 00000c00 ebp:
00000000 esp: d823bf3c
Feb 3 19:41:14 localhost kernel: ds: 0018 es: 0018 ss: 0018
Feb 3 19:41:14 localhost kernel: Process iwconfig (pid: 1475,
stackpage=d823b000)
Feb 3 19:41:14 localhost kernel: Stack: c02ce01f e2d63000 000001be
e2d63000 c02ce06d d97ee1be e2d63000 e3fcd0d0
Feb 3 19:41:14 localhost kernel: 00000c00 d97ee000 00001000
c015e6a3 d97ee000 d823bf88 00000000 00000c00
Feb 3 19:41:14 localhost kernel: e7dc5ea0 00000000 00000000
00000000 00000000 e3fcd0b0 ffffffea 00001000
Feb 3 19:41:14 localhost kernel: Call Trace:
[sprintf_stats+135/140] [dev_get_info+73/152] [proc_file_read+375/404]
[sys_read+135/272] [system_call+51/56]
Feb 3 19:41:14 localhost kernel:
Feb 3 19:41:14 localhost kernel: Code: Bad EIP value.
Feb 3 19:41:26 localhost kernel: <1>Unable to handle kernel paging
request at virtual address 000091e6
Feb 3 19:41:26 localhost kernel: printing eip:
Feb 3 19:41:26 localhost kernel: 000091e6
Feb 3 19:41:26 localhost kernel: Oops: 0000
Feb 3 19:41:26 localhost kernel: CPU: 0
Feb 3 19:41:26 localhost kernel: EIP: 0010:[<000091e6>] Not
tainted
Feb 3 19:41:26 localhost kernel: EFLAGS: 00010202
Feb 3 19:41:26 localhost kernel: eax: 000091e6 ebx: e2d63000 ecx:
d8807143 edx: 00000000
Feb 3 19:41:26 localhost kernel: esi: d88071be edi: 00000c00 ebp:
00000000 esp: d8443f3c
Feb 3 19:41:26 localhost kernel: ds: 0018 es: 0018 ss: 0018
Feb 3 19:41:26 localhost kernel: Process iwconfig (pid: 1476,
stackpage=d8443000)
Feb 3 19:41:26 localhost kernel: Stack: c02ce01f e2d63000 000001be
e2d63000 c02ce06d d88071be e2d63000 e0b7fae0
Feb 3 19:41:26 localhost kernel: 00000c00 d8807000 00001000
c015e6a3 d8807000 d8443f88 00000000 00000c00
Feb 3 19:41:26 localhost kernel: e7dc5ea0 00000000 00000000
00000000 00000000 e0b7fac0 ffffffea 00001000
Feb 3 19:41:26 localhost kernel: Call Trace:
[sprintf_stats+135/140] [dev_get_info+73/152] [proc_file_read+375/404]
[sys_read+135/272] [system_call+51/56]
Feb 3 19:41:26 localhost kernel:
Feb 3 19:41:26 localhost kernel: Code: Bad EIP value.
Feb 3 19:42:54 localhost kernel: <7>via_audio: ignoring drain
playback error -11
Feb 3 19:43:12 localhost kernel: hub.c: new USB device 00:04.2-2,
assigned address 4
Feb 3 19:43:12 localhost kernel: usb-uhci.c: interrupt, status 2,
frame# 427
Feb 3 19:43:14 localhost kernel: usb.c: USB disconnect on device
00:04.2-2 address 4
Feb 3 19:43:14 localhost kernel: at76c503-fw_skel.c: wlan%%d
disconnecting
Feb 3 19:43:14 localhost kernel: at76c503.c: at76c503_delete_device:
rtnl_sem already down'ed
Feb 3 19:43:14 localhost kernel: at76c503.c: $Id: at76c503.c,v 1.41
2004/01/04 22:31:30 jal2 Exp $ compiled Jan 31 2004 09:01:32
Feb 3 19:43:14 localhost kernel: at76c503.c: firmware version 1.101.0
#86 (fcs_len 4)
Feb 3 19:43:14 localhost kernel: at76c503.c: device's MAC
00:0c:41:57:b7:dc, regulatory domain FCC (U.S) (id 16)
Feb 3 19:43:16 localhost usb.agent[1479]: kernel driver
at76c505-rfmd2958 already loaded