Comment 9 for bug 293218

Revision history for this message
TJ (tj) wrote :

This fix is available from upstream and applies cleanly to Jaunty:

git cherry-pick b919930c
Auto-merged drivers/ata/libata-sff.c
Finished one cherry-pick.
Created commit af002a8: libata: set NODEV_HINT for 0x7f status
 1 files changed, 10 insertions(+), 0 deletions(-)

commit b919930c34e99a48d6b13a5ec9db8c059ec44d72
Author: Tejun Heo <email address hidden>
Date: Sun Jan 25 10:26:00 2009 +0900

    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 <email address hidden>
    Signed-off-by: Jeff Garzik <email address hidden>