On Mon, Oct 18, 2021 at 12:07:43AM +0200, Stefan Sperling wrote:
> On Sun, Oct 17, 2021 at 08:46:47PM +0200, Richard Ulmer wrote:
> > >Synopsis:  iwm sporadically disconnects WI-FI connection
> > >Category:  system
> > >Environment:
> >     System      : OpenBSD 7.0
> >     Details     : OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 
> > 2021
> >                      
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > 
> >     Architecture: OpenBSD.amd64
> >     Machine     : amd64
> > >Description:
> >     Since the upgrade from OpenBSD 6.9 to 7.0 a few hours ago, my WI-FI
> >     connection dies every few minutes. It feels like it dies when there is a
> >     lot of network traffic (`pkg_add -u` or when watching video streams).
> >     The connection automatically resumes after ~1min. My dmesg shows this:
> >     iwm0: fatal firmware error
> >     iwm0: could not remove MAC context (error 35)
> >     iwm0: device timeout
> >     iwm0: device timeout
> >     iwm0: device timeout
> >     iwm0: device timeout
> 
> Please try a -current kernel. There have been several improvements since
> the 7.0 release tag. Perhaps your problem has already been fixed?
> 
> If the problem still occurs, please enable 'ifconfig iwm0 debug' and
> wait for it to trigger again. The driver should then print additional
> messages to /var/log/messages providing more context about the error.

Something else you could try is downgrading the firmware image.
This can be done without patching the kernel by swapping out the
firmware file:

  mv /etc/firmware/iwm-7265D-29 /etc/firmware/iwm-7265D-29.orig
  cp /etc/firmware/iwm-7265-17 /etc/firmware/iwm-7265D-29

The 7265-17 image was used in OpenBSD 6.9.
The 7265D-29 image is used in OpenBSD 7.0.

-current now defaults to the 7265-17 again, because we found out (a bit
too late for the release) that the 7265D-29 firmware was causing issues.

Reply via email to