From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 15 22:30:44 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30D08106566B for ; Mon, 15 Mar 2010 22:30:44 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id B2A538FC19 for ; Mon, 15 Mar 2010 22:30:43 +0000 (UTC) Received: by fxm7 with SMTP id 7so735282fxm.3 for ; Mon, 15 Mar 2010 15:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=FxC6Cr1OkanQp0JLJXeXewV3cVkgygfkbbeXgaQPphM=; b=gN1Hs7lf92UaeXFaPgbWyhUmwb6qdPFey3bEmBer6B0W80O+5hffwcN/SbOlrxQuDf JV/P4vdUEuWsvliZVSqIjoyaCh8IUqaITEmNS50yBIoep25HzaSyak2GwrFiAhO6UlT1 R1xl4MjLHUFIm8V1NqpJhYBj8x8lhFkIPEbC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=kO4QppQFRwOA/kL+2bHuLVdIZmdqiGrumNMJc7NPMEqX1sOQa6P9OxghfxGJCtX5I8 DDvtwtk4B9w3SgLQMh3Z/oP99mgpkb/gCKQXAOF8/O65fSOkFa/guO+7w60koszZmgdY x8Ldh7LRgy3oZlyFy19hmzjz/mlXlRIy2u8W4= Received: by 10.102.222.5 with SMTP id u5mr3956561mug.134.1268692242410; Mon, 15 Mar 2010 15:30:42 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (s224.GtokyoFL6.vectant.ne.jp [222.228.90.224]) by mx.google.com with ESMTPS id w5sm23579174mue.54.2010.03.15.15.30.39 (version=SSLv3 cipher=RC4-MD5); Mon, 15 Mar 2010 15:30:41 -0700 (PDT) Sender: Alexander Motin Message-ID: <4B9EB50D.1000003@FreeBSD.org> Date: Tue, 16 Mar 2010 00:30:37 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Juergen Lock References: <201003141600.o2EG0F2M005027@triton8.kn-bremen.de> <201003151950.o2FJonYP003759@triton8.kn-bremen.de> In-Reply-To: <201003151950.o2FJonYP003759@triton8.kn-bremen.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, scdbackup@gmx.net Subject: Re: How to slow down SATA to 1.5 GBit/s ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 22:30:44 -0000 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: 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: Removable CD-ROM SCSI-0 device >> cd0: 150.000MB/s transfers That way is also working. -- Alexander Motin