Re: iwlwifi: Microcode SW error

2021-04-19 Thread Johannes Berg
On Mon, 2021-04-19 at 11:54 +0200, Gonsolo wrote:
> > Do you use MFP?
> 
> I don't think so. I'm running unmodified kernels from Ubuntu PPA and
> don't meddle with WIFI configs.
> How can I find out?
> 
> > Could be related to
> > https://patchwork.kernel.org/project/linux-wireless/patch/20210416134702.ef8486a64293.If0a9025b39c71bb91b11dd6ac45547aba682df34@changeid/
> > I saw similar issues internally without that fix.
> 
> A quick "git grep" didn't show any of these two patches in the 5.12-
> rc7 kernel.
> 
Yeah, my bad, I only put the offending patch into -next, I
misremembered. Sorry for the noise.

johannes



Re: iwlwifi: Microcode SW error

2021-04-19 Thread Gonsolo
> Do you use MFP?

I don't think so. I'm running unmodified kernels from Ubuntu PPA and
don't meddle with WIFI configs.
How can I find out?

> Could be related to
> https://patchwork.kernel.org/project/linux-wireless/patch/20210416134702.ef8486a64293.If0a9025b39c71bb91b11dd6ac45547aba682df34@changeid/
> I saw similar issues internally without that fix.

A quick "git grep" didn't show any of these two patches in the 5.12-rc7 kernel.

-- 
g


Re: iwlwifi: Microcode SW error

