Problems with resetting card

bjorn+hostap at update.uu.se bjorn+hostap at update.uu.se
Thu Jul 1 08:50:30 EDT 2004


I have a Thinkpad T23 with built in WLAN, according to lspci:

02:02.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)

Most of the time the hostap drivers work fine, they seem to combine
the best aspects of the orinoco and linux-wlan-ng drivers.

However, when I have lots of traffic, especially outgoing, on the
card, it keeps resetting. Occationally, the entire machine locks up. 
Most of the time, it comes out of it after 5-30 seconds, but sometimes
I need to reboot.

>From the last occurance, dmesg reports a zillion of these:

wifi0: hfa384x_setup_bap - timeout before
wifi0: prism2_tx_80211 - to BAP0 failed

followed by

wifi0: scheduled card reset
hostap_pci: wifi0: resetting card
wifi0: Original COR value: 0xb
wifi0: removed pending cmd_queue entry (type=1, cmd=0x0011, param0=0xf100)
wifi0: removed pending cmd_queue entry (type=1, cmd=0x0011, param0=0xf100)
wifi0: prism2_tx_80211: hw not ready - skipping
wifi0: prism2_tx_80211: hw not ready - skipping
wifi0: prism2_tx_80211: hw not ready - skipping
prism2_hw_init: initialized in 210 ms

and then a whole bunch of these:

wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
   A1=00:xx:xx:xx:xx:xx A2=00:xx:xx:xx:xx:xx A3=00:xx:xx:xx:xx:xx A4=00:00:00:00:00:00
      (--------v------)    (--------v------)    (-------v-------)
       My base station         My WLAN card      My base station

and last:

wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:xx:xx:xx:xx:xx
                         (--------v------)
                          My base station

I've seen some other patterns, but the details tend to disappear when
the circular dmesg-buffer is exceeded, and I'm left with the
/var/log/messages:

Jun 29 13:17:03 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 29 16:39:23 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 00:19:48 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 01:29:36 xxxxxx kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jun 30 01:29:36 xxxxxx kernel: wifi0 Tx timed out! Resetting card
Jun 30 01:29:36 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 08:21:53 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 10:02:07 xxxxxx kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jun 30 10:02:07 xxxxxx kernel: wifi0 Tx timed out! Resetting card
Jun 30 10:02:07 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 11:25:17 xxxxxx kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jun 30 11:25:17 xxxxxx kernel: wifi0 Tx timed out! Resetting card
Jun 30 11:25:17 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 17:11:49 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 20:00:10 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jun 30 22:47:44 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 05:59:28 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:10:21 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:11:06 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:19:51 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:26:27 xxxxxx kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jul  1 08:26:27 xxxxxx kernel: wifi0 Tx timed out! Resetting card
Jul  1 08:26:27 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:30:35 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:35:15 xxxxxx kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jul  1 08:35:15 xxxxxx kernel: wifi0 Tx timed out! Resetting card
Jul  1 08:35:15 xxxxxx kernel: hostap_pci: wifi0: resetting card
Jul  1 08:37:46 xxxxxx kernel: hostap_pci: wifi0: resetting card

/Björn



More information about the HostAP mailing list