upload extremely slow with iwl3945 (regression intrepid)

Bug #288948 reported by tonfa
56
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

I just upgraded to intrepid.

While connect with wifi, using the iwl3945 driver, I get almost no upload (between 2kB/s and 20kB/s while uploading to a computer in the LAN).

This is a regression from intrepid compared to hardy.

relevant bits from dmesg:
[11458.520600] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks
[11458.520618] iwl3945: Copyright(c) 2003-2008 Intel Corporation
[11458.520733] iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[11458.520758] iwl3945 0000:0c:00.0: setting latency timer to 64
[11458.520796] iwl3945: Detected Intel Wireless WiFi Link 3945ABG
[11458.562622] iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
[11458.565898] phy1: Selected rate control algorithm 'iwl-3945-rs'
[11462.620908] iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[11462.623659] firmware: requesting iwlwifi-3945-1.ucode

lspci -vv:
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
 Subsystem: Intel Corporation Device 1021
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 219
 Region 0: Memory at efdff000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>
 Kernel driver in use: iwl3945
 Kernel modules: iwl3945

Tags: kj-expired
Revision history for this message
Ben (bfabre) wrote :

I have exactly the same problem.

Download work fine but my upload is realy slow between 10kb/s to 60kb/s on a local LAN.
On the same computer, in the same place, on windows, I get more than 1mb/s.

modinfo iwl3945
filename: /lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
license: GPL
author: Copyright(c) 2003-2008 Intel Corporation
version: 1.2.26ks
description: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
srcversion: 5C079549ABD48E07B20F3C7
alias: pci:v00008086d00004227sv*sd*bc*sc*i*
alias: pci:v00008086d00004222sv*sd*bc*sc*i*
alias: pci:v00008086d00004227sv*sd00001014bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001044bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001034bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001005bc*sc*i*
depends: mac80211,led-class,cfg80211,rfkill
vermagic: 2.6.27-7-generic SMP mod_unload modversions 586
parm: antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
parm: disable:manually disable the radio (default 0 [radio on]) (int)
parm: hwcrypto:using hardware crypto engine (default 0 [software])
 (int)
parm: debug:debug output mask (int)
parm: disable_hw_scan:disable hardware scanning (default 0) (int)
parm: queues_num:number of hw queues. (int)
parm: qos_enable:enable all QoS functionality (int)

lspci -vv:
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
 Subsystem: Intel Corporation Device 1051
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 217
 Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>
 Kernel driver in use: iwl3945
 Kernel modules: iwl3945

Revision history for this message
JoePub (joepubber) wrote :

Yup, same here. Getting 400KB/s upload on 54G. On a different machine I get 3MB/s.

06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
 Subsystem: Intel Corporation Device 1051
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 217
 Region 0: Memory at de100000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>
 Kernel driver in use: iwl3945
 Kernel modules: iwl3945

modinfo iwl3945
filename: /lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
license: GPL
author: Copyright(c) 2003-2008 Intel Corporation
version: 1.2.26ks
description: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
srcversion: 5C079549ABD48E07B20F3C7
alias: pci:v00008086d00004227sv*sd*bc*sc*i*
alias: pci:v00008086d00004222sv*sd*bc*sc*i*
alias: pci:v00008086d00004227sv*sd00001014bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001044bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001034bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001005bc*sc*i*
depends: mac80211,led-class,cfg80211,rfkill
vermagic: 2.6.27-7-generic SMP mod_unload modversions 586
parm: antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
parm: disable:manually disable the radio (default 0 [radio on]) (int)
parm: hwcrypto:using hardware crypto engine (default 0 [software])
 (int)
parm: debug:debug output mask (int)
parm: disable_hw_scan:disable hardware scanning (default 0) (int)
parm: queues_num:number of hw queues. (int)
parm: qos_enable:enable all QoS functionality (int)

Revision history for this message
vnshng (vnshng) wrote :

I think i have the same problem speeds are too low to stream video to my xbox i have to plug in a cable

Revision history for this message
Philip Peitsch (philip-peitsch) wrote :

Just out of interest, is this from a cold-boot or after suspending? Does reloading the iwl3945 (sudo modprobe -r iwl3945 && sudo modprobe iwl3945) make any difference in speed?

Revision history for this message
tonfa (bboissin) wrote :

