How to slow down SATA to 1.5 GBit/s ?

Alexander Motin mav at FreeBSD.org
Mon Mar 15 22:30:44 UTC 2010


Juergen Lock wrote:
>> The speed setter in camcontrol seems not to work.
>> Writing still gets stuck after a few MB.
>>
>  Is this on 8.0 release or on stable/8 or head?  As I said maybe that
> part of the code wasn't in 8.0 yet...

AFAIR it was implemented later then 8.0-RELEASE, and it works via:
camcontrol negotiate cd0 -U -R 1500000
camcontrol reset 4

>> So i used the boot time option.
>> dmesg tells:
>>  cd0 at ahcich4 bus 0 target 0 lun 0
>>  cd0: <TSSTcorp CDDVDW SH-S223B SB02> Removable CD-ROM SCSI-0 device 
>>  cd0: 300.000MB/s transfers
>>
>> I added to /boot/device.hints :
>>  hint.ahcich.4.sata_rev="1"
>>
>> After reboot, i see in dmesg:
>>  cd0 at ahcich4 bus 0 target 0 lun 0
>>  cd0: <TSSTcorp CDDVDW SH-S223B SB02> Removable CD-ROM SCSI-0 device 
>>  cd0: 150.000MB/s transfers

That way is also working.

-- 
Alexander Motin


More information about the freebsd-hackers mailing list