Bug#593243: linux-image-2.6.32-5-686: WPA2 is not available anymore with rt2860sta (open networks work), upstream driver works too

2010-08-16 Thread Médéric RIBREUX
Package: linux-2.6
Version: 2.6.32-20
Severity: important


Since linux-2.6.32-18, the rt2860sta wifi driver is not able to associate 
against WPA/WPA2 AP with wpa_supplicant.

I guess that the problem is linked to bug #574766. After the update from 
linux-image-2.6.32-5-686 2.6.32-17 to 2.6.32-18, the wpa stops working (nothing 
has been changed in the config files). It seems that wpa_supplicant can't 
associate with the AP even if its configuration is good. With open network, it 
works. This does not comes from a problem of binary firmware as linux-ralink is 
installed on my computer.

Since the failure, the only thing related to wifi that has changed on my system 
is the kernel and its modules. All the other packets (wpasupplicant, 
wireless-tools, firmware-ralink) haven't been modified or updated.

I tried to use the rt2860-source package but it won't compile at all ! Then, as 
a workaround, I manually compiled the upstream driver (v2.4.0) and the WPA 
connexion with wpa_supplicant works really well. I tried to use the sid version 
of the image (2.6.32-20) but it doesn't work too.

I guess that the problem is in the modifications of the rt2860sta module...

-- Package-specific info:
** Version:
Linux version 2.6.32-5-686 (Debian 2.6.32-20) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-2) ) #1 SMP Thu Aug 12 13:38:27 UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 
root=UUID=42434b27-e2b8-4029-b098-6d884820a7bb ro quiet

** Not tainted

** Kernel log:
[ 4188.005914] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 863
[ 4199.129935] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1094
[ 4206.149935] ===rt_ioctl_giwscan. 6(6) BSS returned, data-length = 725
[ 4215.169883] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4225.185939] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4235.609913] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1104
[ 4243.721919] ===rt_ioctl_giwscan. 6(6) BSS returned, data-length = 725
[ 4250.837923] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4258.853937] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 888
[ 4263.753933] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4273.081949] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1126
[ 4281.302956] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 988
[ 4286.197937] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1000
[ 4295.421936] ===rt_ioctl_giwscan. 5(5) BSS returned, data-length = 613
[ 4366.625865] ===rt_ioctl_giwscan. 6(6) BSS returned, data-length = 725
[ 4370.529931] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1093
[ 4380.365964] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1095
[ 4384.269921] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4388.285909] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 829
[ 4398.309875] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4402.213935] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4406.221937] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1104
[ 4410.233929] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4415.241921] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1232
[ 4419.253919] ===rt_ioctl_giwscan. 6(6) BSS returned, data-length = 725
[ 4423.265932] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1219
[ 4427.281932] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 967
[ 4431.289897] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1095
[ 4440.113944] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1336
[ .017939] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1325
[ 4449.025930] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4453.037940] ===rt_ioctl_giwscan. 6(6) BSS returned, data-length = 725
[ 4457.049939] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4461.069865] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1094
[ 4482.001941] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1199
[ 4486.905935] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1093
[ 4490.913857] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 862
[ 4494.925926] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1000
[ 4498.937930] ===rt_ioctl_giwscan. 7(7) BSS returned, data-length = 957
[ 4502.949933] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1232
[ 4506.961937] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1336
[ 4510.973935] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1336
[ 4514.989931] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1000
[ 4518.997935] ===rt_ioctl_giwscan. 9(9) BSS returned, data-length = 1104
[ 4523.009859] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1336
[ 4527.025931] ===rt_ioctl_giwscan. 8(8) BSS returned, data-length = 1122
[ 4532.033927] ===rt_ioctl_giwscan. 10(10) BSS returned, data-length = 1336
[ 4536.045921] 

Bug#593243: linux-image-2.6.32-5-686: WPA2 is not available anymore with rt2860sta (open networks work), upstream driver works too

2010-08-16 Thread Ben Hutchings
On Mon, 2010-08-16 at 17:59 +0200, Médéric RIBREUX wrote:
 Package: linux-2.6
 Version: 2.6.32-20
 Severity: important
 
 
 Since linux-2.6.32-18, the rt2860sta wifi driver is not able to
 associate against WPA/WPA2 AP with wpa_supplicant.
 
 I guess that the problem is linked to bug #574766.

Perhaps.  The rt2860sta driver in 2.6.32-18 actually comes from Linux
2.6.34.  I made this change because there have been many bug fixes and
clean-ups and it was impractical to pick out individual bug fixes.

 After the update from linux-image-2.6.32-5-686 2.6.32-17 to 2.6.32-18,
 the wpa stops working (nothing has been changed in the config files).
 It seems that wpa_supplicant can't associate with the AP even if its
 configuration is good. With open network, it works. This does not
 comes from a problem of binary firmware as linux-ralink is installed
 on my computer.
 
 Since the failure, the only thing related to wifi that has changed on
 my system is the kernel and its modules. All the other packets
 (wpasupplicant, wireless-tools, firmware-ralink) haven't been modified
 or updated.
 
 I tried to use the rt2860-source package but it won't compile at all !

Indeed, that package is no longer maintained.

  Then, as a workaround, I manually compiled the upstream driver
 (v2.4.0) and the WPA connexion with wpa_supplicant works really well.
 I tried to use the sid version of the image (2.6.32-20) but it doesn't
 work too.

Please can you test the version in experimental
(linux-image-2.6.35-trunk-686 version 2.6.35-1~experimental.1)?

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part