SMP related issues
Santiago Gala Pérez
sgala
Mon Aug 11 02:18:21 PDT 2003
El mi?rcoles, 9 juli, 2003, a las 09:49 Europe/Madrid, Jouni Malinen
escribi?:
> If anyone is still able to reproduce crashes more or less consistently
> on SMP systems using the latest CVS version of Host AP driver, I would
> be interested in knowing about these. I will have access to my SMP
> system for couple of weeks, so now would be a good time to (re-)report
> these issues.
>
I updated cvs yesterday (Aug 11, about 0:00 GMT), installed, and used my
standard trick:
prompt# ifdown wlan0; rmmod hostap_pci; rmmod hostap; rmmod
hostap_crypt; ifup wlan0
for hot reloading the wlan driver.
I am crazy enough to do this from a client connected through wlan0, and
it has always worked till now. The machine is a dual PentiumIII 1 GHz,
running:
[root at webserver2 utils]# uname -a
Linux webserver2.intranet.hisitech.com 2.4.21-0.18mdkenterprise #1 SMP
lun jun 16 14:56:25 CEST 2003 i686 unknown unknown GNU/Linux
with a pci card:
[root at webserver2 utils]# lspci -v -s 00:0b.0
00:0b.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan
chipset (rev 01)
Subsystem: Unknown device 16a5:1601
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at dddff000 (32-bit, prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Yesterday, though, I got:
Aug 11 00:55:53 webserver2 kernel: wlan0: prism2_close
Aug 11 00:55:53 webserver2 kernel: wlan0: Deauthenticate all stations
Aug 11 00:55:54 webserver2 dhcpd: receive_packet failed on wlan0:
Network is down
Aug 11 00:55:54 webserver2 kernel: hostap_pci: Netdevice wlan0
unregistered
Aug 11 00:55:54 webserver2 kernel: hostap_pci: Driver unloaded
Aug 11 00:55:54 webserver2 kernel: hostap_crypt: unregistered algorithm
'NULL' (deinit)
Aug 11 00:55:54 webserver2 /etc/hotplug/net.agent: NET unregister event
not supported
Aug 11 00:55:54 webserver2 kernel: hostap_crypt: registered algorithm
'NULL'
Aug 11 00:55:54 webserver2 kernel: hostap_pci: CVS (Jouni Malinen
<jkmaline at cc.h
ut.fi>)
Aug 11 00:55:54 webserver2 kernel: hostap_pci: Registered netdevice
wlan0
Aug 11 00:55:54 webserver2 /etc/hotplug/net.agent: invoke ifup wlan0
Aug 11 00:55:54 webserver2 kernel: prism2_hw_init: initialized in 200 ms
Aug 11 00:55:54 webserver2 kernel: wlan0: trying to read PDA from
0x007f0000: OK
Aug 11 00:55:56 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (entry=ca6582a0, type=0, res=0)
Aug 11 00:55:56 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8000
INTEN=00
10)
Aug 11 00:55:56 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fdc6, len=12)
Aug 11 00:55:58 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:55:58 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8000
INTEN=00
10)
Aug 11 00:55:58 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fdc6, len=12)
Aug 11 00:56:00 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:00 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfdc1, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:00 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fdc1, len=2)
Aug 11 00:56:02 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:02 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfc06, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:02 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc06, len=2)
Aug 11 00:56:04 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:04 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfd42, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:04 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fd42, len=6)
Aug 11 00:56:06 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=eb558ce0, type=0, res=0)
Aug 11 00:56:06 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=eb558ce0, type=0, cmd=0x0021, param0=0xfc0e, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:06 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc0e, len=34)
Aug 11 00:56:08 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:08 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfc84, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:08 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc84, len=2)
Aug 11 00:56:10 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:10 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfc83, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:10 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc83, len=2)
Aug 11 00:56:12 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:12 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfc82, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:12 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc82, len=2)
Aug 11 00:56:14 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:14 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfc09, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:14 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fc09, len=2)
Aug 11 00:56:16 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=ca6582a0, type=0, res=0)
Aug 11 00:56:16 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=ca6582a0, type=0, cmd=0x0021, param0=0xfd48, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:16 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fd48, len=2)
Aug 11 00:56:18 webserver2 kernel: wlan0: hfa384x_cmd: entry still in
list? (ent
ry=eb3c63e0, type=0, res=0)
Aug 11 00:56:18 webserver2 kernel: wlan0: hfa384x_cmd: command was not
completed
(res=0, entry=eb3c63e0, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8000
INTEN=00
10)
Aug 11 00:56:18 webserver2 kernel: wlan0: hfa384x_get_rid:
CMDCODE_ACCESS failed
(res=-110, rid=fd0b, len=8)
Aug 11 00:56:18 webserver2 kernel: Could not get RID for component NIC
Aug 11 00:56:18 webserver2 kernel: hostap_pci: Initialization failed
Aug 11 00:56:18 webserver2 kernel: hostap_pci: hardware initialization
failed
Aug 11 00:56:18 webserver2 kernel: wlan0: removed pending cmd_queue
entry (type=
1, cmd=0x0011, param0=0xf100)
Aug 11 00:56:18 webserver2 kernel: wlan0: removed pending cmd_queue
entry (type=
1, cmd=0x0011, param0=0xf100)
Aug 11 00:56:18 webserver2 kernel: wlan0: removed pending cmd_queue
entry (type=
0, cmd=0x0021, param0=0xfc28)
Aug 11 00:56:20 webserver2 kernel: Unable to handle kernel paging
request at vir
tual address f911e060
Aug 11 00:56:20 webserver2 kernel: printing eip:
Aug 11 00:56:20 webserver2 kernel: f91113c2
Aug 11 00:56:20 webserver2 kernel: *pde = 37b49067
Aug 11 00:56:20 webserver2 kernel: *pte = 00000000
Aug 11 00:56:20 webserver2 kernel: Oops: 0000
Aug 11 00:56:20 webserver2 kernel: hostap_pci hostap binfmt_misc
af_packet ip_vs
_rr ip_vs_lblc ip_vs_wlc ip_vs eeprom lm80 i2c-proc i2c-viapro i2c-core
button t
hermal processor fan ac battery iptable_filter ipt_REDIRECT
iptable_mangle 8139t
oo mii ide-cd cdrom ide-scsi scsi_mod ip_nat_irc ip_nat_ftp iptable_nat
ip_table
s ip_conntrack_irc ip_conntrack_ftp ip_conntrack tun usb-uhci usbcore
rtc ext3 j
bd raid1
Aug 11 00:56:20 webserver2 kernel: CPU: 1
Aug 11 00:56:20 webserver2 kernel: EIP:
0010:[hostap_pci:__insmod_hostap_pci_
O/lib/modules/2.4.21-0.18mdkenterprise/+-39998/96] Not tainted
Aug 11 00:56:20 webserver2 kernel: EIP: 0010:[<f91113c2>] Not
tainted
Aug 11 00:56:20 webserver2 kernel: EFLAGS: 00010286
Aug 11 00:56:20 webserver2 kernel: EIP is at hfa384x_cmd+0x222/0x450
[hostap_pci
]
Aug 11 00:56:20 webserver2 kernel: eax: f911e000 ebx: e89f2000 ecx:
eb3c63ec
edx: cc944200
Aug 11 00:56:20 webserver2 kernel: esi: eb3c63e0 edi: f5b68000 ebp:
e89f3df4
esp: e89f3d90
Aug 11 00:56:20 webserver2 kernel: ds: 0018 es: 0018 ss: 0018
Aug 11 00:56:20 webserver2 kernel: Process iwconfig (pid: 21301,
stackpage=e89f3
000)
Aug 11 00:56:20 webserver2 kernel: Stack: f5b68000 e89f3df4 00000296
eb3c63e8 00
000296 00000000 00000000 00000000
Aug 11 00:56:20 webserver2 kernel: 0000fc28 00000021 0021e9a0
00000000 e8
9f2000 00000000 00000000 00000000
Aug 11 00:56:20 webserver2 kernel: e89f2000 00000000 00000000
c0108123 f5
b68028 00000000 f5b68000 f5b68020
Aug 11 00:56:20 webserver2 kernel: Call Trace:
Aug 11 00:56:20 webserver2 kernel: [__down_interruptible+211/256]
__down_interr
uptible+0xd3/0x100 [kernel]
Aug 11 00:56:20 webserver2 kernel: [<c0108123>]
__down_interruptible+0xd3/0x100
[kernel]
Aug 11 00:56:20 webserver2 kernel:
[hostap_pci:__insmod_hostap_pci_O/lib/module
s/2.4.21-0.18mdkenterprise/+-38158/96] hfa384x_get_rid+0x52/0x1f0
[hostap_pci]
Aug 11 00:56:20 webserver2 kernel: [<f9111af2>]
hfa384x_get_rid+0x52/0x1f0 [hos
tap_pci]
Aug 11 00:56:20 webserver2 kernel:
[hostap_pci:__insmod_hostap_pci_O/lib/module
s/2.4.21-0.18mdkenterprise/+-11022/96]
.text.lock.KBUILD_BASENAME+0x46/0x234 [ho
stap_pci]
Aug 11 00:56:20 webserver2 kernel: [<f91184f2>]
.text.lock.KBUILD_BASENAME+0x46
/0x234 [hostap_pci]
Aug 11 00:56:20 webserver2 kernel: [activate_page+204/224]
activate_page+0xcc/0
xe0 [kernel]
Aug 11 00:56:20 webserver2 kernel: [<c013d95c>]
activate_page+0xcc/0xe0 [kernel
]
Aug 11 00:56:20 webserver2 kernel:
[hostap_crypt:__insmod_hostap_crypt_S.bss_L4
+1058676/11853024] hostap_set_encryption_Rsmp_51a9bfcb+0x40/0x280
[hostap]
Aug 11 00:56:20 webserver2 kernel: [<f921c380>]
hostap_set_encryption_Rsmp_51a9
bfcb+0x40/0x280 [hostap]
Aug 11 00:56:20 webserver2 kernel: [do_no_page+114/592]
do_no_page+0x72/0x250 [
kernel]
Aug 11 00:56:20 webserver2 kernel: [<c0132ec2>] do_no_page+0x72/0x250
[kernel]
Aug 11 00:56:20 webserver2 kernel:
[hostap_crypt:__insmod_hostap_crypt_S.bss_L4
+1034884/11876816] prism2_ioctl_siwencode+0x1a0/0x2c0 [hostap]
Aug 11 00:56:20 webserver2 kernel: [<f9216690>]
prism2_ioctl_siwencode+0x1a0/0x
2c0 [hostap]
Aug 11 00:56:20 webserver2 kernel:
[hostap_crypt:__insmod_hostap_crypt_S.bss_L4
+1034468/11877232] prism2_ioctl_siwencode+0x0/0x2c0 [hostap]
Aug 11 00:56:20 webserver2 kernel: [<f92164f0>]
prism2_ioctl_siwencode+0x0/0x2c
0 [hostap]
Aug 11 00:56:20 webserver2 kernel: [ioctl_standard_call+423/736]
ioctl_standard
_call+0x1a7/0x2e0 [kernel]
Aug 11 00:56:20 webserver2 kernel: [<c022cda7>]
ioctl_standard_call+0x1a7/0x2e0
[kernel]
Aug 11 00:56:20 webserver2 kernel: [wireless_process_ioctl+137/480]
wireless_pr
ocess_ioctl+0x89/0x1e0 [kernel]
Aug 11 00:56:20 webserver2 kernel: [<c022c809>]
wireless_process_ioctl+0x89/0x1
e0 [kernel]
Aug 11 00:56:20 webserver2 kernel:
[hostap_crypt:__insmod_hostap_crypt_S.bss_L4
+1034468/11877232] prism2_ioctl_siwencode+0x0/0x2c0 [hostap]
Aug 11 00:56:20 webserver2 kernel: [<f92164f0>]
prism2_ioctl_siwencode+0x0/0x2c
0 [hostap]
Aug 11 00:56:20 webserver2 kernel: [dev_ioctl+507/800]
dev_ioctl+0x1fb/0x320 [k
ernel]
Aug 11 00:56:20 webserver2 kernel: [<c022593b>] dev_ioctl+0x1fb/0x320
[kernel]
Aug 11 00:56:20 webserver2 kernel: [sock_ioctl+63/128]
sock_ioctl+0x3f/0x80 [ke
rnel]
Aug 11 00:56:20 webserver2 kernel: [<c021bfbf>] sock_ioctl+0x3f/0x80
[kernel]
Aug 11 00:56:20 webserver2 kernel: [sys_ioctl+245/688]
sys_ioctl+0xf5/0x329 [ke
rnel]
Aug 11 00:56:20 webserver2 kernel: [<c0158595>] sys_ioctl+0xf5/0x329
[kernel]
Aug 11 00:56:20 webserver2 kernel: [system_call+51/56]
system_call+0x33/0x38 [k
ernel]
Aug 11 00:56:20 webserver2 kernel: [<c010962f>] system_call+0x33/0x38
[kernel]
Aug 11 00:56:20 webserver2 kernel:
Aug 11 00:56:20 webserver2 kernel: Code: 66 8b 58 60 66 8b 40 64 25 ff
ff 00 00
50 89 d8 25 ff ff 00
I had to reset the machine after. the driver seems to be working nicely
since then.
I send this FWIW. The card has firmware 1.3.6, which I update (in RAM,
by hand) to 1.4.7 each time I reboot. When it hanged, then, it was
running 1.3.6
Regards, and thanks for the good work
Santiago
More information about the Hostap
mailing list