On Fri, Dec 18, 2015 at 08:52:07PM +0000, Stuart Henderson wrote:
> On 2015/12/17 19:43, Frank Groeneveld wrote:
> > iwn0: fatal firmware error
> 
> So this firmware crash...
> 
> > firmware error log:
> >   error type      = "UNKNOWN" (0x000014E2)
> >   program counter = 0x00018100
> >   source line     = 0x00000216
> >   error data      = 0x0000000000000028
> >   branch link     = 0x000180E2000180E2
> >   interrupt link  = 0x0000DBEA00000000
> >   time            = 3006541902
> 
> I'm seeing the same crash when I associate to a 2GHz channel where
> the AP has set a flag in beacons to warn stations that there are
> non-11n devices associated.
> 
> Around line 4900 in sys/dev/pci/if_iwn.c you have this:
> 
>                 case IEEE80211_HTPROT_NONE:
>                         break;
>                 case IEEE80211_HTPROT_NONMEMBER:
>                 case IEEE80211_HTPROT_NONHT_MIXED:
>                         sc->rxon.flags |=
>                             htole32(IWN_RXON_HT_RXON_HT_MODE_MIXED);
>                         break;
> 
> Try this as I suspect it might fix your crash (unless Stefan
> comes up with a better change to try first :)
> 
>               case IEEE80211_HTPROT_NONE:
>                       break;
>               case IEEE80211_HTPROT_NONMEMBER:
>               case IEEE80211_HTPROT_NONHT_MIXED:
>                       if (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan))
>                               sc->rxon.flags |=
>                                   htole32(IWN_RXON_HT_RXON_HT_MODE_MIXED);
>                       break;
>

I had the firmware bug on Centrino Ultimate-N 6300:
iwn0: fatal firmware error
firmware error log:
  error type      = "SYSASSERT" (0x00000005)
  program counter = 0x00022278
  source line     = 0x00000218
  error data      = 0x000002180000000B
  branch link     = 0x0002225800022258
  interrupt link  = 0x0000153200000000
  time            = 2127856977


With sthen@'s patch I can associate, dhcp, and use net.

Nice find!

- David

Reply via email to