iwl3945: Intel(R) PRO/Wireless 3945ABG/BG stops working when switching to kernel 2.6.24 on lenovo x60 after upgrade from gutsy

Bug #192493 reported by DSHR
4
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.24 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: linux-ubuntu-modules-2.6.24-8-generic

After upgrading to default hardy kernel, wlan does not work any longer on lenovo x60s.

Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) is detected as eth1 by kernel 2.6.22.

Kernel 2.6.24 detects:

eth1 Link encap:UNSPEC Hardware Adresse 00-19-D2-09-66-73-90-E5-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST MTU:1500 Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan1_rename Link encap:Ethernet Hardware Adresse 00:19:d2:09:66:73
          BROADCAST MULTICAST MTU:1500 Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

dmesg output:
[ 31.836754] iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 31.838066] wmaster0: Selected rate control algorithm 'iwl-3945-rs'

Revision history for this message
DSHR (s-heuer) wrote :
Revision history for this message
DSHR (s-heuer) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi DSHR,

The iwlwifi drivers are actually included in the Ubuntu mainline kernel by default now. I believe the version provided in the mainline kernel is iwlwifi version 1.1.17. I believe the linux-ubuntu-modules package has an updated version of iwlwifi version 1.2.0. I assume you are using the 1.2.0 version and am just curious what the result is if you use the 1.1.17 version. Please let us know your results. Thanks!

Changed in linux-ubuntu-modules-2.6.24:
status: New → Incomplete
Revision history for this message
DSHR (s-heuer) wrote : Re: [Bug 192493] Re: iwl3945: Intel(R) PRO/Wireless 3945ABG/BG stops working when switching to kernel 2.6.24 on lenovo x60 after upgrade from gutsy

Hi Leann,

do I understand it correctly, it is possible to use the iwl driver on my
2.6.22 Kernel? And I should try to get that working (blacklisting
ipw3945 and modprobing iwl3945) or should I try to rebuild
linux-ubuntu-modules with 1.1.17 by downloading the correct driver
version from the internet?

Thanks a lot in advance,

Stephan

Am Dienstag, den 19.02.2008, 17:50 +0000 schrieb Leann Ogasawara:
> Hi DSHR,
>
> The iwlwifi drivers are actually included in the Ubuntu mainline kernel
> by default now. I believe the version provided in the mainline kernel
> is iwlwifi version 1.1.17. I believe the linux-ubuntu-modules package
> has an updated version of iwlwifi version 1.2.0. I assume you are using
> the 1.2.0 version and am just curious what the result is if you use the
> 1.1.17 version. Please let us know your results. Thanks!

Revision history for this message
DSHR (s-heuer) wrote :

I tried to get iwl3945 working on hardy with kernel 2.6.22-14.

I still get the somewhat strange eth1 and wlan0_rename interfaces. Everything is OK:

root@x60:~# iwlist wlan0_rename scanning
wlan0_rename Scan completed :
          Cell 01 - Address: XXX
                    ESSID:"XXX"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=46/100 Signal level=-81 dBm Noise level=-127 dBm
                    Encryption key:on
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
                              6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Extra:tsf=00000415973c259f

But when trying to ifup wlan0_rename I get

ioctl[SIOCSIWAUTH]: Operation not supported

debug output from wpa_supplicant also includes this error message

Googling this gave me:

the WPA supplicant attempts to perform an SIOCSIWAUTH call on the iwlwifi driver, but it is NOT supported by that driver. I just grep'ed through the 2.6.24 release code and it just isn't supported by that driver. Your alternatives are 1/ live with the error msg, 2/ fix the iwlwifi driver and add this feature, 3/ hack the wpa_supplicant code to avoid the error msg, 4/ wait till the driver developer gets around to fixing it.

Revision history for this message
DSHR (s-heuer) wrote :

I switched to network manager for network support and kernel 2.6.24-10.

My wlan is now working with iwl3945!

I still get a wmaster0_rename interface - I think this OK ...

Revision history for this message
Sasquatch (sasquatch) wrote :

I have a similar issue. When I upgraded from the Gutsy kernel to the Hardy kernel, the first time, my wifi wasn't working. I tried a month later, when 2.6.24-5 was released and it worked perfectly (still use it). To get a normal name for my wifi interface, I removed the entry from /etc/udev/rules.d/70-persistent-net.rules and rebooted. The module I use is 1.1.17. When I update to a newer version, the module is changed to 1.2.0 (since I don't know what modules are in the linux-ubuntu-modules package, I install that too, but perhaps I don't need it for my hardware). With module 1.2.0, my wifi doesn't work anymore. It associates to the AP up to e/bssid, but I get no signal, thus no network.
lspci | grep 3945:
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

So, either update the iwl3945 module to a newer version in the linux-ubuntu-modules, or try to fix this. I might also be useful to list all the modules/drivers that are in the packages so people know what to install or not. I have a Fujitsu-Siemens Amilo Pi 1536.
Also, why include the 1.1.17 module with the kernel package and 'overwrite' it with the 1.2.0 from the modules package?

Revision history for this message
DSHR (s-heuer) wrote :

After upgrading network-manager to version 0.6.0 rc2 my wlan stopped working again. Upgrading again to 0.6.0-0ubuntu1 gave no better results until I switched my wlan router to not hide my ssid. With a public ssid iwl3945 works again with network manager. Reading the release notes to network-manager the message

ioctl[SIOCSIWAUTH]: Operation not supported

is not printed any longer. So that problem went away 8-)

Switching to a public SSID is no security risk, I hope. I'm using WPA2 encryption.

Should I post a syslog with and without public ssid?

Revision history for this message
DSHR (s-heuer) wrote :

Maybe the remaining problem is duplicated in Bug #200950?

Revision history for this message
Sasquatch (sasquatch) wrote :

I don't use network manager, I use wpa_supplicant. With the 1.2.0 module, it just won't connect properly. Attached is the syslog when I boot in the 2.6.24-5-generic kernel where it works. Next will have the failing syslog.

Revision history for this message
Sasquatch (sasquatch) wrote :

And here is the syslog of the 2.6.24-12-generic kernel where connecting to the network failes. This is on an 802.1x EAP/TTLS protected network with broadcasted ssid.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Guys,

Just a few things . . .

DSHR it does seem that your remaining issue is a duplicate of bug 200950. I'm going to go ahead and mark this report as a duplicate of that one for now. Please continue to follow bug 200950 and provide any additional useful information when necessary.

Sasquach, it seems you may be experiencing a slightly different gut. Care to open a new bug report? Then per the kernel team's bug policy, can you please attach the following information to the new report. Please be sure to attach each file as a separate attachment.

* uname -a > uname-a.log
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

Also, it wouldn't hurt to attach the syslog info you provided here as well. For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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