2021-04-19 Thread Johannes Berg
On Mon, 2021-04-19 at 11:08 +0200, Gon Solo wrote:
> 
> [Apr19 10:50] iwlwifi :02:00.0: Queue 10 is active on fifo 1 and stuck 
> for 1 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
> [  +0,001244] iwlwifi :02:00.0: Microcode SW error detected.  Restarting 
> 0x200.
> 
> The rest of the message is at the end of this message.
> The kernel version is "Linux Limone 5.12.0-051200rc7-lowlatency" from 
> https://kernel.ubuntu.com/~kernel-ppa/mainline.
> The relevant output of lspci is:
> 02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
> 
> I would be glad to provide additional details if somebody is interested
> to fix this bug.
> 
> Regards,
> Andreas
> 
> [[Apr19 10:50] iwlwifi :02:00.0: Queue 10 is active on fifo 1 and stuck 
> for 1 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
> [  +0,001244] iwlwifi :02:00.0: Microcode SW error detected.  Restarting 
> 0x200.
> [  +0,000160] iwlwifi :02:00.0: Start IWL Error Log Dump:
> [  +0,04] iwlwifi :02:00.0: Status: 0x0040, count: 6
> [  +0,05] iwlwifi :02:00.0: Loaded firmware version: 17.3216344376.0 
> 7260-17.ucode
> [  +0,05] iwlwifi :02:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN   

Do you use MFP?

Could be related to

https://patchwork.kernel.org/project/linux-wireless/patch/20210416134702.ef8486a64293.If0a9025b39c71bb91b11dd6ac45547aba682df34@changeid/

I saw similar issues internally without that fix.

johannes



iwlwifi: Microcode SW error

2021-04-19 Thread Gon Solo
Hi all!

My internet was very slow and I saw the following in dmesg:

[Apr19 10:50] iwlwifi :02:00.0: Queue 10 is active on fifo 1 and stuck for 
1 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
[  +0,001244] iwlwifi :02:00.0: Microcode SW error detected.  Restarting 
0x200.

The rest of the message is at the end of this message.
The kernel version is "Linux Limone 5.12.0-051200rc7-lowlatency" from 
https://kernel.ubuntu.com/~kernel-ppa/mainline.
The relevant output of lspci is:
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

I would be glad to provide additional details if somebody is interested
to fix this bug.

Regards,
Andreas

[[Apr19 10:50] iwlwifi :02:00.0: Queue 10 is active on fifo 1 and stuck for 
1 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
[  +0,001244] iwlwifi :02:00.0: Microcode SW error detected.  Restarting 
0x200.
[  +0,000160] iwlwifi :02:00.0: Start IWL Error Log Dump:
[  +0,04] iwlwifi :02:00.0: Status: 0x0040, count: 6
[  +0,05] iwlwifi :02:00.0: Loaded firmware version: 17.3216344376.0 
7260-17.ucode
[  +0,05] iwlwifi :02:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN   
[  +0,05] iwlwifi :02:00.0: 0x02B0 | trm_hw_status0
[  +0,03] iwlwifi :02:00.0: 0x | trm_hw_status1
[  +0,04] iwlwifi :02:00.0: 0x0B30 | branchlink2
[  +0,04] iwlwifi :02:00.0: 0x000164C0 | interruptlink1
[  +0,03] iwlwifi :02:00.0: 0x000164C0 | interruptlink2
[  +0,04] iwlwifi :02:00.0: 0x | data1
[  +0,03] iwlwifi :02:00.0: 0x0080 | data2
[  +0,03] iwlwifi :02:00.0: 0x0703 | data3
[  +0,04] iwlwifi :02:00.0: 0x5440EBF3 | beacon time
[  +0,04] iwlwifi :02:00.0: 0xF0BCB49D | tsf low
[  +0,03] iwlwifi :02:00.0: 0x0097 | tsf hi
[  +0,03] iwlwifi :02:00.0: 0x | time gp1
[  +0,04] iwlwifi :02:00.0: 0x0845CB55 | time gp2
[  +0,03] iwlwifi :02:00.0: 0x | uCode revision type
[  +0,04] iwlwifi :02:00.0: 0x0011 | uCode version major
[  +0,03] iwlwifi :02:00.0: 0xBFB58538 | uCode version minor
[  +0,04] iwlwifi :02:00.0: 0x0144 | hw version
[  +0,03] iwlwifi :02:00.0: 0x40489204 | board version
[  +0,03] iwlwifi :02:00.0: 0x001C | hcmd
[  +0,04] iwlwifi :02:00.0: 0x00022002 | isr0
[  +0,03] iwlwifi :02:00.0: 0x | isr1
[  +0,03] iwlwifi :02:00.0: 0x000A | isr2
[  +0,03] iwlwifi :02:00.0: 0x0041D4C0 | isr3
[  +0,04] iwlwifi :02:00.0: 0x | isr4
[  +0,03] iwlwifi :02:00.0: 0x0110 | last cmd Id
[  +0,03] iwlwifi :02:00.0: 0x | wait_event
[  +0,04] iwlwifi :02:00.0: 0x0080 | l2p_control
[  +0,03] iwlwifi :02:00.0: 0x00010020 | l2p_duration
[  +0,04] iwlwifi :02:00.0: 0x003F | l2p_mhvalid
[  +0,03] iwlwifi :02:00.0: 0x0080 | l2p_addr_match
[  +0,03] iwlwifi :02:00.0: 0x0005 | lmpm_pmg_sel
[  +0,03] iwlwifi :02:00.0: 0x15041745 | timestamp
[  +0,04] iwlwifi :02:00.0: 0x00348098 | flow_handler
[  +0,66] iwlwifi :02:00.0: Fseq Registers:
[  +0,57] iwlwifi :02:00.0: 0x | FSEQ_ERROR_CODE
[  +0,57] iwlwifi :02:00.0: 0x | FSEQ_TOP_INIT_VERSION
[  +0,56] iwlwifi :02:00.0: 0x | FSEQ_CNVIO_INIT_VERSION
[  +0,56] iwlwifi :02:00.0: 0x | FSEQ_OTP_VERSION
[  +0,71] iwlwifi :02:00.0: 0x | FSEQ_TOP_CONTENT_VERSION
[  +0,69] iwlwifi :02:00.0: 0x | FSEQ_ALIVE_TOKEN
[  +0,74] iwlwifi :02:00.0: 0x | FSEQ_CNVI_ID
[  +0,74] iwlwifi :02:00.0: 0x | FSEQ_CNVR_ID
[  +0,61] iwlwifi :02:00.0: 0x | CNVI_AUX_MISC_CHIP
[  +0,61] iwlwifi :02:00.0: 0x | CNVR_AUX_MISC_CHIP
[  +0,59] iwlwifi :02:00.0: 0x | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[  +0,62] iwlwifi :02:00.0: 0x | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[  +0,73] iwlwifi :02:00.0: Collecting data: trigger 2 fired.
[  +0,08] ieee80211 phy0: Hardware restart was requested


Re: iwlwifi: microcode SW error detected

2019-08-20 Thread Chris Clayton



On 18/08/2019 09:21, Chris Clayton wrote:
> 
> 
> On 17/08/2019 08:19, Chris Clayton wrote:
>> Hi.
>>
>> I just found the following error in the output from dmesg.
>>
>> [ 4023.460058] iwlwifi :02:00.0: Microcode SW error detected. Restarting 
>> 0x0.
> 
> Since reporting, I've found that this problem is being explored in the thread 
> that starts at
> https://marc.info/?l=linux-kernel=15660151913.

Mmm, that's a dead link. Don't knwo what happened there but the real link is
https://marc.info/?l=linux-kernel=156265244614126

> 
> Chris
> 


Re: iwlwifi: microcode SW error detected

2019-08-18 Thread Chris Clayton



On 17/08/2019 08:19, Chris Clayton wrote:
> Hi.
> 
> I just found the following error in the output from dmesg.
> 
> [ 4023.460058] iwlwifi :02:00.0: Microcode SW error detected. Restarting 
> 0x0.

Since reporting, I've found that this problem is being explored in the thread 
that starts at
https://marc.info/?l=linux-kernel=15660151913.

Chris


iwlwifi: microcode SW error detected

2019-08-17 Thread Chris Clayton
Hi.

I just found the following error in the output from dmesg.

[ 4023.460058] iwlwifi :02:00.0: Microcode SW error detected. Restarting 
0x0.
[ 4023.460178] iwlwifi :02:00.0: Start IWL Error Log Dump:
[ 4023.460179] iwlwifi :02:00.0: Status: 0x0080, count: 6
[ 4023.460180] iwlwifi :02:00.0: Loaded firmware version: 46.93e59cf4.0
[ 4023.460181] iwlwifi :02:00.0: 0x22CE | ADVANCED_SYSASSERT
[ 4023.460182] iwlwifi :02:00.0: 0x0590A2F0 | trm_hw_status0
[ 4023.460182] iwlwifi :02:00.0: 0x | trm_hw_status1
[ 4023.460183] iwlwifi :02:00.0: 0x00488472 | branchlink2
[ 4023.460183] iwlwifi :02:00.0: 0x00479392 | interruptlink1
[ 4023.460184] iwlwifi :02:00.0: 0x | interruptlink2
[ 4023.460184] iwlwifi :02:00.0: 0x012C | data1
[ 4023.460185] iwlwifi :02:00.0: 0x | data2
[ 4023.460186] iwlwifi :02:00.0: 0x0400 | data3
[ 4023.460186] iwlwifi :02:00.0: 0x42001A44 | beacon time
[ 4023.460187] iwlwifi :02:00.0: 0x4E9F05CD | tsf low
[ 4023.460187] iwlwifi :02:00.0: 0x00D8 | tsf hi
[ 4023.460188] iwlwifi :02:00.0: 0x | time gp1
[ 4023.460188] iwlwifi :02:00.0: 0xEF55F6D0 | time gp2
[ 4023.460189] iwlwifi :02:00.0: 0x0001 | uCode revision type
[ 4023.460190] iwlwifi :02:00.0: 0x002E | uCode version major
[ 4023.460190] iwlwifi :02:00.0: 0x93E59CF4 | uCode version minor
[ 4023.460191] iwlwifi :02:00.0: 0x0321 | hw version
[ 4023.460191] iwlwifi :02:00.0: 0x00C89004 | board version
[ 4023.460192] iwlwifi :02:00.0: 0x0A05001C | hcmd
[ 4023.460192] iwlwifi :02:00.0: 0xA2F93802 | isr0
[ 4023.460193] iwlwifi :02:00.0: 0x0004 | isr1
[ 4023.460193] iwlwifi :02:00.0: 0x1802 | isr2
[ 4023.460194] iwlwifi :02:00.0: 0x40417DCD | isr3
[ 4023.460195] iwlwifi :02:00.0: 0x | isr4
[ 4023.460195] iwlwifi :02:00.0: 0x0A04001C | last cmd Id
[ 4023.460196] iwlwifi :02:00.0: 0x00018802 | wait_event
[ 4023.460196] iwlwifi :02:00.0: 0x4A88 | l2p_control
[ 4023.460197] iwlwifi :02:00.0: 0x0020 | l2p_duration
[ 4023.460197] iwlwifi :02:00.0: 0x03BF | l2p_mhvalid
[ 4023.460198] iwlwifi :02:00.0: 0x00EF | l2p_addr_match
[ 4023.460198] iwlwifi :02:00.0: 0x000D | lmpm_pmg_sel
[ 4023.460199] iwlwifi :02:00.0: 0x19071250 | timestamp
[ 4023.460199] iwlwifi :02:00.0: 0x14C0E8E8 | flow_handler
[ 4023.460257] iwlwifi :02:00.0: 0x | ADVANCED_SYSASSERT
[ 4023.460257] iwlwifi :02:00.0: 0x | umac branchlink1
[ 4023.460258] iwlwifi :02:00.0: 0x | umac branchlink2
[ 4023.460258] iwlwifi :02:00.0: 0x | umac interruptlink1
[ 4023.460259] iwlwifi :02:00.0: 0x | umac interruptlink2
[ 4023.460260] iwlwifi :02:00.0: 0x | umac data1
[ 4023.460260] iwlwifi :02:00.0: 0x | umac data2
[ 4023.460261] iwlwifi :02:00.0: 0x | umac data3
[ 4023.460261] iwlwifi :02:00.0: 0x | umac major
[ 4023.460262] iwlwifi :02:00.0: 0x | umac minor
[ 4023.460262] iwlwifi :02:00.0: 0x | frame pointer
[ 4023.460263] iwlwifi :02:00.0: 0x | stack pointer
[ 4023.460263] iwlwifi :02:00.0: 0x | last host cmd
[ 4023.460264] iwlwifi :02:00.0: 0x | isr status reg
[ 4023.460278] iwlwifi :02:00.0: Fseq Registers:
[ 4023.460282] iwlwifi :02:00.0: 0x0568FC22 | FSEQ_ERROR_CODE
[ 4023.460289] iwlwifi :02:00.0: 0x | FSEQ_TOP_INIT_VERSION
[ 4023.460297] iwlwifi :02:00.0: 0xDFFC324F | FSEQ_CNVIO_INIT_VERSION
[ 4023.460304] iwlwifi :02:00.0: 0xA371 | FSEQ_OTP_VERSION
[ 4023.460312] iwlwifi :02:00.0: 0xC338B29A | FSEQ_TOP_CONTENT_VERSION
[ 4023.460319] iwlwifi :02:00.0: 0xD9E91E16 | FSEQ_ALIVE_TOKEN
[ 4023.460327] iwlwifi :02:00.0: 0xAC99E6BF | FSEQ_CNVI_ID
[ 4023.460334] iwlwifi :02:00.0: 0x07665623 | FSEQ_CNVR_ID
[ 4023.460342] iwlwifi :02:00.0: 0x01000200 | CNVI_AUX_MISC_CHIP
[ 4023.460349] iwlwifi :02:00.0: 0x01300202 | CNVR_AUX_MISC_CHIP
[ 4023.460357] iwlwifi :02:00.0: 0x485B | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 4023.460413] iwlwifi :02:00.0: 0x0BADCAFE | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 4023.460421] iwlwifi :02:00.0: Collecting data: trigger 2 fired.
[ 4023.460424] ieee80211 phy0: Hardware restart was requested
[ 4024.639366] iwlwifi :02:00.0: Applying debug destination EXTERNAL_DRAM
[ 4024.753171] iwlwifi :02:00.0: Applying debug destination EXTERNAL_DRAM
[ 4024.817999] iwlwifi :02:00.0: FW already configured (0) - re-configuring
[ 4024.829374] iwlwifi :02:00.0: BIOS contains WGDS but no WRDS

