On Wed, Sep 22, 2004 at 05:16:16PM -0300, Luciano A. Stertz wrote:
Greg KH wrote:
On Wed, Sep 22, 2004 at 03:23:19PM -0300, Luciano A. Stertz wrote:
I'm trying to understand the Linux SATA support. Does SATA disk appear as IDE (hdx) or SCSI (sdx) drives?!? Seems to me that they were being handled as IDE in some kernel versions and now is handled as SCSI. Can someone please confirm this? What's the reason to handle an ATA disk as SCSI?!?
Because sata is really just scsi over a different transport, just like USB storage devices :)
And yes, your SATA disks will show up as sdx.
greg k-h
Yes, but how can I communicate with the device if I can't issue ATA commands? For example, how can I get SMART information, or device's firmware version?!?
Have you tried issuing these commands? How about the scsi commands to get that information?
Doesn't work. Seems that I'm not the only one with this problem: http://smartmontools.sourceforge.net/#testinghelp
They are working on a workaround exactly to enable the sending of ATA commands to the device.
Are there really older libata versions that reported SATA devices as IDE?
I think some of the older 2.4 kernels did this.
Ok, thanks for the help. I'll try to find one that behaves this way.
-- Luciano A. Stertz luciano@xxxxxxxxxxxx T&T Engenheiros Associados Ltda http://www.tteng.com.br Fone/Fax (51) 3224 8425
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/