Coldboot and suspend, restarting does not help.

Revision history for this message
Alex Parker (bedside-clock) wrote :

Hi,

I too have the same problem - I get ~1.8 MB/s both up and down on Hardy, and on Windows. On Intrepid I still get the ~1.8 MB/s down, but upload doesn't get above ~500 KB/s. I've tried building the 2008-12-03 driver from http://linuxwireless.org/ on Hardy, and get the same results as on Intrepid, so this seems to be a regression in the driver.

Please let me know if I can supply any more details or do any other tests. I'd love to help if possible, as this is holding me back from upgrading to Intrepid.

Revision history for this message
Daniel T Chen (crimsun) wrote :

20:28 < andresmujica> but it seems the issue is solved by this..
20:28 < andresmujica> commit
20:28 < andresmujica> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commit;h=2768672e7a3d1c427f436b0a91c942c2732dc320
20:34 < andresmujica> yeap. it seems to be that issue.

Changed in linux:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
vnshng (vnshng) wrote :

does the status change and the comment by Danial mean a fix will be released soon. if not is there a way I can use the iwl-3945-rs.c to patch mine

Revision history for this message
Michael W. (hotdog003-gmail) wrote :

Hello there! I have exactly the same problem.
According to iperf, my computer has an upload speed of about 4MBits / sec. That means about 500Kbytes/sec. However, all other computers have an upload speed of about 10 Mbits/sec.

The interesting thing is that download speed is right where it should be, 10 Mbits/sec. Perhaps this is because acknowledging the packets when they arrive takes far less bandwidth than sending them?

For what it's worth, I'm running a Linksys WRT54G Wireless G network. My surrounding environment is pretty crowded with other networks, but it's interesting because other hosts do not experience this slowdown.

To show that this is a wireless issue, I used iperf to do a little digging in different network configurations. The numbers are from memory, but I believe they're reasonably accurate.
WPA2, wireless: Up: ~4MBit/s, down: ~10Mbit/s
Moving right next to the router: Up: ~7Mbit/s, down: ~11Mbit/s
Open wireless: Up: ~7Mbit/s, down: ~12Mbit/s
Hardwired to the router, all other hosts wireless: Up: ~24Mbit/s, down: ~26Mbit/s

If somebody'd like, I can re-run the tests and give you exact results.

Revision history for this message
Michael W. (hotdog003-gmail) wrote :