The output messages from the driver when the system starts are:

[3.667365] iwlwifi :02:00.0: enabling device ( -> 0002)
[3.670357] iwlwifi :02:00.0: Found debug destination: EXTERNAL_DRAM
[3.670360] iwlwifi :02:00.0: Found debug configuration: 0
[3.670525] iwlwifi 

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-18 Thread Emmanuel Grumbach
Emmanuel Grumbach
egrumb...@gmail.com


On Fri, Jul 17, 2015 at 5:06 PM, Toralf Förster  wrote:
> On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
>> You are not using the latest firmware. Please upgrade to 25.17.12.0.
>
> At least with this firmware the issue is self-healing after a short while - I 
> do not need to restart the interface.
>

Thanks for the feedback.

> FWIW it worked flawlessly since Dec last year so far - no software upgrade at 
> the fritz box nor any hardware change.
> So the current kernel uncovered then an (existing hidden ?) issue, right ?

The current kernel might just be loading a newer firmware that has a regression.
It may very well be a regression in iwlwifi (kernel or firmware).
What you can try is to use an older firmware. kernel 4.0 can still
load -9.ucode and up. So you can just try to downgrade the firmware.
Please use: ethtool -i wlan0 to check the version of the firmware.
Don't rely on the information in modinfo.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-18 Thread Emmanuel Grumbach
Emmanuel Grumbach
egrumb...@gmail.com


On Fri, Jul 17, 2015 at 5:06 PM, Toralf Förster toralf.foers...@gmx.de wrote:
 On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
 You are not using the latest firmware. Please upgrade to 25.17.12.0.

 At least with this firmware the issue is self-healing after a short while - I 
 do not need to restart the interface.


Thanks for the feedback.

 FWIW it worked flawlessly since Dec last year so far - no software upgrade at 
 the fritz box nor any hardware change.
 So the current kernel uncovered then an (existing hidden ?) issue, right ?

The current kernel might just be loading a newer firmware that has a regression.
It may very well be a regression in iwlwifi (kernel or firmware).
What you can try is to use an older firmware. kernel 4.0 can still
load -9.ucode and up. So you can just try to downgrade the firmware.
Please use: ethtool -i wlan0 to check the version of the firmware.
Don't rely on the information in modinfo.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-17 Thread Toralf Förster
On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
> You are not using the latest firmware. Please upgrade to 25.17.12.0.

At least with this firmware the issue is self-healing after a short while - I 
do not need to restart the interface.

-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-17 Thread Toralf Förster
On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
 You are not using the latest firmware. Please upgrade to 25.17.12.0.

At least with this firmware the issue is self-healing after a short while - I 
do not need to restart the interface.

-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/15/2015 09:47 PM, Emmanuel Grumbach wrote:
> Fritz!Box - oh well. We've had lots of issues with this kind of APs.
> 
> There is already an open bug:
> https://bugzilla.kernel.org/show_bug.cgi?id=97291
> 
AH thx.

