Comment 35 for bug 903437

Legrandin (gooksankoo) wrote :

Same problem here, even though the manifestation was much worse. Never had this problem with 11.04 or 11.10.
It is my impression that 12.04 behaved correctly initially though.

To me bug 1009878 sounds different. In that case, the driver stops working altogether.
Here it simply resets itself.

It could be related to rekeying; see these very recent messages on the kernel list:

http://www.spinics.net/lists/stable-commits/msg18110.html
http://choon.net/forum/read.php?21,1137712

With the following configuration, I get the "stuck queue" less frequently and I can reach high transfer rates (whereas before I was limited to ~50Kbyte/s). Network-manager leads to worse results (more log messages, lower rates).

>>> uname -a
Linux Zirconio 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:17:36 UTC 2012 i686 i686 i386 GNU/Linux

>>> lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.1 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
08:03.3 Bridge: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
08:03.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)

>>> rfkill list
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no

>>> iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11abg ESSID:"<removed>"
          Mode:Managed Frequency:2.412 GHz Access Point: <removed>
          Bit Rate=36 Mb/s Tx-Power=15 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Power Management:off
          Link Quality=61/70 Signal level=-49 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:2081 Invalid misc:1952 Missed beacon:0

>>> dmesg | grep iwl3945
[ 11.937886] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 11.937890] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 11.937971] iwl3945 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 11.937986] iwl3945 0000:05:00.0: setting latency timer to 64
[ 11.991383] iwl3945 0000:05:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 11.991388] iwl3945 0000:05:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 11.991545] iwl3945 0000:05:00.0: irq 45 for MSI/MSI-X
[ 41.552027] iwl3945 0000:05:00.0: loaded firmware version 15.32.2.9
[ 4034.260048] iwl3945 0000:05:00.0: Queue 2 stuck for 2000 ms.
[ 4034.260057] iwl3945 0000:05:00.0: On demand firmware reload

>>> cat /etc/modprobe.d/iwl3945.conf
alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1

dpkg -s network-manager | grep Status
Status: deinstall ok config-files

dpkg -s wicd-daemon | grep Status
Status: install ok installed