Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2010 12:38:14 +0100
From:      "Thomas Schmitt" <scdbackup@gmx.net>
To:        freebsd-hackers@freebsd.org
Subject:   Solved: How to slow down SATA to 1.5 GBit/s ?
Message-ID:  <105790671418047@192.168.2.69>
In-Reply-To: <201003182017.o2IKHYE2042851@triton8.kn-bremen.de>
References:  <201003182017.o2IKHYE2042851@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

i now have running the eSATA attached DVD drive
with 150 MB/s on 8-STABLE and 8-RELEASE.
Done by switching from ata to ahci as described
by Juergen Lock in
  http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg70510.html
and the given link to Ivan Vora's
  http://ivoras.sharanet.org/blog/tree/2009-11-17.trying-ahci-in-8.0.html
My thanks to both.

The DVD drive at ahcich4 is curbed in
/boot/device.hints by
  hint.ahcich.4.sata_rev="1"
while the hard disk still runs on 300 MB/s.


The problems with libburn and ahci have turned
out as suboptimal usage of libcam flags which
worked with ata and usb, but not with ahci.
Thanks to Alexander Motin for telling me the
right gestures of error reply detection.


------------------------------------------------
Little pitfall in Juergen's proposal:

  dumpfs /dev/adXsYa | sed -n ...

produces output like

  /dev/ufsid/4ba77276 b4a8625
  /dev/ufsid/4ba77276 fb8e9567

One has to fill in eventual leading 0s so that
both hex numbers have 8 digits, and one has to
remove the blank:
  /dev/ufsid/4ba772760b4a8625
  /dev/ufsid/4ba77276fb8e9567

Alternatively one can follow Ivan's proposal
to put into boot/loader.conf:
  kern.geom.label.debug=1
and to reboot for seeing the ufsid in the boot
log.


Have a nice day :)

Thomas




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