FWIW it worked flawlessly since Dec last year so far - no software upgrade at 
the fritz box nor any hardware change.
So the current kernel uncovered then an (existing hidden ?) issue, right ?


-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Emmanuel Grumbach
On Wed, Jul 15, 2015 at 10:20 PM, Toralf Förster  wrote:
> On 07/15/2015 07:48 PM, Emmanuel Grumbach wrote:
>> Can you reproduce easily?
>>
> Unfortunately not, it happens sometimes gtwice a day, and then I do have 5 or 
> more daays in a row w/o any problems.
>
>> What bandwidth are you using? 20Mhz or 40Mhz?
> 20 MHz accordingly to my Fritz!Box 7360 display.
>
Fritz!Box - oh well. We've had lots of issues with this kind of APs.

There is already an open bug:
https://bugzilla.kernel.org/show_bug.cgi?id=97291
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/15/2015 07:48 PM, Emmanuel Grumbach wrote:
> Can you reproduce easily?
> 
Unfortunately not, it happens sometimes gtwice a day, and then I do have 5 or 
more daays in a row w/o any problems.

> What bandwidth are you using? 20Mhz or 40Mhz?
20 MHz accordingly to my Fritz!Box 7360 display.

-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Emmanuel Grumbach
>>
>> On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster  
>> wrote:
>>> At a Gentoo (hardened) I experienced - starting with hardened kernel 
>>> 4.0.6-r1 - the (attached) hickup of the "03:00.0 Network controller: Intel 
>>> Corporation Wireless 7260 (rev 83)" at a ThinkPad T440s. The network stucks 
>>> till I do restart the network device using /etc/init.d/net.wlp3s0.
>>
>> You are not using the latest firmware. Please upgrade to 25.17.12.0.
>> You'll be able to find the firmware here:
>> https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode
>>
>
> With the mentioned firmware and 4.0.8 I get now repaetingly (restart of the 
> servcie helped):
>

Ouch.
The stack doesn't make much sense, but it seems that you are still
suffering from the stuck queue. The WARNING itself (Timeout waiting
for hardware access) is interesting.
Can you reproduce easily?

What bandwidth are you using? 20Mhz or 40Mhz?

>
>
> Jul 15 15:21:32 t44 kernel: ieee80211 phy0: Hardware restart was requested
> Jul 15 15:21:34 t44 kernel: [ cut here ]
> Jul 15 15:21:34 t44 kernel: WARNING: CPU: 0 PID: 0 at 
> drivers/net/wireless/iwlwifi/pcie/trans.c:1385 
> iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]()
> Jul 15 15:21:34 t44 kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 
> 0x080003d8)
> Jul 15 15:21:34 t44 kernel: Modules linked in: nf_conntrack_ipv6 
> nf_defrag_ipv6 ip6table_filter ip6_tables ipt_MASQUERADE 
> nf_nat_masquerade_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit ipt_REJECT 
> nf_reject_ipv4 xt_recent xt_tcpudp xt_conntrack iptable_raw iptable_nat 
> nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack 
> iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry lockd grace 
> ctr ccm sunrpc af_packet bridge stp llc tun rc_dib0700_rc5 hid_cherry 
> dib7000p hid_generic usbhid hid dvb_usb_dib0700 dib3000mc dvb_usb dvb_core 
> dib0070 dib7000m dibx000_common dib0090 rc_core usblp snd_hda_codec_generic 
> arc4 rtsx_pci_sdmmc mmc_core evdev x86_pkg_temp_thermal coretemp kvm_intel 
> kvm iwlmvm aesni_intel aes_x86_64 glue_helper mac80211 lrw gf128mul 
> ablk_helper cryptd psmouse iwlwifi pcspkr atkbd
> Jul 15 15:21:34 t44 kernel:  i2c_i801 i915 cfg80211 cfbfillrect rtsx_pci 
> cfbimgblt fbcon bitblit thermal i2c_algo_bit softcursor font cfbcopyarea wmi 
> drm_kms_helper snd_hda_intel snd_hda_controller snd_hda_codec drm snd_pcm 
> i2c_core thinkpad_acpi intel_gtt snd_timer nvram battery agpgart rfkill ac 
> tpm_tis tpm xhci_pci ehci_pci xhci_hcd ehci_hcd video lpc_ich mfd_core fb 
> button fbdev usbcore snd processor e1000e thermal_sys usb_common soundcore 
> hwmon [last unloaded: microcode]
> Jul 15 15:21:34 t44 kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
> 4.0.8-hardened #1
> Jul 15 15:21:34 t44 kernel: Hardware name: LENOVO 20AQCTO1WW/20AQCTO1WW, BIOS 
> GJET83WW (2.33 ) 03/09/2015
> Jul 15 15:21:34 t44 kernel:  810dc4c6  
> c05ca3a8 88033e203c58
> Jul 15 15:21:34 t44 kernel:  8159675c  
> 88033e203ca8 88033e203c98
> Jul 15 15:21:34 t44 kernel:  81059fea c05c8c18 
> c05ca3a8 0569
> Jul 15 15:21:34 t44 kernel: Call Trace:
> Jul 15 15:21:34 t44 kernel:[] ? 
> print_modules+0x76/0xe0
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl8000_base_params+0x1c68/0x299b [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] dump_stack+0x45/0x5d
> Jul 15 15:21:34 t44 kernel:  [] 
> warn_slowpath_common+0x8a/0xd0
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl8000_base_params+0x4d8/0x299b [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl8000_base_params+0x1c68/0x299b [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl_trans_pcie_write32+0x40/0x40 [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] warn_slowpath_fmt+0x5a/0x70
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] ? iwl_poll_bit+0x45/0x90 
> [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] 
> iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] iwl_read_direct32+0x37/0x80 
> [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] 
> iwl_pcie_txq_stuck_timer+0x138/0x3e0 [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] call_timer_fn+0x47/0x140
> Jul 15 15:21:34 t44 kernel:  [] 
> run_timer_softirq+0x291/0x450
> Jul 15 15:21:34 t44 kernel:  [] ? 
> iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
> Jul 15 15:21:34 t44 kernel:  [] __do_softirq+0xf8/0x290
> Jul 15 15:21:34 t44 kernel:  [] irq_exit+0xa5/0xb0
> Jul 15 15:21:34 t44 kernel:  [] 
> smp_apic_timer_interrupt+0x55/0x70
> Jul 15 15:21:34 t44 kernel:  [] 
> apic_timer_interrupt+0x83/0x90
> Jul 15 15:21:34 t44 kernel:[] ? 
> __hrtimer_start_range_ns+0x1a5/0x3d0
> Jul 15 15:21:34 

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
> Hi,
> 
> On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster  
> wrote:
>> At a Gentoo (hardened) I experienced - starting with hardened kernel 
>> 4.0.6-r1 - the (attached) hickup of the "03:00.0 Network controller: Intel 
>> Corporation Wireless 7260 (rev 83)" at a ThinkPad T440s. The network stucks 
>> till I do restart the network device using /etc/init.d/net.wlp3s0.
> 
> You are not using the latest firmware. Please upgrade to 25.17.12.0.
> You'll be able to find the firmware here:
> https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode
> 

With the mentioned firmware and 4.0.8 I get now repaetingly (restart of the 
servcie helped):



Jul 15 15:21:32 t44 kernel: ieee80211 phy0: Hardware restart was requested
Jul 15 15:21:34 t44 kernel: [ cut here ]
Jul 15 15:21:34 t44 kernel: WARNING: CPU: 0 PID: 0 at 
drivers/net/wireless/iwlwifi/pcie/trans.c:1385 
iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]()
Jul 15 15:21:34 t44 kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 
0x080003d8)
Jul 15 15:21:34 t44 kernel: Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 
ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_log_ipv4 
nf_log_common xt_LOG xt_limit ipt_REJECT nf_reject_ipv4 xt_recent xt_tcpudp 
xt_conntrack iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 
nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables nfsd 
auth_rpcgss oid_registry lockd grace ctr ccm sunrpc af_packet bridge stp llc 
tun rc_dib0700_rc5 hid_cherry dib7000p hid_generic usbhid hid dvb_usb_dib0700 
dib3000mc dvb_usb dvb_core dib0070 dib7000m dibx000_common dib0090 rc_core 
usblp snd_hda_codec_generic arc4 rtsx_pci_sdmmc mmc_core evdev 
x86_pkg_temp_thermal coretemp kvm_intel kvm iwlmvm aesni_intel aes_x86_64 
glue_helper mac80211 lrw gf128mul ablk_helper cryptd psmouse iwlwifi pcspkr 
atkbd
Jul 15 15:21:34 t44 kernel:  i2c_i801 i915 cfg80211 cfbfillrect rtsx_pci 
cfbimgblt fbcon bitblit thermal i2c_algo_bit softcursor font cfbcopyarea wmi 
drm_kms_helper snd_hda_intel snd_hda_controller snd_hda_codec drm snd_pcm 
i2c_core thinkpad_acpi intel_gtt snd_timer nvram battery agpgart rfkill ac 
tpm_tis tpm xhci_pci ehci_pci xhci_hcd ehci_hcd video lpc_ich mfd_core fb 
button fbdev usbcore snd processor e1000e thermal_sys usb_common soundcore 
hwmon [last unloaded: microcode]
Jul 15 15:21:34 t44 kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
4.0.8-hardened #1
Jul 15 15:21:34 t44 kernel: Hardware name: LENOVO 20AQCTO1WW/20AQCTO1WW, BIOS 
GJET83WW (2.33 ) 03/09/2015
Jul 15 15:21:34 t44 kernel:  810dc4c6  c05ca3a8 
88033e203c58
Jul 15 15:21:34 t44 kernel:  8159675c  88033e203ca8 
88033e203c98
Jul 15 15:21:34 t44 kernel:  81059fea c05c8c18 c05ca3a8 
0569
Jul 15 15:21:34 t44 kernel: Call Trace:
Jul 15 15:21:34 t44 kernel:[] ? 
print_modules+0x76/0xe0
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl8000_base_params+0x1c68/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] dump_stack+0x45/0x5d
Jul 15 15:21:34 t44 kernel:  [] warn_slowpath_common+0x8a/0xd0
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl8000_base_params+0x4d8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl8000_base_params+0x1c68/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl_trans_pcie_write32+0x40/0x40 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] warn_slowpath_fmt+0x5a/0x70
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] ? iwl_poll_bit+0x45/0x90 
[iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] 
iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] iwl_read_direct32+0x37/0x80 
[iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] 
iwl_pcie_txq_stuck_timer+0x138/0x3e0 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] call_timer_fn+0x47/0x140
Jul 15 15:21:34 t44 kernel:  [] run_timer_softirq+0x291/0x450
Jul 15 15:21:34 t44 kernel:  [] ? 
iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [] __do_softirq+0xf8/0x290
Jul 15 15:21:34 t44 kernel:  [] irq_exit+0xa5/0xb0
Jul 15 15:21:34 t44 kernel:  [] 
smp_apic_timer_interrupt+0x55/0x70
Jul 15 15:21:34 t44 kernel:  [] apic_timer_interrupt+0x83/0x90
Jul 15 15:21:34 t44 kernel:[] ? 
__hrtimer_start_range_ns+0x1a5/0x3d0
Jul 15 15:21:34 t44 kernel:  [] ? 
cpuidle_enter_state+0x87/0x1a0
Jul 15 15:21:34 t44 kernel:  [] cpuidle_enter+0x29/0x40
Jul 15 15:21:34 t44 kernel:  [] cpu_startup_entry+0x358/0x3e0
Jul 15 15:21:34 t44 kernel:  [] ? 
early_idt_handler_array+0x120/0x120
Jul 15 15:21:34 t44 kernel:  [] rest_init+0x72/0x80
Jul 15 15:21:34 t44 kernel:  [] start_kernel+0x610/0x621
Jul 15 15:21:34 t44 kernel:  

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Emmanuel Grumbach

 On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster toralf.foers...@gmx.de 
 wrote:
 At a Gentoo (hardened) I experienced - starting with hardened kernel 
 4.0.6-r1 - the (attached) hickup of the 03:00.0 Network controller: Intel 
 Corporation Wireless 7260 (rev 83) at a ThinkPad T440s. The network stucks 
 till I do restart the network device using /etc/init.d/net.wlp3s0.

 You are not using the latest firmware. Please upgrade to 25.17.12.0.
 You'll be able to find the firmware here:
 https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode


 With the mentioned firmware and 4.0.8 I get now repaetingly (restart of the 
 servcie helped):


