Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303313 - kernel 2.6.32 issue: libata does not return correct ata sense descriptor for 48bit commands
Summary: kernel 2.6.32 issue: libata does not return correct ata sense descriptor for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-02-03 07:22 UTC by Stefan Hübner
Modified: 2010-02-19 17:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch from the linux-scsi mailing list. (latascsi2632.diff,492 bytes, text/plain)
2010-02-04 22:27 UTC, Stefan Hübner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Hübner 2010-02-03 07:22:25 UTC
When issuing a 48bit SCSI-ATA-Passthough command with the EXTEND and CHECK_CONDITION bits set to a harddisk, then the return descriptor is not a 48bit return descriptor.

Solution for gentoo-sources-2.6.32-r3:
in ${kernelsourcetree}/drivers/ata/libata-scsi.c, line 2828:
the primary operator needs to be a "|=" as this:
"tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;"

This solution was directly posted on the kernel-scsi list by Douglas Gilbert.
Comment 1 Stefan Hübner 2010-02-04 22:27:05 UTC
Created attachment 218461 [details]
The patch from the linux-scsi mailing list.
Comment 2 Mike Pagano gentoo-dev 2010-02-19 17:22:45 UTC
Released in gentoo-sources-2.6.32-r6