On Fri, May 25, 2018 1:45 pm, Stefan Sperling wrote:
> On Sat, Feb 24, 2018 at 08:54:47PM -0500, trondd wrote:
>> On Sat, February 24, 2018 4:05 pm, Stefan Sperling wrote:
>> > On Sat, Feb 24, 2018 at 03:21:14PM -0500, trondd wrote:
>> >> Went back to HEAD and reporduced the problem immediatly.  Applied the
>> >> patch and
>> >> that seems to fix it.  Running the patch without IWM_DEBUG for now to
>> >> verify
>> >> stability.
>> >
>> >> Feb 24 14:42:07 portabsd /bsd: iwm0: 0000001C | hcmd
>> >
>> > This "host command" code is the command used to transmit a frame:
>> >
>> > #define IWM_TX_CMD              0x1c
>> >
>> > So it seems the firmware is crashing during an attempt to send a frame
>> > while a background scan is in progress.
>> > It's unclear why this is happening. It could be a firmware bug, or it
>> > could be misuse of the firmware's API by the driver.
>> >
>> > Your observation that my diff fixes it means that setting the SSID of
>> a
>> > an AP in the background scan command is somehow related to this crash.
>> >
>> > One possibility is that a firmware upgrade could fix this.
>> > But in any case, setting the SSID during a background scan is not
>> > necessary.
>> > So if my diff works, we can just commit it and stop worrying about the
>> > firwmare's problems.
>> >
>>
>> It's been running without any problems all day.  Thanks Stefan.
>>
>> Tim.
>>
>
> Hi again,
>
> Can you still reproduce this problem (firmware error on Tx during
> bgscan) with -current and this diff?
>

Yes.  It still happens.

May 25 18:11:50 portabsd /bsd: iwm0: begin background scan
May 25 18:11:50 portabsd /bsd: iwm0: fatal firmware error
May 25 18:11:50 portabsd /bsd: iwm0: RUN -> INIT
May 25 18:11:51 portabsd /bsd: iwm0: begin active scan
May 25 18:11:51 portabsd /bsd: iwm0: INIT -> SCAN
May 25 18:11:54 portabsd /bsd: iwm0: end active scan
May 25 18:11:54 portabsd /bsd:  + 88:9f:fa:0b:83:46    3   +32 54M   ess 
privacy   rsn  "decepticons"
May 25 18:11:54 portabsd /bsd: iwm0: SCAN -> AUTH
May 25 18:11:54 portabsd /bsd: iwm0: sending auth to 88:9f:fa:0b:83:46 on
channel 3 mode 11g
May 25 18:11:54 portabsd /bsd: iwm0: AUTH -> ASSOC
May 25 18:11:54 portabsd /bsd: iwm0: sending assoc_req to
88:9f:fa:0b:83:46 on channel 3 mode 11g
May 25 18:11:54 portabsd /bsd: iwm0: received msg 1/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:54 portabsd /bsd: iwm0: sending msg 2/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:54 portabsd /bsd: iwm0: ASSOC -> RUN
May 25 18:11:54 portabsd /bsd: iwm0: associated with 88:9f:fa:0b:83:46
ssid "decepticons" channel 3 start MCS 0 short preamble long slot time HT
enabled
May 25 18:11:54 portabsd /bsd: iwm0: missed beacon threshold set to 7
beacons, beacon interval is 100 TU
May 25 18:11:54 portabsd /bsd: iwm0: received msg 1/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:54 portabsd /bsd: iwm0: sending msg 2/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:54 portabsd /bsd: iwm0: received msg 3/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:54 portabsd /bsd: iwm0: sending msg 4/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:55 portabsd /bsd: iwm0: begin background scan
May 25 18:11:55 portabsd /bsd: iwm0: fatal firmware error
May 25 18:11:55 portabsd /bsd: iwm0: RUN -> INIT
May 25 18:11:55 portabsd /bsd: iwm0: begin active scan
May 25 18:11:55 portabsd /bsd: iwm0: INIT -> SCAN
May 25 18:11:58 portabsd /bsd: iwm0: end active scan
May 25 18:11:58 portabsd /bsd:  + 88:9f:fa:0b:83:46    3   +28 54M   ess 
privacy   rsn  "decepticons"
May 25 18:11:58 portabsd /bsd: iwm0: SCAN -> AUTH
May 25 18:11:58 portabsd /bsd: iwm0: sending auth to 88:9f:fa:0b:83:46 on
channel 3 mode 11g
May 25 18:11:58 portabsd /bsd: iwm0: AUTH -> ASSOC
May 25 18:11:58 portabsd /bsd: iwm0: sending assoc_req to
88:9f:fa:0b:83:46 on channel 3 mode 11g
May 25 18:11:59 portabsd /bsd: iwm0: received msg 1/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: sending msg 2/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: ASSOC -> RUN
May 25 18:11:59 portabsd /bsd: iwm0: associated with 88:9f:fa:0b:83:46
ssid "decepticons" channel 3 start MCS 0 short preamble long slot time HT
enabled
May 25 18:11:59 portabsd /bsd: iwm0: missed beacon threshold set to 7
beacons, beacon interval is 100 TU
May 25 18:11:59 portabsd /bsd: iwm0: received msg 1/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: sending msg 2/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: received msg 3/4 of the 4-way
handshake from 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: sending msg 4/4 of the 4-way
handshake to 88:9f:fa:0b:83:46
May 25 18:11:59 portabsd /bsd: iwm0: begin background scan
May 25 18:11:59 portabsd /bsd: iwm0: fatal firmware error
May 25 18:11:59 portabsd /bsd: iwm0: RUN -> INIT
May 25 18:11:59 portabsd /bsd: iwm0: begin active scan
May 25 18:11:59 portabsd /bsd: iwm0: INIT -> SCAN
May 25 18:12:03 portabsd /bsd: iwm0: end active scan
May 25 18:12:03 portabsd /bsd:  + 88:9f:fa:0b:83:46    3   +28 54M   ess 
privacy   rsn  "decepticons"

Reply via email to