Search Linux Wireless

Re: [iwlegacy/4965] Microcode SW error detected on 3.3rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, Jan 24, 2012 at 10:51:50PM +0100, Maxime Bizon wrote:
> I can reliably reproduce this on 3.3rc1 (build from ubuntu ppa), it was
> present on 3.2 too.
What was the latest working kernel you know about?

> [ 1053.054034] iwl4965 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [ 1053.054047] iwl4965 0000:03:00.0: Loaded firmware version: 228.61.2.24
> [ 1053.054069] iwl4965 0000:03:00.0: Start IWL Error Log Dump:
> [ 1053.054077] iwl4965 0000:03:00.0: Status: 0x000213E4, count: 5
> [ 1053.054239] iwl4965 0000:03:00.0: Desc                                  Time       data1      data2      line
> [ 1053.054250] iwl4965 0000:03:00.0: NMI_INTERRUPT_WDG            (0x0004) 0643296734 0x00000002 0x07430000 208
> [ 1053.054258] iwl4965 0000:03:00.0: pc      blink1  blink2  ilink1  ilink2  hcmd
> [ 1053.054266] iwl4965 0000:03:00.0: 0x0046C 0x08370 0x004C2 0x006DE 0x018B8 0x7DB001C
[snip]
> Single TCP transfer (AP -> STA) on a 802.11n/HT20 AP 2.4G
> 
> Once rate reaches about 7MB/s, then transfer stalls for 1 second and
> starts again, I get one of this about every minute.
Ehh, looks like scaning problem ..., you can probably workaround it 
by disable_hw_scan=1 module parameter, or setup NetworkManager to
configure constant BSSID (AP MAC address) in your wireless
network parameters in NM, hence stop NM requesting periodic scan.

I'm also attaching patch for test.

> Any log I could enable to help you ?

Yes (if patch does not help) plese configure syslog to log
debug messages into /var/log/kernel (some hint here:
https://fedoraproject.org/wiki/DebugWireless), restart
syslog, then do:

modprobe -r iwl4965
echo > /var/log/kernel
modprobe iwl4965 debug=0x47ffffff
wait minute or two for microcode error.
modprobe -r iwl4965

assure micocode error is in the log, and post me compressed
file. If it will be too big, you can wip out data starting
from microcode error to end of the file.

Thanks
Stanislaw
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c
index 1667232..e4ca7b4 100644
--- a/drivers/net/wireless/iwlegacy/4965-mac.c
+++ b/drivers/net/wireless/iwlegacy/4965-mac.c
@@ -962,7 +962,7 @@ il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif)
 	 * here instead of IL_GOOD_CRC_TH_DISABLED.
 	 */
 	scan->good_CRC_th =
-	    is_active ? IL_GOOD_CRC_TH_DEFAULT : IL_GOOD_CRC_TH_NEVER;
+	    is_active ? IL_GOOD_CRC_TH_DEFAULT : IL_GOOD_CRC_TH_DISABLED;
 
 	band = il->scan_band;
 

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux