Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 503827

Summary: sata_sx4: ata_cmd_set_features time out resulting in disabled device
Product: Red Hat Enterprise Linux 5 Reporter: David Milburn <dmilburn>
Component: kernelAssignee: David Milburn <dmilburn>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: dzickus, sghosh, syeghiay
Target Milestone: rc   
Target Release: 5.4   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 08:56:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix problem. none

Description David Milburn 2009-06-02 21:53:00 UTC
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

commit 19799bfc5da476ad72eecc5f0f9018c5d351cbd5
Author: David Milburn <dmilburn>
Date:   Wed May 13 18:02:21 2009 -0500

    [libata] sata_sx4: fixup interrupt handling
    
commit 67651ee5710c45ea62fae68b768d65395ccf47c2
Author: Jeff Garzik <jeff>
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

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

    libata: set NODEV_HINT for 0x7f status

Comment 1 David Milburn 2009-06-02 21:55:35 UTC
Created attachment 346324 [details]
Patch to fix problem.

Comment 3 Don Zickus 2009-06-11 15:37:38 UTC
in kernel-2.6.18-153.el5
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.

Comment 6 errata-xmlrpc 2009-09-02 08:56:39 UTC
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.

http://rhn.redhat.com/errata/RHSA-2009-1243.html