Mailinglist Archive: opensuse (389 mails)

< Previous Next >
Re: [opensuse] how to determine actual SATA speed ?
On 21/03/2019 19.36, Mathias Homann wrote:
Am Donnerstag, 21. März 2019, 10:50:46 CET schrieb Per Jessen:
On a running system, how do I determine which SATA speed (1.5/3/6) the
disk are currently connected at?

I found this:
https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed
/

None of the methods described work :-( (dmesg, smartctl,
hdparm, /sys/class/ata_link/*/sata_spd ).

The boards have an ICH7R controller which is 3Gbps, so I'm pretty
certain about the speed, but surely there is a way to tell?


dmesg|grep -i sata.link
[ 2.214486] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 2.218478] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 2.218496] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)


'nuff said :)

Not always.

cer@Telcontar:~> dmesg|grep -i sata.link
[ 3.978020] ata6: SATA link down (SStatus 0 SControl 300)
[ 3.988260] ata5: SATA link down (SStatus 0 SControl 300)
[ 4.048873] ata7: SATA link down (SStatus 0 SControl 300)
[ 4.058816] ata8: SATA link down (SStatus 0 SControl 300)
[ 4.639976] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.651395] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4.903988] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.913152] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.922239] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.931174] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 5495.878805] ata8: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 7762.295944] ata8: SATA link down (SStatus 0 SControl 300)
[ 7767.854239] ata8: SATA link down (SStatus 0 SControl 300)
[ 7773.230486] ata8: SATA link down (SStatus 0 SControl 300)
[123389.763884] ata5: SATA link down (SStatus 0 SControl 300)
[123389.763922] ata6: SATA link down (SStatus 0 SControl 300)
[123389.767750] ata7: SATA link down (SStatus 0 SControl 300)
[123389.767790] ata8: SATA link down (SStatus 0 SControl 300)
[123389.805657] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[123389.805816] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[123390.117673] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[123390.117684] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[123390.117833] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[123390.117843] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[240001.288799] ata5: SATA link down (SStatus 0 SControl 300)
[240001.288801] ata7: SATA link down (SStatus 0 SControl 300)
[240001.288856] ata6: SATA link down (SStatus 0 SControl 300)
[240001.288868] ata8: SATA link down (SStatus 0 SControl 300)
[240001.346476] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[240001.346654] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[240001.658483] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[240001.658494] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[240001.658617] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[240001.658632] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
cer@Telcontar:~>


I know the reason why I get that, not the point. Only that the command is not
that clear always, the output has to be analyzed.


--
Cheers / Saludos,

Carlos E. R.
(from 15.0 x86_64 at Telcontar)

< Previous Next >