Bug 12982 - Intel 5300agn hangs and doesn't work until the iwlagn module is reloaded
Summary: Intel 5300agn hangs and doesn't work until the iwlagn module is reloaded
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 11:13 UTC by Bernie Innocenti
Modified: 2020-05-07 08:25 UTC (History)
3 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Bernie Innocenti 2009-03-31 11:13:13 UTC
The card occasionally hangs and then disconnects from the AP.  The only way to recover from this is "rmmod iwlagn; modprobe iwlagn".

The bug *seems* to trigger much more frequently while transferring large amounts of data in both directions, but I've seen it a couple of times when the wifi link was not particularly loaded.


Version-Release number of selected component (if applicable):
kernel-2.6.29-16.fc11.x86_64 
kernel-firmware-2.6.29-16.fc11.noarch

How reproducible:
Every few hours, more often under high load.

Steps to Reproduce:
1. Connect to an AP.
2. Run a couple of large rsync jobs in both directions
3. Wait...
  
Actual results:
Card hangs

Expected results:
Card should not hang, please

Additional info:


iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_LINK_QUALITY_CMD: enqueue_hcmd failed: -28
iwlagn: Read index for DMA queue txq_id (2) index 108 is out of range [0-256] 141 136
iwlagn: Read index for DMA queue txq_id (2) index 109 is out of range [0-256] 141 136
iwlagn: Read index for DMA queue txq_id (2) index 110 is out of range [0-256] 141 136
wlan0: No ProbeResp from current AP 00:18:84:27:85:81 - assume out of range
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27kds
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 5300AGN REV=0x24
iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
wmaster0 (iwlagn): not using net_device_ops yet
phy7: Selected rate control algorithm 'iwl-agn-rs'
wlan0 (iwlagn): not using net_device_ops yet
cfg80211: Calling CRDA for country: IT
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: irq 30 for MSI/MSI-X
iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
iwlagn loaded firmware version 5.4.1.16
Registered led device: iwl-phy7:radio
Registered led device: iwl-phy7:assoc
Registered led device: iwl-phy7:RX
Registered led device: iwl-phy7:TX
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: authenticate with AP 00:18:84:27:85:81
wlan0: authenticated
wlan0: associate with AP 00:18:84:27:85:81
wlan0: RX AssocResp from 00:18:84:27:85:81 (capab=0x421 status=0 aid=1)
wlan0: associated
wlan0: disassociating by local choice (reason=3)
wlan0: authenticate with AP 00:18:84:27:85:81
wlan0: authenticated
wlan0: associate with AP 00:18:84:27:85:81
wlan0: RX AssocResp from 00:18:84:27:85:81 (capab=0x421 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
thinkpad_acpi: EC reports that Thermal Table has changed
Comment 1 Bernie Innocenti 2009-04-08 01:05:11 UTC
Confirmed with 2.6.29.1-37.rc1.fc11.x86_64.  Occurs quite frequently when transferring large files with rsync.  The only way to unstuck the driver is rmmod + modprobe.

Some yummy log messages:

iwlagn: Read index for DMA queue txq_id (2) index 131 is out of range [0-256] 155 154
iwlagn: Read index for DMA queue txq_id (2) index 132 is out of range [0-256] 155 154
iwlagn: Read index for DMA queue txq_id (2) index 133 is out of range [0-256] 155 154
iwlagn: Read index for DMA queue txq_id (2) index 134 is out of range [0-256] 155 154
iwlagn: Read index for DMA queue txq_id (2) index 135 is out of range [0-256] 155 154
iwlagn: Read index for DMA queue txq_id (2) index 136 is out of range [0-256] 155 154
wlan0: No ProbeResp from current AP 00:18:84:27:85:81 - assume out of range
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwlagn: Error sending REPLY_RXON: time out after 500ms.
iwlagn: Error setting new RXON (-110)
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_SCAN_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -28
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
iwlagn: No space for Tx
iwlagn: Error sending REPLY_RXON: enqueue_hcmd failed: -28
iwlagn: Error setting new RXON (-28)
wlan0: direct probe to AP 00:18:84:27:85:81 try 1
wlan0: direct probe to AP 00:18:84:27:85:81 try 2
wlan0: direct probe to AP 00:18:84:27:85:81 try 3
wlan0: direct probe to AP 00:18:84:27:85:81 timed out
Comment 2 Reinette Chatre 2009-04-16 20:05:45 UTC
Could this be marked as duplicate of http://bugzilla.kernel.org/show_bug.cgi?id=12595 ?
Comment 3 John W. Linville 2009-04-17 14:57:10 UTC

*** This bug has been marked as a duplicate of bug 12595 ***

Note You need to log in before you can comment on or make changes to this bug.