tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to debug suspend/resume crash



> Date: Thu, 18 Nov 2021 10:29:13 +0000
> From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
> 
> On Wed, Nov 17, 2021 at 10:20:58PM +0000, Taylor R Campbell wrote:
> > Anyway, try disabling it with userconf at boot rather than with drvct,
> > and see if you can get anywhere with the other suggestions.
> 
> I booted on a serial console with -v -x. ihidev* was disabled using userconf. 
> 
> Going to sleep produces the ouput below. Awaking just switches on the power
> LED and nothing happens. At last most of the time. One one try, I got a bunch
> of errors on the console and I got shell. It quickly died because the swap
> was not woken up. Unfortunately, I was not able to understand how to get
> that happen, nor to reproduce it, and I failed to copy the wake up errors.
> 
> [  55.5745247] (failed) dwiic0dwiic0: device_pmf_lock1.2470, sysctl dvl_nlock 1 dvl_nwait 0 dv_flags 7
> [  55.6826857] status 0x100002
> [  55.7159671] reset 0x3
> [  55.7430062] rlo 0xdf338004
> [  55.7752472] rho 0x0

Judging by this message, it looks like you're on a fairly old kernel:
I changed the message to attribute it to dwiic(4) back in May (and fix
the typo `rho' -> `rlo'), shortly before I fixed a number of bugs in
xhci(4), nvme(4), ld(4).  Can you try updating your kernel and see if
that helps?


Home | Main Index | Thread Index | Old Index