public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nate Lawson <nate@root.org>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: acpi-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [ACPI] IDE failure on ACPI resume
Date: Sun, 13 Mar 2005 20:53:59 -0800	[thread overview]
Message-ID: <423518E7.3030300@root.org> (raw)
In-Reply-To: <1110741241.8136.46.camel@tyrosine>

Matthew Garrett wrote:
> On resume, an HP nc6220 fails during resuming of the IDE devices. In
> this section of code from ide-iops.c:
> 
>                 stat = hwif->INB(hwif->io_ports[IDE_STATUS_OFFSET]);
>                 if ((stat & BUSY_STAT) == 0)
>                         return 0;
>                 /*
>                  * Assume a value of 0xff means nothing is connected to
>                  * the interface and it doesn't implement the pull-down
>                  * resistor on D7.
>                  */
>                 if (stat == 0xff)
>                         return -ENODEV;
> 
> 0xff is read and ENODEV returned. This results in

Sounds like PCI not being completely restored.  We had to work around 
some weird ATA issues in FreeBSD with the status register being invalid 
for quite a while after resume.  A retry loop was the solution.

-- 
Nate

  reply	other threads:[~2005-03-14  4:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-13 19:14 IDE failure on ACPI resume Matthew Garrett
2005-03-14  4:53 ` Nate Lawson [this message]
2005-03-17 15:10   ` [ACPI] " Matthew Garrett
2005-03-17 20:34     ` Nate Lawson
2005-03-18  0:02       ` Matthew Garrett
2005-03-18  0:08         ` Nate Lawson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423518E7.3030300@root.org \
    --to=nate@root.org \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox