2012-01-24 21:52:35

by Maxime Bizon

[permalink] [raw]
Subject: [iwlegacy/4965] Microcode SW error detected on 3.3rc1


Hi,

I can reliably reproduce this on 3.3rc1 (build from ubuntu ppa), it was
present on 3.2 too.

Linux max-laptop 3.3.0-030300rc1-generic #201201191835 SMP Thu Jan 19 23:36:54 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

[ 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
[ 1053.054273] iwl4965 0000:03:00.0: FH register values:
[ 1053.054305] iwl4965 0000:03:00.0: FH49_RSCSR_CHNL0_STTS_WPTR_REG: 0X06f5ed00
[ 1053.054325] iwl4965 0000:03:00.0: FH49_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0079fd80
[ 1053.054345] iwl4965 0000:03:00.0: FH49_RSCSR_CHNL0_WPTR: 0X00000028
[ 1053.054365] iwl4965 0000:03:00.0: FH49_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819000
[ 1053.054385] iwl4965 0000:03:00.0: FH49_MEM_RSSR_SHARED_CTRL_REG: 0X0000003c
[ 1053.054404] iwl4965 0000:03:00.0: FH49_MEM_RSSR_RX_STATUS_REG: 0X07430000
[ 1053.054423] iwl4965 0000:03:00.0: FH49_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 1053.054443] iwl4965 0000:03:00.0: FH49_TSSR_TX_STATUS_REG: 0X07ff0003
[ 1053.054463] iwl4965 0000:03:00.0: FH49_TSSR_TX_ERROR_REG: 0X00000000
[ 1053.054809] ieee80211 phy0: Hardware restart was requested
[ 1053.407016] iwl4965 0000:03:00.0: Stopping AGG while state not ON or starting
[ 1053.407028] iwl4965 0000:03:00.0: queue number out of range: 0, must be 7 to 14

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.

Any log I could enable to help you ?

Thanks,

--
Maxime




2012-01-25 13:28:00

by Stanislaw Gruszka

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

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


Attachments:
(No filename) (1.91 kB)
iwl4965_th_disabled.patch (543.00 B)
Download all attachments