From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 14:14:37 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 87082106566B; Fri, 31 Aug 2012 14:14:37 +0000 (UTC) Date: Fri, 31 Aug 2012 14:14:37 +0000 From: Alexey Dokuchaev To: Warner Losh Message-ID: <20120831141437.GA7316@FreeBSD.org> References: <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> User-Agent: Mutt/1.4.2.1i Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky Subject: Re: suspend/resume [was: Devsummit pictures] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 14:14:37 -0000 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