Ouch.
The stack doesn't make much sense, but it seems that you are still
suffering from the stuck queue. The WARNING itself (Timeout waiting
for hardware access) is interesting.
Can you reproduce easily?

What bandwidth are you using? 20Mhz or 40Mhz?



 Jul 15 15:21:32 t44 kernel: ieee80211 phy0: Hardware restart was requested
 Jul 15 15:21:34 t44 kernel: [ cut here ]
 Jul 15 15:21:34 t44 kernel: WARNING: CPU: 0 PID: 0 at 
 drivers/net/wireless/iwlwifi/pcie/trans.c:1385 
 iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]()
 Jul 15 15:21:34 t44 kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 
 0x080003d8)
 Jul 15 15:21:34 t44 kernel: Modules linked in: nf_conntrack_ipv6 
 nf_defrag_ipv6 ip6table_filter ip6_tables ipt_MASQUERADE 
 nf_nat_masquerade_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit ipt_REJECT 
 nf_reject_ipv4 xt_recent xt_tcpudp xt_conntrack iptable_raw iptable_nat 
 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack 
 iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry lockd grace 
 ctr ccm sunrpc af_packet bridge stp llc tun rc_dib0700_rc5 hid_cherry 
 dib7000p hid_generic usbhid hid dvb_usb_dib0700 dib3000mc dvb_usb dvb_core 
 dib0070 dib7000m dibx000_common dib0090 rc_core usblp snd_hda_codec_generic 
 arc4 rtsx_pci_sdmmc mmc_core evdev x86_pkg_temp_thermal coretemp kvm_intel 
 kvm iwlmvm aesni_intel aes_x86_64 glue_helper mac80211 lrw gf128mul 
 ablk_helper cryptd psmouse iwlwifi pcspkr atkbd
 Jul 15 15:21:34 t44 kernel:  i2c_i801 i915 cfg80211 cfbfillrect rtsx_pci 
 cfbimgblt fbcon bitblit thermal i2c_algo_bit softcursor font cfbcopyarea wmi 
 drm_kms_helper snd_hda_intel snd_hda_controller snd_hda_codec drm snd_pcm 
 i2c_core thinkpad_acpi intel_gtt snd_timer nvram battery agpgart rfkill ac 
 tpm_tis tpm xhci_pci ehci_pci xhci_hcd ehci_hcd video lpc_ich mfd_core fb 
 button fbdev usbcore snd processor e1000e thermal_sys usb_common soundcore 
 hwmon [last unloaded: microcode]
 Jul 15 15:21:34 t44 kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
 4.0.8-hardened #1
 Jul 15 15:21:34 t44 kernel: Hardware name: LENOVO 20AQCTO1WW/20AQCTO1WW, BIOS 
 GJET83WW (2.33 ) 03/09/2015
 Jul 15 15:21:34 t44 kernel:  810dc4c6  
 c05ca3a8 88033e203c58
 Jul 15 15:21:34 t44 kernel:  8159675c  
 88033e203ca8 88033e203c98
 Jul 15 15:21:34 t44 kernel:  81059fea c05c8c18 
 c05ca3a8 0569
 Jul 15 15:21:34 t44 kernel: Call Trace:
 Jul 15 15:21:34 t44 kernel:  IRQ  [810dc4c6] ? 
 print_modules+0x76/0xe0
 Jul 15 15:21:34 t44 kernel:  [c05ca3a8] ? 
 iwl8000_base_params+0x1c68/0x299b [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [8159675c] dump_stack+0x45/0x5d
 Jul 15 15:21:34 t44 kernel:  [81059fea] 
 warn_slowpath_common+0x8a/0xd0
 Jul 15 15:21:34 t44 kernel:  [c05c8c18] ? 
 iwl8000_base_params+0x4d8/0x299b [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05ca3a8] ? 
 iwl8000_base_params+0x1c68/0x299b [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05ca5f8] ? 
 iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05bed30] ? 
 iwl_trans_pcie_write32+0x40/0x40 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [8105a08a] warn_slowpath_fmt+0x5a/0x70
 Jul 15 15:21:34 t44 kernel:  [c05ca5f8] ? 
 iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05b4045] ? iwl_poll_bit+0x45/0x90 
 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05c0aeb] 
 iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05b40c7] iwl_read_direct32+0x37/0x80 
 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05bb5f8] 
 iwl_pcie_txq_stuck_timer+0x138/0x3e0 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [c05bb4c0] ? 
 iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [810bc0b7] call_timer_fn+0x47/0x140
 Jul 15 15:21:34 t44 kernel:  [810bc551] 
 run_timer_softirq+0x291/0x450
 Jul 15 15:21:34 t44 kernel:  [c05bb4c0] ? 
 iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
 Jul 15 15:21:34 t44 kernel:  [8105e6a8] __do_softirq+0xf8/0x290
 Jul 15 15:21:34 t44 kernel:  [8105ea85] irq_exit+0xa5/0xb0
 

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Emmanuel Grumbach
On Wed, Jul 15, 2015 at 10:20 PM, Toralf Förster toralf.foers...@gmx.de wrote:
 On 07/15/2015 07:48 PM, Emmanuel Grumbach wrote:
 Can you reproduce easily?

 Unfortunately not, it happens sometimes gtwice a day, and then I do have 5 or 
 more daays in a row w/o any problems.

 What bandwidth are you using? 20Mhz or 40Mhz?
 20 MHz accordingly to my Fritz!Box 7360 display.

Fritz!Box - oh well. We've had lots of issues with this kind of APs.

There is already an open bug:
https://bugzilla.kernel.org/show_bug.cgi?id=97291
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/15/2015 09:47 PM, Emmanuel Grumbach wrote:
 Fritz!Box - oh well. We've had lots of issues with this kind of APs.
 
 There is already an open bug:
 https://bugzilla.kernel.org/show_bug.cgi?id=97291
 
AH thx.

FWIW it worked flawlessly since Dec last year so far - no software upgrade at 
the fritz box nor any hardware change.
So the current kernel uncovered then an (existing hidden ?) issue, right ?


-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/15/2015 07:48 PM, Emmanuel Grumbach wrote:
 Can you reproduce easily?
 
Unfortunately not, it happens sometimes gtwice a day, and then I do have 5 or 
more daays in a row w/o any problems.

 What bandwidth are you using? 20Mhz or 40Mhz?
20 MHz accordingly to my Fritz!Box 7360 display.

