From: "Stefan /*St0fF*/ Hübner" <stefan.huebner@stud.tu-ilmenau.de>
To: "kernel.majianpeng" <kernel.majianpeng@gmail.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: sata disk model/firmware length smaller
Date: Thu, 06 Jan 2011 09:23:55 +0100 [thread overview]
Message-ID: <4D257C1B.8030708@stud.tu-ilmenau.de> (raw)
In-Reply-To: <201101061538027183872@gmail.com>
Hi,
Am 06.01.2011 08:38, schrieb kernel.majianpeng:
>
> At present,I using WD SATA disk:
> [root@kedacom device]# smartctl -i /dev/sdo
> smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
> === START OF INFORMATION SECTION ===
> Device Model: WDC WD2003FYYS-02W0B0
> Serial Number: WD-WMAY00749168
> Firmware Version: 01.01D01
> User Capacity: 2,000,398,934,016 bytes
> Device is: Not in smartctl database [for details use: -P showall]
> ATA Version is: 8
> ATA Standard is: Exact ATA specification draft version not indicated
> Local Time is: Thu Jan 6 15:12:37 2011 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> [root@kedacom device]# cat /sys/block/sdo/device/rev
> 01.0
> [root@kedacom device]# cat /sys/block/sdo/device/model
> WDC WD2003FYYS-0
> I read ATA spec7, The INQUERY DEVICE command return valued:
> Firmware revision 8byte
> Model Number 40byte
>
> This may be a bug?
> 2011-01-06
Why should it? Smartctl uses the ATA-Passthrough commands - the
reporting there is correct. Your system on the other hand uses SCSI,
that's what libata is for. You may want to also read the scsi-specs,
then you'll notice that "INQUIRE_DEVICE" scsi command allows less
characters for revision and model.
So maybe you'll want to write a feature request to the libata devs to
update the VPD via ATA commands after a disk has been detected to be ATA.
Cheers,
St0fF
>
>
>
> kernel.majianpeng
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-06 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 7:38 sata disk model/firmware length smaller kernel.majianpeng
2011-01-06 8:23 ` Stefan /*St0fF*/ Hübner [this message]
2011-01-06 16:34 ` Douglas Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D257C1B.8030708@stud.tu-ilmenau.de \
--to=stefan.huebner@stud.tu-ilmenau.de \
--cc=kernel.majianpeng@gmail.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.