FS#21683 - [kernel26] 2.6.36 panic when iwlagn (IPW4965) and rt2x00pci (RT2500) are put into monitor mode
Attached to Project:
Arch Linux
Opened by Borromini (Borromini) - Saturday, 13 November 2010, 08:11 GMT
Last edited by Ionut Biru (wonder) - Sunday, 19 June 2011, 18:15 GMT
Opened by Borromini (Borromini) - Saturday, 13 November 2010, 08:11 GMT
Last edited by Ionut Biru (wonder) - Sunday, 19 June 2011, 18:15 GMT
|
Details
Description:
Trying to put my Intel IPW4965 wireless card into monitor mode results in a kernel panic with kernel26 2.6.36 from [Testing]. Putting the card into monitor mode works fine - bringing it up in that mode will cause a kernel panic though, X shuts down, I get dumped to a console (mouse cursor still there, but doesn't react to any input though). This happens both with the mac80211 stack/iwlagn driver part of kernel26 and with the compat-wireless mac80211 stack/iwlagn driver (I tested 2.6.36* patches). I have tested this various times - it breaks every single time. I have had similar behaviour with 2.6.36 on my desktop which has a Ralink RT2500 PCI card; there I won't get a kernel panic, but the system will lock up - sometimes I can bring up the interface in monitor mode, but most of the time it will just lock up while trying to do so; if it does not lock up while bringing up the interface, it will do so in the next few seconds that follow. As with my laptop, rolling back to 2.6.35.8 works just fine. Related topic on the BBS: https://bbs.archlinux.org/viewtopic.php?id=108139 Additional info: * tested with stock kernel26 package from [Testing] (2.6.36-ARCH) * tested with vanilla kernel package (based on the kernel26 PKGBUILD, without Arch patches, just upstream source code); I suspect it to be a configuration problem (arch-dev-public shows quite some additional stuff enabled in 2.6.36?) * works fine with 2.6.35.8 (latest kernel26 package from [core]) Steps to reproduce: - Install kernel26 from [Testing] - Bring down the wireless interface (ifconfig wlan0 down) - Put wireless interface into monitor mode (iwconfig wlan0 mode monitor) - Bring up wireless interface again (ifconfig wlan0 up) |
This task depends upon
Closed by Ionut Biru (wonder)
Sunday, 19 June 2011, 18:15 GMT
Reason for closing: Fixed
Additional comments about closing: since 2.6.37
Sunday, 19 June 2011, 18:15 GMT
Reason for closing: Fixed
Additional comments about closing: since 2.6.37
Same with Broadcom 4311 and 4312 chips.
ONLY mentioned because broadcom not mentioned in here or BBS thread.
I can put in monitor mode but when I run "airodump", crash with kernel panic.
[root@balcebu ~]# dmesg |tail -1
usbcore: registered new interface driver rtl8187
[root@balcebu ~]# iwconfig wlan1 mode monitor
[root@balcebu ~]# iwconfig wlan1
wlan1 IEEE 802.11bg Mode:Monitor Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
[root@balcebu ~]# airodump-ng wlan1
- kernel panic -
The person sitting next to me with Gentoo can do it just fine with 2.6.36. OP may be correct in that it may be a configuration issue. I'm getting his config and will report back with my findings.
Patch can be found here: http://www.spinics.net/lists/netdev/msg148705.html
Rebuilt using supplied patch, All is well in broadcom land as far as Moniter Mode goes.
I can at least enter moniter mode, Injection works and exit Moniter mode. With no segfault/crash/error.
however while testing my computer completely froze when I disconnected the usb wifi adapter. no kernel panic or anything, just a hard freeze. rebooted but didn't find anything interesting in the logs at all.
I did note in dmesg however there are 12 lines with "hpet1: lost N rtc interrupts".. N being anything from 1 to 24. but I dont know if this is relevant here.
all this testing was done with aircrack-ng on kernel26-2.6.36.2 with the above patch and driver rtl8187 from compat-wireless-patched from aur (http://aur.archlinux.org/packages.php?ID=41472).
anyway personally I'd say what happened yesterday was just some weirdness. but I'll share this here in case it happens to someone else with this patch.
- Atheros Communications Inc. AR9285
- 2.6.36 and 2.6.35 from pkgbuild aur and normal installation