21.03.2019 14:44, Per Jessen пишет:
Dave Howorth wrote:
On Thu, 21 Mar 2019 10:50:46 +0100 Per Jessen <per@computer.org> wrote:
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 ).
$ cat /sys/class/ata_link/link*/sata_spd 6.0 Gbps 1.5 Gbps <unknown> <unknown> $ dmesg | grep 'SATA link' [ 1.626512] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 1.626558] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Leap 15.0
Weird, same here, but nothing to be seen:
# cat /sys/class/ata_link/link*/sata_spd <unknown> <unknown>
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 irq 15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller? lspci -nnk ls -l /sys/block/sda ls -l /sys/class/ata_link would be interesting. As well as full dmesg output immediately after boot. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org