SATA 1 Detected, not SATA 2

Asked by art

As I was searching Launchpad I notice a lot of whining by people who are asking for help, I apologize for them (tho frustration can do that). Please smack me if I start. I think this may be a NVIDIA problem but this is where you would know.

I came across this while investigating a different situation but I couldn't find any info using either Google or Launchpad. My SATA drive is running using SATA 1 (1.5MB/s) instead of the SATA 2 (3.0MB/s) the drive spec says it should have.

The driver is the NVIDIA chipset so maybe Ubuntu has no control but I thought I would ask. Here are the commands I used to determine I was using the wrong interface. I'll put arrows to highlight what I think are the signs. Please let me know if this can be configured or if you think it is on the NVIDIA side.

Thanks in advance.

art@art:/etc$ lspci | grep ATA
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)

art@art:/etc$ dmesg | grep ATA
[ 23.528633] hda: ATAPI CD-RW 52X24, ATAPI CD/DVD-ROM drive
[ 25.214664] hdd: MATSHITADVD-ROM SR-8583, ATAPI CD/DVD-ROM drive
[ 25.287706] ata1: SATA max UDMA/133 cmd 0xf884c480 ctl 0xf884c4a0 bmdma 0x0001cc00 irq 18
[ 25.287758] ata2: SATA max UDMA/133 cmd 0xf884c580 ctl 0xf884c5a0 bmdma 0x0001cc08 irq 18
[ 25.598145] ata1: SATA link down (SStatus 0 SControl 300)
[ 25.909778] ata2: SATA link down (SStatus 0 SControl 300)
[ 25.910731] ata3: SATA max UDMA/133 cmd 0xf885a480 ctl 0xf885a4a0 bmdma 0x0001b800 irq 19
[ 25.910778] ata4: SATA max UDMA/133 cmd 0xf885a580 ctl 0xf885a5a0 bmdma 0x0001b808 irq 19
[ 26.377249] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) <--------------------------------------hmmmmmm
[ 26.385456] ata3.00: ATA-7: HDS728080PLA380, PF2OA69A, max UDMA/133
[ 26.704852] ata4: SATA link down (SStatus 0 SControl 300)
[ 26.704951] scsi 2:0:0:0: Direct-Access ATA HDS728080PLA380 PF2O PQ: 0 ANSI: 5
[ 26.722590] hda: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
[ 26.725361] hdd: ATAPI 32X DVD-ROM drive, 512kB Cache, DMA
art@art:/etc$

art@art:/etc$ sudo hdparm -I /dev/sda
Password:

/dev/sda:

ATA device, with non-removable media
        Model Number: HDS728080PLA380
        Serial Number: PFDB32S6UENXLN
        Firmware Revision: PF2OA69A
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 1
        Supported: 7 6 5 4
Configuration:
        Logical max current
        cylinders 16383 16383
        heads 16 16
        sectors/track 63 63
        --
        CHS current addressable sectors: 16514064
        LBA user addressable sectors: 160836480
        LBA48 user addressable sectors: 160836480
        device size with M = 1024*1024: 78533 MBytes
        device size with M = 1000*1000: 82348 MBytes (82 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16 Current = 16
        Advanced power management level: unknown setting (0x0000)
        Recommended acoustic management value: 128, current value: 254
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           * SMART feature set
                Security Mode feature set
           * Power Management feature set
           * Write cache
           * Look-ahead
           * Host Protected Area feature set
           * WRITE_BUFFER command
           * READ_BUFFER command
           * DOWNLOAD_MICROCODE
                Advanced Power Management feature set
                Power-Up In Standby feature set
                SET_FEATURES required to spinup after power up
                Address Offset Reserved Area Boot
                SET_MAX security extension
                Automatic Acoustic Management feature set
           * 48-bit Address feature set
           * Device Configuration Overlay feature set
           * Mandatory FLUSH_CACHE
           * FLUSH_CACHE_EXT
           * SMART error logging
           * SMART self-test
                Media Card Pass-Through
           * General Purpose Logging feature set
           * WRITE_{DMA|MULTIPLE}_FUA_EXT
           * 64-bit World wide name
           * URG for READ_STREAM[_DMA]_EXT
           * URG for WRITE_STREAM[_DMA]_EXT
           * SATA-I signaling speed (1.5Gb/s) <---------------------------------------hmmmmmmmmmmmm, some more
           * Native Command Queueing (NCQ)
           * Host-initiated interface power management
                Non-Zero buffer offsets in DMA Setup FIS
                DMA Setup Auto-Activate optimization
                Device-initiated interface power management
                In-order data delivery
           * Software settings preservation
Security:
        Master password revision code = 65534
                supported
        not enabled
        not locked
        not frozen
        not expired: security count
        not supported: enhanced erase
        44min for SECURITY ERASE UNIT.
Checksum: correct
art@art:/etc$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#1

Sorry, I'm not really giving you an answer, just sharing some thoughts:

Controller

What motherboard do you have?
What module is being used, sata_nv or ahci?
Is ahci enabled in BIOS?
Are you sure that the CK804 (rev a3) chip supports SATA II rates? I could not find any reference to this or otherwise.

Hard disk

The default transfer rate is set to 1.5 Gb/s (see [1], pg. 11).
I could not find any reference on how to change this. The disk is jumperless so there must be a command to be sent to the firmware.

General

I found interesting that in page 27 of [1] the max typical instantaneous transfer rate is given as 66 MByte/s
Does this mean that it really doesn't matter what the host-buffer rate is (at least for non-cached operations)?
Just for comparison my Raptors tested with hdparm -t give 68 Mbytes/s.

[1] http://www.hitachigst.com/tech/techlib.nsf/techdocs/0C806FDC3974C4DD86256F880062BA7A/$file/d7k80SATA_sp.pdf

Revision history for this message
art (art-erickson) said :
#2

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
art (art-erickson) said :
#3

Cesare, compadre, I want to sincerely thank you for your time on this issue. You got me pointed in the right direction. It wasn't Ubuntu, Nvidia, or even the Bios (man, I was way off base). As you pointed out in the spec sheet for the HDD it was set to 1.5 Gbps and that had to be changed (of course I didn't go there first, but after determining no one else seemed to be at fault it had to be the drive).

I scoured the Hitachi web site that you kindly provided for me and finally gave up and emailed their tech support. Withing 24 hours they responded with a link to the tool I need to change the setting. Why this wasn't in one of the KBs or discussion boards I searched I don't know.

Getting the file to make the necessary boot floppy was an ordeal of which I will spare you the details, but I eventually defeated the obstacles. Humorously, if I was more familiar with Linux I could have gotten it done faster - I ended up using dd in windows.

All that to say thanks again. This service you people provide is outstanding an the people who make bitter remarks should tone it down some.