NetBSD-Bugs archive

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

Re: kern/53598: assertion failure in usb detach

The following reply was made to PR kern/53598; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: kern/53598: assertion failure in usb detach
Date: Wed, 12 Sep 2018 14:25:42 +0000

 Problem is that this (VirtualBox) xhci only partly attached, USB revision
 is 0 and we never make it to usb_doattach(), but set sc_dying instead.
 When we get to usb_detach, the softint never had been established
 nor the cv initialized.
 Maybe we should define several values for sc_dying, representing how
 far during initalization we got? Something like: sc_dying = 3 if we
 did not initialize anything, sc_dying = 2 if softint is valid but
 cv is not, sc_dying = 1 if we have been fully functional but are now
 winding down.

Home | Main Index | Thread Index | Old Index