From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 15:36:13 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BAFA16A4CE for ; Thu, 11 Dec 2003 15:36:13 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DDB643D4A for ; Thu, 11 Dec 2003 15:36:10 -0800 (PST) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUaLo-0001H3-00 for ; Fri, 12 Dec 2003 00:36:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUaLn-0001Gv-00 for ; Fri, 12 Dec 2003 00:36:07 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUaLn-0005Gv-00 for ; Fri, 12 Dec 2003 00:36:07 +0100 From: Jesse Guardiani Date: Thu, 11 Dec 2003 18:36:06 -0500 Organization: WingNET Lines: 55 Message-ID: References: <20031211130934.Y50668@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: Re: Tracking down ata0 reset hang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 23:36:13 -0000 Nate Lawson wrote: > I have a laptop that suspends and resumes fine. Soeren's patch to > properly reset the hardware after the ATAng import fixed the problem where > resuming would hang in ata0 reset with the hard drive light on. > > Sometime in the last month or two, the ATA reset phase of resume has begun > hanging again with the drive light on and I can't break to the debugger. > The interesting data point is that if I suspend/resume in single user > mode, it works fine, including the reset. But in multi-user mode, it > hangs. I'm trying to disable various services to see if any of them > triggers the hang. > > Has anyone else seen this regression? Hi Nate, I know you've already replied to one of my previous emails on this subject, but I thought I'd chime in with my info here just in case this thread actually catches Soren's attention. :) I've been yelling about this regression as loud as I dare without potentially annoying any developers capable of fixing it. I even opened a PR (misc/59876). Here are two of my most recent emails about it:   http://article.gmane.org/gmane.os.freebsd.current/35631 http://article.gmane.org/gmane.os.freebsd.current/35660 My laptop is an IBM Thinkpad A30p. Here's my boot -v dmesg.boot: http://www.wingnet.net/~jesse/freebsd-5.2-rc1.dmesg.boot Also, I've noticed, like you, that I can suspend and resume fine as long as apmd isn't running and the kernel doesn't try to "cleanly" reset the ATA channels. I think it's an ATAng thing because my `acpiconf -s 3` worked in 5.1-RELEASE, but now it too is busted in 5.2-BETA and 5.2-RC1. And finally, I even went so far as to update my: /usr/src/sys/dev/ata/ata-lowlevel.c To version 1.25 (5.2-RC1 ships with v1.24) from CVS and recompile my kernel, but I still hang in the exact same way on resume. Help! 5.2-RELEASE will be here soon! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net