-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-15 Thread Toralf Förster
On 07/14/2015 08:43 AM, Emmanuel Grumbach wrote:
 Hi,
 
 On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster toralf.foers...@gmx.de 
 wrote:
 At a Gentoo (hardened) I experienced - starting with hardened kernel 
 4.0.6-r1 - the (attached) hickup of the 03:00.0 Network controller: Intel 
 Corporation Wireless 7260 (rev 83) at a ThinkPad T440s. The network stucks 
 till I do restart the network device using /etc/init.d/net.wlp3s0.
 
 You are not using the latest firmware. Please upgrade to 25.17.12.0.
 You'll be able to find the firmware here:
 https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode
 

With the mentioned firmware and 4.0.8 I get now repaetingly (restart of the 
servcie helped):



Jul 15 15:21:32 t44 kernel: ieee80211 phy0: Hardware restart was requested
Jul 15 15:21:34 t44 kernel: [ cut here ]
Jul 15 15:21:34 t44 kernel: WARNING: CPU: 0 PID: 0 at 
drivers/net/wireless/iwlwifi/pcie/trans.c:1385 
iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]()
Jul 15 15:21:34 t44 kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 
0x080003d8)
Jul 15 15:21:34 t44 kernel: Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 
ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_log_ipv4 
nf_log_common xt_LOG xt_limit ipt_REJECT nf_reject_ipv4 xt_recent xt_tcpudp 
xt_conntrack iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 
nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables nfsd 
auth_rpcgss oid_registry lockd grace ctr ccm sunrpc af_packet bridge stp llc 
tun rc_dib0700_rc5 hid_cherry dib7000p hid_generic usbhid hid dvb_usb_dib0700 
dib3000mc dvb_usb dvb_core dib0070 dib7000m dibx000_common dib0090 rc_core 
usblp snd_hda_codec_generic arc4 rtsx_pci_sdmmc mmc_core evdev 
x86_pkg_temp_thermal coretemp kvm_intel kvm iwlmvm aesni_intel aes_x86_64 
glue_helper mac80211 lrw gf128mul ablk_helper cryptd psmouse iwlwifi pcspkr 
atkbd
Jul 15 15:21:34 t44 kernel:  i2c_i801 i915 cfg80211 cfbfillrect rtsx_pci 
cfbimgblt fbcon bitblit thermal i2c_algo_bit softcursor font cfbcopyarea wmi 
drm_kms_helper snd_hda_intel snd_hda_controller snd_hda_codec drm snd_pcm 
i2c_core thinkpad_acpi intel_gtt snd_timer nvram battery agpgart rfkill ac 
tpm_tis tpm xhci_pci ehci_pci xhci_hcd ehci_hcd video lpc_ich mfd_core fb 
button fbdev usbcore snd processor e1000e thermal_sys usb_common soundcore 
hwmon [last unloaded: microcode]
Jul 15 15:21:34 t44 kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
4.0.8-hardened #1
Jul 15 15:21:34 t44 kernel: Hardware name: LENOVO 20AQCTO1WW/20AQCTO1WW, BIOS 
GJET83WW (2.33 ) 03/09/2015
Jul 15 15:21:34 t44 kernel:  810dc4c6  c05ca3a8 
88033e203c58
Jul 15 15:21:34 t44 kernel:  8159675c  88033e203ca8 
88033e203c98
Jul 15 15:21:34 t44 kernel:  81059fea c05c8c18 c05ca3a8 
0569
Jul 15 15:21:34 t44 kernel: Call Trace:
Jul 15 15:21:34 t44 kernel:  IRQ  [810dc4c6] ? 
print_modules+0x76/0xe0
Jul 15 15:21:34 t44 kernel:  [c05ca3a8] ? 
iwl8000_base_params+0x1c68/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [8159675c] dump_stack+0x45/0x5d
Jul 15 15:21:34 t44 kernel:  [81059fea] warn_slowpath_common+0x8a/0xd0
Jul 15 15:21:34 t44 kernel:  [c05c8c18] ? 
iwl8000_base_params+0x4d8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05ca3a8] ? 
iwl8000_base_params+0x1c68/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05ca5f8] ? 
iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05bed30] ? 
iwl_trans_pcie_write32+0x40/0x40 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [8105a08a] warn_slowpath_fmt+0x5a/0x70
Jul 15 15:21:34 t44 kernel:  [c05ca5f8] ? 
iwl8000_base_params+0x1eb8/0x299b [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05b4045] ? iwl_poll_bit+0x45/0x90 
[iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05c0aeb] 
iwl_trans_pcie_grab_nic_access+0x14b/0x160 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05b40c7] iwl_read_direct32+0x37/0x80 
[iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05bb5f8] 
iwl_pcie_txq_stuck_timer+0x138/0x3e0 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [c05bb4c0] ? 
iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [810bc0b7] call_timer_fn+0x47/0x140
Jul 15 15:21:34 t44 kernel:  [810bc551] run_timer_softirq+0x291/0x450
Jul 15 15:21:34 t44 kernel:  [c05bb4c0] ? 
iwl_pcie_alloc_dma_ptr.isra.23+0x110/0x110 [iwlwifi]
Jul 15 15:21:34 t44 kernel:  [8105e6a8] __do_softirq+0xf8/0x290
Jul 15 15:21:34 t44 kernel:  [8105ea85] irq_exit+0xa5/0xb0
Jul 15 15:21:34 t44 kernel:  [815a0975] 
smp_apic_timer_interrupt+0x55/0x70
Jul 15 15:21:34 t44 kernel:  [8159eb13] apic_timer_interrupt+0x83/0x90
Jul 15 15:21:34 t44 kernel:  EOI  [810bee15] ? 
__hrtimer_start_range_ns+0x1a5/0x3d0
Jul 15 15:21:34 

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-14 Thread Emmanuel Grumbach
Hi,

On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster  wrote:
> At a Gentoo (hardened) I experienced - starting with hardened kernel 4.0.6-r1 
> - the (attached) hickup of the "03:00.0 Network controller: Intel Corporation 
> Wireless 7260 (rev 83)" at a ThinkPad T440s. The network stucks till I do 
> restart the network device using /etc/init.d/net.wlp3s0.

You are not using the latest firmware. Please upgrade to 25.17.12.0.
You'll be able to find the firmware here:
https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode

