Latest working kernel version: 2.6.25-rc1
Earliest failing kernel version: 2.6.25-rc2
Hardware Environment: Intel Core 2 Duo, Intel Wifi 4965AGN, Packard Bell EasyNoteMB86
I have tried 2.6.25-rc2 and there is causes wpa_supplicant to fails and freeze the computer when it is started. I am using WPA-PSK with CCMP encryption. A git-bisect run shows that the first bad commit is the following:
45b503548210fe6f23e92b856421c2a3f05fd034 is first bad commit
Author: Laszlo Attila Toth <email@example.com>
Date: Tue Feb 12 22:42:09 2008 -0800
[RTNETLINK]: Send a single notification on device state changes.
In do_setlink() a single notification is sent at the end of the
function if any modification occured. If the address has been changed,
another notification is sent.
Both of them is required because originally only the NETDEV_CHANGEADDR
notification was sent and although device state change implies address
change, some programs may expect the original notification. It remains
If set_operstate() is called from do_setlink(), it doesn't send a
notification, only if it is called from rtnl_create_link() as earlier.
Signed-off-by: Laszlo Attila Toth <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
If I revert it, wpa_supplicant works correctly.
Steps to reproduce: boot gentoo and wait for net.wlan0 to start. When wpa_supplicant is called, it blocks the computer
Created attachment 14871 [details]
kernel configuration file
yeah, known problem, sorry. You need
*** Bug 10009 has been marked as a duplicate of this bug. ***
*** Bug 10014 has been marked as a duplicate of this bug. ***
Is a full revert needed, or is the problem really just the (introduced) double lock instead of a lock/unlock sequence?
+ dev->link_mode = nla_get_u8(tb[IFLA_LINKMODE]);
On my system (openSUSE 10.3 on HP nx6325) NetworkManager still doesn't work correctly after fixing this deadlock.
And reverting the entire commit fixes the problem.
Patch : http://lkml.org/lkml/2008/2/18/331
With the last patch (in comment #8), wpa_supplicant works correctly.
That last patch cured bug 10009 with b43/bcm4306. The fixed code now also handles the wlan0_rename issue without manual intervention.
Fixed by: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=93b2d4a208eeb19bff95e98c34503ce4b03cd0f9
*** Bug 10005 has been marked as a duplicate of this bug. ***
*** Bug 10058 has been marked as a duplicate of this bug. ***
*** Bug 9946 has been marked as a duplicate of this bug. ***