suspend/resume [was: Devsummit pictures]

Alexey Dokuchaev danfe at FreeBSD.org
Fri Aug 31 14:14:37 UTC 2012


On Fri, Aug 31, 2012 at 07:58:36AM -0600, Warner Losh wrote:
> On Aug 31, 2012, at 4:40 AM, Alexey Dokuchaev wrote:
> > On Fri, Aug 31, 2012 at 12:11:42PM +0200, Hans Petter Selasky wrote:
> >>> and then new USB stack had broken it again for me (NEC Versa S950, YMMV).
> >> 
> >> Should be fixed in all -stable with regard to USB and suspend and resume.
> > 
> > To be fair to Hans Petter, maybe his USB stack itself does not have a bug,
> > but instead uncovers a bug somewhere else.  OTOH, my laptop does not care.
> 
> You can determine if it is the usb stack by removing it and trying again.

Actually I did.  Resume was still broken.  But backing out r229370 (only
USB-related changes) fixes the hang.  I am puzzled...  And while keyboard
does not work in general, tty switching does.

> If possible, a serial console will tell you for sure...

Serial console is practically useless if you have to work via USB-RS232
adapter.  "call doadump" also hangs.  So it looks like I have to find
firewire machine, revive attilio@'s netdump [1] code, or implement phk@'s
soundcard tricks.

./danfe

[1] http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.html


More information about the freebsd-mobile mailing list