June 7, 201214 yr I've done a search and haven't come across any way to check the SATA connection speed for a drive. For example, I have 5 drives connected. I would like to confirm that they are all running on SATA300 connections and that none are running at SATA150 Is there an easy way to check this? As always, thanks in advance
June 7, 201214 yr The syslog indicates whether a disk is connect at 1.5, 3, or 6 Gbps. Although, even 1.5Gbps will not bottleneck the throughput. The disk platter itself or the network will limit performance.
June 8, 201214 yr Author So how should I interpret the following lines: Tower kernel: ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfa00 irq 14 (Drive related) Tower kernel: ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfa08 irq 15 (Drive related) Tower kernel: ata3: SATA max UDMA/100 mmio m1024@0xfdcff000 tf 0xfdcff080 irq 20 (Drive related) Tower kernel: ata4: SATA max UDMA/100 mmio m1024@0xfdcff000 tf 0xfdcff0c0 irq 20 (Drive related) Tower kernel: ata5: SATA max UDMA/100 mmio m1024@0xfdcff000 tf 0xfdcff280 irq 20 (Drive related) Tower kernel: ata5: SATA link down (SStatus 0 SControl 310) (Drive related) Tower kernel: ata6: SATA max UDMA/100 mmio m1024@0xfdcff000 tf 0xfdcff2c0 irq 20 (Drive related) Tower kernel: ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310) (Drive related) Tower kernel: ata8: SATA link up 1.5 Gbps (SStatus 113 SControl 300) (Drive related) Tower kernel: ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300) (Drive related) My board has four sata ports and I just bought an SIL3114 based PCI card. Thanks again for the help
June 8, 201214 yr Author Yeah so that part i understand. More specifically I was wondering: 1 - what does "drive related" mean 2- since I have five drives connected, what the the speeds of the final 2? thanks again for all your help
June 8, 201214 yr Yeah so that part i understand. More specifically I was wondering: 1 - what does "drive related" mean 2- since I have five drives connected, what the the speeds of the final 2? thanks again for all your help "drive related" indicated the line was colored and tagged as being affiliated with a disk drive/controller by the syslog viewer in unMENU.
June 8, 201214 yr 2- since I have five drives connected, what the the speeds of the final 2? Post your entire syslog to find the other lines that identify connection speeds.
June 8, 201214 yr Author I've attached the drive related entries from my syslog. If someone could just point me to the right lines for me to check that would be great. I keep seeing this line for my drives Tower kernel: ata1.00: ATA-8: WDC WD20EARS-00MVWB0, 51.0AB51, max UDMA/133 (Drive related) which makes me wonder i've got a setting wrong and its maxed at UDMA/133 Drive_Related_Syslog_copy.txt
June 8, 201214 yr I don't see any errors in your syslog, but a few of your drives are running at SATAI speeds. Since the drives themselves are capable of SATAII, then your motherboard must be the limitation. If you are sure that your motherboard supports SATAII, then the likely culprit is a setting in the BIOS. Look through your BIOS for the SATA controller settings and set your drives to AHCI. This setting may be in the southbridge configuration screen.
June 9, 201214 yr Author sorry not to be dense but does Tower kernel: ata1.00: ATA-8: WDC WD20EARS-00MVWB0, 51.0AB51, max UDMA/133 (Drive related) mean that the max speed on that drive is 133?
June 9, 201214 yr No. You can ignore those lines. They only apply if your BIOS SATA mode is set to legacy, combined, or IDE instead of AHCI. See here for info on accessing the entire syslog: http://lime-technology.com/forum/index.php?topic=9880.0 Search for "SATA link up" in the syslog.
June 9, 201214 yr Author got it - i pulled the log before but it was too large to post as an attachment. final question: I see the line Tower kernel: ata10: SATA link up 1.5 Gbps (SStatus 113 SControl 300) (Drive related) now how do i figure out what drive is connected to ATA10 and really appreciate the help and patience on this guys
June 9, 201214 yr A search for ata10 will provide a model number but not the serial number. The simplest way to differentiate common model drives is to disconnect all but one.
October 28, 201312 yr I've done a search and haven't come across any way to check the SATA connection speed for a drive. For example, I have 5 drives connected. I would like to confirm that they are all running on SATA300 connections and that none are running at SATA150 Is there an easy way to check this? As always, thanks in advance I wrote this script to output link speed and identify device. It's not pretty, but functional. #!/bin/sh for i in `grep -l Gbps /sys/class/ata_link/*/sata_spd`; do echo Link "${i%/*}" Speed `cat $i` cat "${i%/*}"/device/dev*/ata_device/dev*/id | perl -nE 's/([0-9a-f]{2})/print chr hex $1/gie' | echo " " Device `strings` done see https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-ata
October 28, 201312 yr I've done a search and haven't come across any way to check the SATA connection speed for a drive. I wrote this script to output link speed and identify device. It's not pretty, but functional. Why would you write a script to respond to a year and a half old post?
January 28, 201412 yr Because I was looking for a way to do the same thing, came across this page. Nobody had provided a way to do it, so I did some more research and wrote a script. Now the next guy who comes here has a solution.
Archived
This topic is now archived and is closed to further replies.