On Thu, 24 Aug 2017 16:15:48 -0300, "R0me0 ***" wrote:

> I have noticed the following behavior:
> 
> 
> urtwn0: device timeout
> 
> The system just hangs and hard reboot is needed.

That sounds similar to this bug:
https://marc.info/?l=openbsd-bugs&m=150157788716680&w=2

Which was fixed in revision 1.30 of sys/dev/ic/rtwn.c:
date: 2017/08/20 14:53:06;  author: stsp;  state: Exp;  lines: +37 -34
Fix use of uninitialized variables during rtwn(4) I/Q calibration, which
restored device registers from uninitialized memory after calibration.
Bug was hinted at by clang which produced a non-working driver at -O2.
The problem was eventually spotted by jsg@ with gcc 6.3.1.

Reply via email to