Note that users reported an improvement with -13.ucode, but you'll
need 4.1 to use that firmware.
The issue you are facing can be caused by a lot of factor and hence it
is hard to know if the newer versions will fix your problem, but it is
worth trying.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-14 Thread Emmanuel Grumbach
Hi,

On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster toralf.foers...@gmx.de wrote:
 At a Gentoo (hardened) I experienced - starting with hardened kernel 4.0.6-r1 
 - the (attached) hickup of the 03:00.0 Network controller: Intel Corporation 
 Wireless 7260 (rev 83) at a ThinkPad T440s. The network stucks till I do 
 restart the network device using /etc/init.d/net.wlp3s0.

You are not using the latest firmware. Please upgrade to 25.17.12.0.
You'll be able to find the firmware here:
https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode

Note that users reported an improvement with -13.ucode, but you'll
need 4.1 to use that firmware.
The issue you are facing can be caused by a lot of factor and hence it
is hard to know if the newer versions will fix your problem, but it is
worth trying.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-13 Thread Toralf Förster
At a Gentoo (hardened) I experienced - starting with hardened kernel 4.0.6-r1 - 
the (attached) hickup of the "03:00.0 Network controller: Intel Corporation 
Wireless 7260 (rev 83)" at a ThinkPad T440s. The network stucks till I do 
restart the network device using /etc/init.d/net.wlp3s0.

Whilst it doesn't happen too often :

kern.log-20150628.gz:Jun 28 13:22:14 t44 kernel: [10834.174446] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 29 16:51:39 t44 kernel: [  624.439353] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 29 17:06:39 t44 kernel: [ 1525.363875] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 30 17:33:39 t44 kernel: [36046.223577] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jul  1 21:25:31 t44 kernel: [79159.821177] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:44:12 t44 kernel: [ 1445.297971] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:44:36 t44 kernel: [ 1469.484403] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:45:31 t44 kernel: [ 1524.456420] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 13:19:15 t44 kernel: [31053.095047] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 20:10:01 t44 kernel: [55726.004528] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 23:20:00 t44 kernel: [67138.498066] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log:Jul 13 23:35:40 t44 kernel: [42668.521705] iwlwifi :03:00.0: 
Microcode SW error detected. Restarting 0x200.

it is nevertheless annoying.

I tried to switch from sys-kernel/linux-firmware-20150206 to version -20150320 
but that doesn't helped.

Any hints where to start ?

-- 
Toralf, pgp key: 872AE508 0076E94E

Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: Queue 16 stuck for 1 ms.
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: Current SW read_ptr 95 
write_ptr 97
Jul 13 23:35:39 t44 kernel: iwl data: : 00 00 00 80 00 00 00 00 01 00 
00 00 00 00 00 00  
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(0) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(1) = 0xc0110060
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(2) = 0x80201031
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(3) = 0x80300091
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(4) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(5) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(6) = 0x
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: FH TRBs(7) = 0x00709071
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 0 is active and mapped to 
fifo 3 ra_tid 0x [145,146]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 1 is active and mapped to 
fifo 2 ra_tid 0x [50,50]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 2 is active and mapped to 
fifo 1 ra_tid 0x [250,250]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 3 is active and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 4 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 5 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 6 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 7 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 8 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 9 is active and mapped to 
fifo 7 ra_tid 0x [114,114]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 10 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 11 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 12 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 13 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 14 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 15 is active and mapped to 
fifo 5 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 16 is active and mapped to 
fifo 1 ra_tid 0x [95,97]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 17 is inactive and mapped 
to fifo 2 

iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-13 Thread Toralf Förster
At a Gentoo (hardened) I experienced - starting with hardened kernel 4.0.6-r1 - 
the (attached) hickup of the 03:00.0 Network controller: Intel Corporation 
Wireless 7260 (rev 83) at a ThinkPad T440s. The network stucks till I do 
restart the network device using /etc/init.d/net.wlp3s0.

Whilst it doesn't happen too often :

kern.log-20150628.gz:Jun 28 13:22:14 t44 kernel: [10834.174446] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 29 16:51:39 t44 kernel: [  624.439353] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 29 17:06:39 t44 kernel: [ 1525.363875] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jun 30 17:33:39 t44 kernel: [36046.223577] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150705.gz:Jul  1 21:25:31 t44 kernel: [79159.821177] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:44:12 t44 kernel: [ 1445.297971] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:44:36 t44 kernel: [ 1469.484403] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 11 18:45:31 t44 kernel: [ 1524.456420] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 13:19:15 t44 kernel: [31053.095047] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 20:10:01 t44 kernel: [55726.004528] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log-20150713.gz:Jul 12 23:20:00 t44 kernel: [67138.498066] iwlwifi 
:03:00.0: Microcode SW error detected.  Restarting 0x200.
kern.log:Jul 13 23:35:40 t44 kernel: [42668.521705] iwlwifi :03:00.0: 
Microcode SW error detected. Restarting 0x200.

it is nevertheless annoying.

I tried to switch from sys-kernel/linux-firmware-20150206 to version -20150320 
but that doesn't helped.

Any hints where to start ?

-- 
Toralf, pgp key: 872AE508 0076E94E

Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: Queue 16 stuck for 1 ms.
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: Current SW read_ptr 95 
write_ptr 97
Jul 13 23:35:39 t44 kernel: iwl data: : 00 00 00 80 00 00 00 00 01 00 
00 00 00 00 00 00  
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(0) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(1) = 0xc0110060
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(2) = 0x80201031
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(3) = 0x80300091
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(4) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(5) = 0x
Jul 13 23:35:39 t44 kernel: iwlwifi :03:00.0: FH TRBs(6) = 0x
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: FH TRBs(7) = 0x00709071
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 0 is active and mapped to 
fifo 3 ra_tid 0x [145,146]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 1 is active and mapped to 
fifo 2 ra_tid 0x [50,50]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 2 is active and mapped to 
fifo 1 ra_tid 0x [250,250]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 3 is active and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 4 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 5 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 6 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 7 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 8 is inactive and mapped to 
fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 9 is active and mapped to 
fifo 7 ra_tid 0x [114,114]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 10 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 11 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 12 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 13 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 14 is inactive and mapped 
to fifo 0 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 15 is active and mapped to 
fifo 5 ra_tid 0x [0,0]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 16 is active and mapped to 
fifo 1 ra_tid 0x [95,97]
Jul 13 23:35:40 t44 kernel: iwlwifi :03:00.0: Q 17 is inactive and mapped 
to fifo 2