From: Tejun Heo <htejun@gmail.com>
To: Kjartan Maraas <kmaraas@broadpark.no>
Cc: Tomas Carnecky <tom@dbservice.com>, Pavel Machek <pavel@ucw.cz>,
linux-ide@vger.kernel.org,
linux-kernel <linux-kernel@vger.kernel.org>,
Mark Lord <liml@rtr.ca>, Jeff Garzik <jeff@garzik.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: laptop reboots right after hibernation
Date: Wed, 28 Nov 2007 22:35:35 +0900 [thread overview]
Message-ID: <474D6EA7.2000506@gmail.com> (raw)
In-Reply-To: <1196253340.2884.1.camel@localhost.localdomain>
[cc'ing libata people]
Hello,
Kjartan Maraas wrote:
> Here you go. It shows the error two times and then it gets it right and
> continues to boot. No other problems arise from this that I can see.
Cool, it proves even my code works from time to time if the moon and
stars are perfectly aligned.
> ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 failed (Emask=0x1 Stat=0x51 Err=0x04)
Your BIOS wants to issue DEVICE CONFIGURATION FREEZE LOCK but the device
NACKs it probably because the drive doesn't support DCO feature set.
> ata1: failed to recover some devices, retrying in 5 secs
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 failed (Emask=0x1 Stat=0x51 Err=0x04)
> ata1.00: ACPI on devcfg failed the second time, disabling (errno=-5)
libata EH gives ACPI one more chance but it fails again, so ACPI is
turned off.
> ata1.00: revalidation failed (errno=1)
> ata1: failed to recover some devices, retrying in 5 secs
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: configured for UDMA/100
Device is now configured properly.
Your BIOS is probably trying to issue DCO freeze lock to all drives. I
don't have the faintest idea why it does but it does. I think there are
several choices here.
1. Ignore device errors for _GTF commands. Report the failure with
KERN_DEBUG priority and just keep processing. ISTR there was a patch to
do this. Anyone knows what happened to it.
2. Filter out certain commands from ACPI. I definitely don't like BIOS
locking up random features via _GTF commands. It makes debugging difficult.
3. Look at opcode on failure and ignore error for certain operations.
My favorite is #2 but #1 should be fine too. Any thoughts?
Thanks.
--
tejun
next prev parent reply other threads:[~2007-11-28 13:35 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-11 16:42 laptop reboots right after hibernation Tomas Carnecky
2007-11-18 10:52 ` Pavel Machek
2007-11-18 16:32 ` Tomas Carnecky
2007-11-18 16:40 ` Tomas Carnecky
2007-11-18 20:16 ` Tomas Carnecky
2007-11-20 9:32 ` Kjartan Maraas
2007-11-28 1:09 ` Tejun Heo
2007-11-28 12:35 ` Kjartan Maraas
2007-11-28 13:35 ` Tejun Heo [this message]
2007-11-28 13:47 ` Jeff Garzik
2007-11-28 14:11 ` Mark Lord
2007-11-30 10:39 ` Tejun Heo
2007-11-30 21:37 ` Kjartan Maraas
2007-12-05 7:46 ` Tejun Heo
2007-12-05 8:27 ` Kjartan Maraas
2007-12-05 17:09 ` Kjartan Maraas
2007-12-06 2:38 ` Tejun Heo
2007-12-06 16:47 ` Kjartan Maraas
2007-12-09 6:46 ` Tejun Heo
2007-12-09 21:43 ` Kjartan Maraas
2007-12-10 1:03 ` Tejun Heo
2007-12-10 14:05 ` Kjartan Maraas
2007-12-10 14:10 ` Tejun Heo
2007-11-28 8:06 ` Tejun Heo
2007-11-28 10:45 ` Tomas Carnecky
2007-11-18 16:49 ` Tomas Carnecky
2007-11-18 22:33 ` Rafael J. Wysocki
2007-11-22 11:59 ` Tomas Carnecky
2007-11-22 16:43 ` Rafael J. Wysocki
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=474D6EA7.2000506@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jeff@garzik.org \
--cc=kmaraas@broadpark.no \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=tom@dbservice.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.