With an Intel 7260 wireless card installed, and the iwlwifi-7620-8.ucode downloaded from the Intel support site installed, the following operation causes the kernel to lock ifconfig wlan0 down iwconfig wlan0 mode monitor ifconfig wlan0 up iwconfig wlan0 freq 2462M The same set of operations with the iwlwifi-7620-7.ucode firmware works. Intel recommends the 7620-8 firmware with the 3.14.2 kernel, and there are other problems with the card that warranted the search to upgrade the firmware/drivers to solve.
do you have a log of the failing case?
Created attachment 135231 [details] kern.log + kernel config file The attached file (crash.log) contains the log from the system startup through the execution if the ifconfig commands to cause the lockup. Once locked up, a power reset was done so the log file could be extracted. I also appended the kernel config file that was used to build the 3.14.2 kernel on the platform.
Oh - I just noticed that you are using iwconfig. This tool is deprecated. Can you please use iw instead? I'll try to reproduce with iwconfig, but this is really really low priority.
(In reply to Emmanuel Grumbach from comment #3) > Oh - I just noticed that you are using iwconfig. > > This tool is deprecated. Can you please use iw instead? > I'll try to reproduce with iwconfig, but this is really really low priority. the behavior and log file is exactly the same with the use of iw
I am on 3.14.3: sudo modprobe iwlwifi sudo ifconfig wlan0 down sudo iw wlan0 set type monitor sudo ifconfig wlan0 up sudo iw wlan0 set channel 1 sudo tcpdump -i wlan0 -s 65000 <lots of packets on my screen> So I don't what is your problem, but I have the exact same FW as you: iwlwifi 0000:02:00.0: loaded firmware version 22.24.8.0 op_mode iwlmvm
(In reply to Emmanuel Grumbach from comment #5) > I am on 3.14.3: > > sudo modprobe iwlwifi > sudo ifconfig wlan0 down > sudo iw wlan0 set type monitor > sudo ifconfig wlan0 up > sudo iw wlan0 set channel 1 > sudo tcpdump -i wlan0 -s 65000 > > <lots of packets on my screen> > > So I don't what is your problem, but I have the exact same FW as you: > iwlwifi 0000:02:00.0: loaded firmware version 22.24.8.0 op_mode iwlmvm This exact procedure worked for me as well. But with the same procedure setting the channel to 6, the kernel locks
Same problem with channel 11. The only channel that works is 1
Created attachment 135371 [details] fix for montor mode Please test the patch attached
If i follow this advice: > I am on 3.14.3: > > sudo modprobe iwlwifi > sudo ifconfig wlan0 down > sudo iw wlan0 set type monitor > sudo ifconfig wlan0 up > sudo iw wlan0 set channel 1 > sudo tcpdump -i wlan0 -s 65000 > > <lots of packets on my screen> It works on channel 1. If i switch to channel 9 it looks up instantly.
are you sure you applied the patch? again - I could reproduce the deadlock and I tested my fix.
If you're talking about this patch: https://bugzilla.kernel.org/attachment.cgi?id=135371&action=diff yes. It was just not in the lines the patch is reffering to. In kernel 3.14.3 the ASYNC change is in line 799. Might that be the problem?
(In reply to stefan.bauer from comment #11) > If you're talking about this patch: > > https://bugzilla.kernel.org/attachment.cgi?id=135371&action=diff > > yes. It was just not in the lines the patch is reffering to. In kernel > 3.14.3 the ASYNC change is in line 799. Might that be the problem? no - this should be fine.
hell - I just reproduced the issue. Somehow it was fixed for an a backport tree. I'll poke at it
Created attachment 135461 [details] same fix for 3.14 This patch is for 3.14. The previous patch is for 3.15.
I have applied the patch to 3.14.2 and confirm the issue is resolved. Thanks much for the quick response and resolution.
Same here works with the latest patch for 3.14! Thank you!