Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 00:30:37 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        freebsd-hackers@freebsd.org, scdbackup@gmx.net
Subject:   Re: How to slow down SATA to 1.5 GBit/s ?
Message-ID:  <4B9EB50D.1000003@FreeBSD.org>
In-Reply-To: <201003151950.o2FJonYP003759@triton8.kn-bremen.de>
References:  <201003141600.o2EG0F2M005027@triton8.kn-bremen.de> <201003151950.o2FJonYP003759@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B9EB50D.1000003>