The latest version (as of Jan 7 '09) of iwl3945 from the compat-wireless project seems to fix this.

On another person's open wireless network:
Intrepid's version: up: 1.0 MBit/s, down: 3.7 MBit/s
compat-wireless version: up: 3.1 MBit/s, down: 2.7 MBit/s

Seems to be much better.
However, I couldn't test on my own wireless network because compat-wireless's iwl3945 simply wouldn't connect to my WPA2 network. I hope that'll be fixed so we can get some concrete results.

Revision history for this message
Alex Parker (bedside-clock) wrote :

I can confirm that this seems fixed in compat wireless (I tested 2009-01-17)

Stock 2.6.28-4 kernel down 1.2 MB/s up 250 kb/s
with compat-wireless down 1.4 MB/s up 1.6 MB/s

These speeds are now back to what I had with Hardy - let's hope it gets in to Jaunty :)

Revision history for this message
Alex Parker (bedside-clock) wrote :

I forgot to mention, I tried with the 2009-01-07 version as Hotdog003 had and I too had the problem with not connecting to my WPA2 network, so didn't test.. 2009-01-17 works perfectly with my WPA2 network.

Revision history for this message
William (william-dupre) wrote :

I cannot get the compat-wireless to work.
It keeps failing at the WEP passphrase. (I cannot test without a key on my config so I do not know what would happen in open mode).
The dialog box ask for the passphrase and then tries to connect but fails and reopen to ask the passphrase again.
I had put the latest firmware from linuxwireless.

I then sudo make uninstall to revert to at least a working connection.

Also am now running with the linux-backports-modules-intrepid modules added but it seems this has absolutely no effect. I am back with almost no upload speed. (Only testing source I know is the www.testdevelocidad.es website)

Also I do not understand how I coul try the solution outlined by Daniel T Chen. If it is a patch to the kernel module, I would need more hints to be able to try that.

Thanks for your help.

Revision history for this message
William (william-dupre) wrote :

Issue solved with kernel 2.6.27-11 and the following drivers.

Only thing I do not quite understand is why I had to update manually my GRUB menu.lst to include the 11 kernel version ?
Is it not yet a recommended/pushed kernel ?

Thanks

william@attigliano:~$ uname -a
Linux attigliano 2.6.27-11-generic #1 SMP Fri Jan 23 13:58:13 UTC 2009 x86_64 GNU/Linux
william@attigliano:~$ modinfo iwl3945
filename: /lib/modules/2.6.27-11-generic/updates/iwl3945.ko
firmware: lbm-iwlwifi-3945-2.ucode
license: GPL
author: Copyright(c) 2003-2008 Intel Corporation <email address hidden>
version: 1.2.26ks
description: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
srcversion: DBB13413D90D8B107B50E4B
alias: pci:v00008086d00004227sv*sd*bc*sc*i*
alias: pci:v00008086d00004222sv*sd*bc*sc*i*
alias: pci:v00008086d00004227sv*sd00001014bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001044bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001034bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001005bc*sc*i*
depends: lbm_cw-mac80211,led-class,rfkill,lbm_cw-cfg80211,lib80211
vermagic: 2.6.27-11-generic SMP mod_unload modversions
parm: antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
parm: disable:manually disable the radio (default 0 [radio on]) (int)
parm: hwcrypto:using hardware crypto engine (default 0 [software])
 (int)
parm: debug:debug output mask (uint)
parm: disable_hw_scan:disable hardware scanning (default 0) (int)
parm: queues_num:number of hw queues. (int)

Revision history for this message
Pierpaolo Follia (pfollia) wrote :
Download full text (3.5 KiB)

Is it possible that with the kernel 2.6.27-12 the issue is up there again?
I don't have problems using 2.6.27-11, but with 2.6.27-12 performance over my home lan (both upload and download) are very poor.

pfollia@madchicken-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 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.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 21)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
15:00.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
pfollia@madchicken-laptop:~$ uname -a
Linux madchicken-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
pfollia@madchicken-laptop:~$ modinfo iwl3945
filename: /lib/modules/2.6.27-11-generic/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
license: GPL
author: Copyright(c) 2003-2008 Intel Corporation
version: 1.2.26ks
description: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
srcversion: B8570227953474842B9209D
alias: pci:v00008086d00004227sv*sd*bc*sc*i*
alias: pci:v00008086d00004222sv*sd*bc*sc*i*
alias: pci:v00008086d00004227sv*sd00001014bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001044bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001034bc*sc*i*
alias: pci:v00008086d00004222sv*sd00001005bc*sc*i*
depends: mac80211,led-class,cfg80211,rfkill
vermagic: 2.6.27-11-generic SMP mod_unload modversions 586
parm: antenna:select antenna (1=Main, ...

Read more...

Revision history for this message
Paul Zaremba (pez-launchpad) wrote :

I have this problem with 2.6.27-11-generic. Installing compat-wireless (2009-03-14) resolved the issue.

└─(21:59:%)── lspci ──(Sat,Mar14)─┘
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 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.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (reva1)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
06:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
06:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
06:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01)

Revision history for this message
Kasper Peeters (kasper-peeters) wrote :

I am seeing this in jaunty, kernel 2.6.28-16-generic. Upload (scp) of a large file started
at about 450 Kb/s and flattened off at 90 Kb/s.

Upload via ethernet cable is as expected.

Revision history for this message
xens (r-aviolat) wrote :

Got the same problem on Karmic 9.10

Here's what I did:

http://linuxwireless.org/en/users/Download
2° download && extract && cd -> compat-wireless-2.6.tar.bz2
3° ./scripts/driver-select -> select the IWL2945
4° sudo make unload -> unload existing driver
5° sudo make
6° sudo make install
7° reboot
8° tell me if it's better or not :)

I uploaded 10GB of data from my laptop to my local server, for testing purpose, it seems to be rocking stable now ! (1000KB/s/2000KB/s)

Revision history for this message
samotham (samotham) wrote :

I tried it on my computer, it's worse than before since i can't load iwl3945 now... so i've got no wireless connection at all now :)

how do I undo what I did ?

Changed in linux (Ubuntu):
status: Triaged → Fix Committed
status: Fix Committed → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.