Re: [PATCH] libata: implement HDIO_GET_IDENTITY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun Heo wrote:
Mark Lord wrote:
..
hdparm *does* try to issue the PACKET IDENTIFY whenever
a regular IDENTIFY fails.  Currently these all go through
the HDIO_DRIVE_CMD ioctl().  I don't have a system set up
here that has any ATAPI over libata to test with.
Could you perhaps try and see where that ioctl() is failing?

Ah.. Okay, so that's the second HDIO_DRIVE_CMD.  I'll test why the
second one is failing tomorrow.


Okay, I suspect it's failing because libata-scsi *always*
forces passthru commands to go via atapi_xlat, even when
the command itself is not a PACKET command.  Doh!

I'll see if there's a sensible easy fix for it, and maybe post
a patch here unless you beat me to it.

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux