Date: Fri, 31 Aug 2012 09:07:25 -0600 From: Warner Losh <imp@bsdimp.com> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky <hans.petter.selasky@bitfrost.no> Subject: Re: suspend/resume [was: Devsummit pictures] Message-ID: <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com> In-Reply-To: <20120831141437.GA7316@FreeBSD.org> References: <alpine.BSF.2.00.1208310944290.76284@ai.fobar.qr> <zarafa.50408dde.053d.62c781ff44a4c94b@eric2.bitfrost> <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> <20120831141437.GA7316@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 31, 2012, at 8:14 AM, Alexey Dokuchaev wrote: > 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). >>>>=20 >>>> Should be fixed in all -stable with regard to USB and suspend and = resume. >>>=20 >>> 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. >>=20 >> You can determine if it is the usb stack by removing it and trying = again. >=20 > 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. That's very odd results. Perhaps is suggests needing to run many tests? keyboard not working means the process isn't reading the data. Since = tty switching is working, does breaking in ddb with control escape work = (or is that alt-escape)? >> If possible, a serial console will tell you for sure... >=20 > 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 Yes, you need a real serial port, not a usb one to do this. However, if = the USB-RS232 is on the other end, it works well (I was using just such = a setup with gdb the other day). Hmmm, call doadump fails, but that means you can get into ddb? Firewire works well, and is very cheap. I don't know if it works with a = plug-in card though. > [1] = http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.htm= l Now that's cool... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85277024-0DB3-4EAD-94FC-FCF2FA0A0B71>