[PATCH 0/1] libata: set NODEV_HINT for 0x7f status
TJ
ubuntu at tjworld.net
Wed Mar 18 01:40:57 UTC 2009
Bug: #293218
https://launchpad.net/bugs/293218
Please cherry-pick b919930c34e99a48d6b13a5ec9db8c059ec44d72 from
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
libata: set NODEV_HINT for 0x7f status
Asus Pundit-R with atiixp controller has the second port missing and,
very unusually, its status is stuck at 0x7f and all others at 0. This
meanst that it fails TF access test but gets detected as a disk due to
classification code check and then evades polling IDENTIFY presence
detection thanks to the missing BSY in the status value causing
excessive delays during boot.
This patch makes libata-sff HSM set NODEV_HINT if the status is 0x7f
to make polling IDENTIFY presence detection work for these machines.
Signed-off-by: Tejun Heo <tj at kernel.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
More information about the kernel-team
mailing list