Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 09:39:35 -0500
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Tracking down ata0 reset hang
Message-ID:  <brcjv8$bej$1@sea.gmane.org>
References:  <brav17$jpb$1@sea.gmane.org> <200312120730.hBC7UG44048085@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?brcjv8$bej$1>