From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 06:39:42 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 441F816A4CE for ; Fri, 12 Dec 2003 06:39:42 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C39043D32 for ; Fri, 12 Dec 2003 06:39:39 -0800 (PST) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUoS9-0001RQ-00 for ; Fri, 12 Dec 2003 15:39:37 +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 1AUoS8-0001RG-00 for ; Fri, 12 Dec 2003 15:39:36 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUoS8-00033F-00 for ; Fri, 12 Dec 2003 15:39:36 +0100 From: Jesse Guardiani Date: Fri, 12 Dec 2003 09:39:35 -0500 Organization: WingNET Lines: 53 Message-ID: References: <200312120730.hBC7UG44048085@spider.deepcore.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit 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: Fri, 12 Dec 2003 14:39:42 -0000 Soren Schmidt wrote: > It seems Jesse Guardiani wrote: >> 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? > > I cant suspend/resume at all on my ASUS, it locks up somwhere long before > it gets to ATA. However it worked on my old Dell until about a month ago > when it ended its lifetime. Have you tried detaching any and all peripheral drives before suspending? In 5.1-RELEASE I had to issue an `atacontrol detach 1` before suspending or else it would lock up on resume. Have you tried loading 5.1-RELEASE on the ASUS and seeing if it works then? [...] > I dont think this is an ATA issue, I think the new acpi/interrupt code is > not setting up things as they should on resume. Is this code active even with acpi disabled? Like I said, it happens when using APM or ACPI. > That said I'm interested > in getting this to work as well, but so far I dont even make it to ATA > during resume... I'd ship you my laptop, but I need it for work. :) -- 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