From owner-freebsd-stable@FreeBSD.ORG Thu Feb 25 06:18:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7391065673 for ; Thu, 25 Feb 2010 06:18:25 +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 C0A008FC17 for ; Thu, 25 Feb 2010 06:18:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o1P6IMfK054683; Thu, 25 Feb 2010 17:18:22 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 25 Feb 2010 17:18:22 +1100 (EST) From: Ian Smith To: Ted Faber In-Reply-To: <20100224165203.GA10423@zod.isi.edu> Message-ID: <20100225152711.M16250@sola.nimnet.asn.au> References: <20100224165203.GA10423@zod.isi.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 06:18:25 -0000 On Wed, 24 Feb 2010, Ted Faber wrote: > I'm running a recent (yesterday) FreeBSD 8-STABLE on my T42. When I > resume from suspend the fan starts screen returns immediately (to text > mode) and then the system idles for about a minute until it shakes > itself awake. The keyboard LEDs cycle, the disk runs and X returns. Good to hear, Ted .. I thought it was just me :) Your symptoms appear entirely identical to mine as posted on Dec 13th to mobile@ and acpi@, see thread 'Thinkpad T23 60 second stall on resuming 8.0-RELEASE/i386' http://lists.freebsd.org/pipermail/freebsd-acpi/2009-December/006192.html Nate Lawson thought it an ATA rather than an ACPI problem and I assume he's likely right, but I've had too much $work (and too little solar power during an exceptionally wet summer) to follow it up. > I don't recall this stutter under FreeBSD 7. I've tried both settings > of hw.acpi.reset_video and neither helps (nor hurts). BIOS is also > upgraded to the most recent and the stutter occurred with before and > after the upgrade. I'd recently upgraded t23's BIOS too. Since then I took 7.0-RELEASE to 7.2-STABLE (28 Dec) and still have no such issue on 7, although the ATA messages on resume are marginally different. I haven't yet upgraded my 8.0-R to -STABLE; going by this it seems that's unlikely to help now. In case relevant, my ad0 is a 120GB Fujitsu MHV2120AH, but your TOSHIBA MK4026GAX looks more likely to be the original disk? > I have attached a trace of a boot -v going through the cycle. The > t_delta entries happen after the machine wakes but before it restores > itself. There'a also sometimes a message from acpi_ec0 saying that the > EC woke up before the sleep event, but I wasn't able to capture it > during this trace. In that post I mntioned some other symptoms regarding devd and "calcru: time went backwards .." messages, but I suspect those were side-effects. Once it resumes after the one-minute delay I've noticed no other issues, but can't claim to have spent much time exercising it. > Any help would be appreciated, and I'm happy to provide more data on > request. I've no time to spend on hunting this now, and know nothing about ATA anyway, assuming that's where the problem lies, but I'll be quick to test any suggested solution/s! cheers, Ian