Red Hat Bugzilla – Bug 503827
sata_sx4: ata_cmd_set_features time out resulting in disabled device
Last modified: 2009-09-02 04:56:39 EDT
Description of problem:
The sata_sx4.c driver is issuing a NODATA command using packet mode and the
interrupt service routine doesn't handle the interrupt since the
ATA_TFLAG_POLLING bit is set. This results in ATA_CMD_SET_FEATURES timing out
and device is disabled, the driver fails in -53.el5, -92.el5, and -128.el5.
Upstream commits needed for RHEL5 sata_sx4 driver
Author: David Milburn <email@example.com>
Date: Wed May 13 18:02:21 2009 -0500
[libata] sata_sx4: fixup interrupt handling
Author: Jeff Garzik <firstname.lastname@example.org>
Date: Wed Apr 8 16:02:18 2009 -0400
[libata] sata_sx4: convert to new exception handling methods
And one fix to libata-sff.c to handle (status == 0x7f) on an empty port
Author: Tejun Heo <email@example.com>
Date: Sun Jan 25 10:26:00 2009 +0900
libata: set NODEV_HINT for 0x7f status
Created attachment 346324 [details]
Patch to fix problem.
You can download this test kernel from http://people.redhat.com/dzickus/el5
Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so. However feel free
to provide a comment indicating that this fix has been verified.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.