From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 18 15:33:53 2009 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 8685F106566B; Fri, 18 Dec 2009 15:33:53 +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 D4BDE8FC12; Fri, 18 Dec 2009 15:33:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nBIFXoX9097796; Sat, 19 Dec 2009 02:33:50 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 19 Dec 2009 02:33:49 +1100 (EST) From: Ian Smith To: Nate Lawson In-Reply-To: <4B284A1A.4090909@root.org> Message-ID: <20091219014856.H12012@sola.nimnet.asn.au> References: <20091213204201.A12012@sola.nimnet.asn.au> <4B284A1A.4090909@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Thinkpad T23 60 second stall on resuming 8.0-RELEASE/i386 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, 18 Dec 2009 15:33:53 -0000 On Tue, 15 Dec 2009, Nate Lawson wrote: > Ian Smith wrote: > > Hi, > > > > Precis: suspend by Fn-F4 or acpiconf -s3 works as usual. When resuming > > by hitting Fn or raising the lid, however, the screen comes back on but > > then system freezes for pretty well exactly 60 seconds before responding > > to anything, after which it seems to be fine, although top shows running > > processes' TIME havig being reset to 00:00 (sometimes, not always) > > > -wakeup from sleeping state (slept 00:00:07) > > +t_delta 15.f9ad99f01204edd8 too short <<<<<<< > > +t_delta 16.07bb5b66ef900000 too long <<<<<<< > > +t_delta 15.f9ad90918acc0000 too short <<<<<<< > > +ct_to_ts([2009-12-13 17:10:39]) = 1260724239.000000000 > > +wakeup from sleeping state (slept 00:01:07) > > ata0: reiniting channel .. > > ata0: reset tp1 mask=03 ostat0=50 ostat1=00 > > ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > > ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 > > -ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > > +ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > > ad0: setting PIO4 on ICH3 chip > > ad0: setting UDMA100 on ICH3 chip > > ata0: reinit done .. > > @@ -36,7 +37,7 @@ > > ata1: reset tp1 mask=03 ostat0=00 ostat1=00 > > ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > > ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 > > -ata1: reset tp2 stat0=00 stat1=00 devices=0x4 > > +ata1: reset tp2 stat0=00 stat1=00 devices=0x10000 > > I think it's ATA timing out for some reason. Thanks Nate. I nearly clipped that part of the diff, figuring only the <*_MASTER> messages had changed, but I now see ata1 devices differ too. Have similar regressions re ATA been turning up elsewere, do you know? I've been digging, still on the trail of those t_delta messages, but now figure these might be spurious, some timecounter missing/gaining a tick or something, if ATA is maybe what's hanging meanwhile? There's no HD light activity at all from resume button/switch through that 60 second wait, when 15? seconds after the third t_delta line is written to console, the HD light flashes while apparently simultaneously writing the rest of the resume messages, and it comes alive. Guess I should next upgrade the 7.0-R slice to 7.2-STABLE to find out if this problem has been mfc'd :) cheers, Ian