lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 15 Jan 2007 22:55:10 +0900
From:	Tejun Heo <htejun@...il.com>
To:	Jeff Garzik <jeff@...zik.org>
CC:	Arjan van de Ven <arjan@...radead.org>,
	Faik Uygur <faik@...dus.org.tr>,
	Robert Hancock <hancockr@...w.ca>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: ahci_softreset prevents acpi_power_off

Jeff Garzik wrote:
> Tejun Heo wrote:
>> Arjan van de Ven wrote:
>>> I'd be interested in finding out how to best test this; if the bios is
>>> really broken I'd love to add a test to the Linux-ready Firmware
>>> Developer Kit for this, so that BIOS developers can make sure future
>>> bioses do not suffer from this bug...
>>
>> As reported, this is almost a butterfly effect.  ->softreset method is
>> only used during initialization and error recovery of ATA devices which
>> has almost nothing to do with the rest of the system.  This is almost
>> like 'changing my mixer input to line-in makes power off fail'.  (it's
>> more related due to ATA ACPI stuff and maybe that's why this happens but
>> I'm trying to make a point here.)
> 
> It's quite possible that the BIOS in question wants AHCI in some
> specific state at poweroff.

I would be surprised if this weren't an accident.  We reset the
controller during initialization, so whether softreset or hardreset is
used, the end status cannot be much different.  And, I really don't
wanna change ahci and/or libata for this.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