From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 29 11:41:37 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E2CC106564A for ; Thu, 29 Sep 2011 11:41:37 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from sink.sics.se (sink.sics.se [193.10.64.88]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1808FC1B for ; Thu, 29 Sep 2011 11:41:36 +0000 (UTC) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by sink.sics.se (8.14.3/8.14.3) with ESMTP id p8TBQhkw003816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Sep 2011 13:26:43 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.4/8.14.4) with ESMTP id p8TBRaG4002713; Thu, 29 Sep 2011 13:27:36 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.4/8.14.4/Submit) id p8TBRaVI002712; Thu, 29 Sep 2011 13:27:36 +0200 (CEST) (envelope-from bengta@P142.sics.se) From: Bengt Ahlgren To: Ian Smith In-Reply-To: <20110709002621.R84785@sola.nimnet.asn.au> (Ian Smith's message of "Sat, 9 Jul 2011 00:57:10 +1000 (EST)") References: <20110625182502.GF29050@albert.catwhisker.org> <20110625191708.GA1182@tiny> <20110626165210.P72504@sola.nimnet.asn.au> <20110709002621.R84785@sola.nimnet.asn.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) Date: Thu, 29 Sep 2011 13:27:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Matthias Apitz , freebsd-mobile@freebsd.org Subject: Re: Laptop recommendations? 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: Thu, 29 Sep 2011 11:41:37 -0000 Ian Smith writes: > On Mon, 27 Jun 2011, Bengt Ahlgren wrote: > > Ian Smith writes: > [..] > > > How well does suspend/resume work on these? An absolute must for me. > > > > > > My Thinkpad T23s always resumed 100% reliably through 6.x and 7.x, still > > > does at 7.4-R, but since 8.0-R through to 8.2-R they completely freeze > > > for an even 60 seconds on resume, after which I often get a bunch of > > > 'time went backwards' errors - sometimes on every process running - so > > > I've never felt able to really trust it after resuming. Noone seems to > > > know about that issue; probably no developers have i386 laptops anymore. > > > > Me too for a Thinkpad X40 (running 8.2-R). I tracked down the stall on > > resume to uhci.ko. Without that module loaded, there was no stall. > > Other usb modules did not make any difference. I unfortunately did not > > have time to investigate it further. My laptop comes to life reliably > > after the stall. > > I'm VERY happy to report that building a kernel from 8.2-R GENERIC only > excluding device uhci (and ohci and ehci that the T23 don't use anyway), > loading uhci at boot, unloading it in rc.suspend and loading it again in > rc.resume does completly fix the 60 second stall problem on my T23. > > It doesn't mind if I forget and leave a USB memstick attached through > suspend/resume, though of course it gets confused if a slice was mounted > .. even then, it doesn't panic or require more than umount; mount. > > Thanks heaps for this. I'll report back on an old thread in -stable, > find and cc a couple of other people who confirmed the same stall issue, > at least one being on a Thinkpad, T43 I think. > > It should help having narrowed this problem down to uhci, maybe a proper > fix can be found before 9.0 is released, but meanwhile I'm just stoked. See: http://lists.freebsd.org/pipermail/freebsd-usb/2011-June/010341.html for a patch that solves the uhci stall for me! Also discussed here: http://lists.freebsd.org/pipermail/freebsd-stable/2011-September/064002.html Bengt