Re: laptop reboots right after hibernation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Wednesday, November 28, 2007 - 6:35 am

[cc'ing libata people]

Hello,

Kjartan Maraas wrote:

Cool, it proves even my code works from time to time if the moon and
stars are perfectly aligned.


Your BIOS wants to issue DEVICE CONFIGURATION FREEZE LOCK but the device
NACKs it probably because the drive doesn't support DCO feature set.


libata EH gives ACPI one more chance but it fails again, so ACPI is
turned off.


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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
laptop reboots right after hibernation, Tomas Carnecky, (Sun Nov 11, 9:42 am)
Re: laptop reboots right after hibernation, Pavel Machek, (Sun Nov 18, 3:52 am)
Re: laptop reboots right after hibernation, Tomas Carnecky, (Sun Nov 18, 9:40 am)
Re: laptop reboots right after hibernation, Tomas Carnecky, (Sun Nov 18, 9:49 am)
Re: laptop reboots right after hibernation, Tomas Carnecky, (Sun Nov 18, 1:16 pm)
Re: laptop reboots right after hibernation, Rafael J. Wysocki, (Sun Nov 18, 3:33 pm)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Tue Nov 20, 2:32 am)
Re: laptop reboots right after hibernation, Tomas Carnecky, (Thu Nov 22, 4:59 am)
Re: laptop reboots right after hibernation, Rafael J. Wysocki, (Thu Nov 22, 9:43 am)
Re: laptop reboots right after hibernation, Tejun Heo, (Tue Nov 27, 6:09 pm)
Re: laptop reboots right after hibernation, Tomas Carnecky, (Wed Nov 28, 3:45 am)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Wed Nov 28, 5:35 am)
Re: laptop reboots right after hibernation, Tejun Heo, (Wed Nov 28, 6:35 am)
Re: laptop reboots right after hibernation, Jeff Garzik, (Wed Nov 28, 6:47 am)
Re: laptop reboots right after hibernation, Mark Lord, (Wed Nov 28, 7:11 am)
Re: laptop reboots right after hibernation, Tejun Heo, (Fri Nov 30, 3:39 am)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Fri Nov 30, 2:37 pm)
Re: laptop reboots right after hibernation, Tejun Heo, (Wed Dec 5, 12:46 am)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Wed Dec 5, 1:27 am)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Wed Dec 5, 10:09 am)
Re: laptop reboots right after hibernation, Tejun Heo, (Sat Dec 8, 11:46 pm)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Sun Dec 9, 2:43 pm)
Re: laptop reboots right after hibernation, Tejun Heo, (Sun Dec 9, 6:03 pm)
Re: laptop reboots right after hibernation, Kjartan Maraas, (Mon Dec 10, 7:05 am)
Re: laptop reboots right after hibernation, Tejun Heo, (Mon Dec 10, 7:10 am)