From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 8 14:57:15 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 0A22B106564A for ; Fri, 8 Jul 2011 14:57:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 76A768FC08 for ; Fri, 8 Jul 2011 14:57:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p68EvBdW087167; Sat, 9 Jul 2011 00:57:11 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 9 Jul 2011 00:57:10 +1000 (EST) From: Ian Smith To: Bengt Ahlgren In-Reply-To: Message-ID: <20110709002621.R84785@sola.nimnet.asn.au> References: <20110625182502.GF29050@albert.catwhisker.org> <20110625191708.GA1182@tiny> <20110626165210.P72504@sola.nimnet.asn.au> 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: Fri, 08 Jul 2011 14:57:15 -0000 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. cheers, Ian