On Mon, Nov 22, 2021 at 10:58:08AM +0000, Laurence Tratt wrote:
> On Sun, Nov 21, 2021 at 06:06:33PM +0100, Stefan Sperling wrote:
> 
> Hello Stefan,
> 
> >> As of a kernel from a couple of days ago, iwx semi-regularly stops
> >> associating with my wireless AP. An easy way to trigger this is "pkg_add
> >> -u": at some point, downloading stops mid-package, and I need to "sh
> >> /etc/netstart" to bring the interface back up.
> > Please try this patch. I cannot promise that it will help, but it might.
> 
> I don't understand why, but I have since been unable to replicate the
> problem, which I feel I need to do in order to meaningfully test your patch.
> 
> I'm clutching at straws to think of possible reasons. The best I can think of
> is that `pkg_add -u`'s tendency to cut downloads off mid-stream might have
> caused the odd behaviour. That could be a very long way off the mark.
> 
> If/when I can work out how to more reliably trigger the problem, I will post
> back, but until then I can only apologise for the noise.

This has nothing to do with pkg_add in particular.

My recommendation would be to keep running with 'ifconfig iwx0 debug' enabled.
The logs generated by debug mode might shed some light on the context of this
problem when it occurs again.

The IWX_DEBUG driver-internal flag does not really help here. It is more useful
when zooming in on a driver bug, once the circumstances of the problem have
been understood.

Reply via email to