Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2011 14:29:12 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Dieter BSD <dieterbsd@engineer.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: ahci(4) doesn't work with Hitachi 3TB drive
Message-ID:  <4DECBA08.7050709@FreeBSD.org>
In-Reply-To: <20110605225033.198080@gmx.com>
References:  <20110605225033.198080@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dieter BSD wrote:
> Testing the 3 TB disk with the 3132 controller went fine.
> Smartctl -a  works.  Reading and writing with dd work.
> Switched it back to the JMB363 controller.
> 
> Smartctl -a does not work.
> Still says 150 MB/s rather than 300.
> 
> It would be nice if hint.ahcich.1.sata_rev could be set
> with a sysctl to avoid the need for a reboot.
> 
> Reads smaller than about 90KB appears to always work as expected.
> Reads larger than about 90KB sometimes works fine, sometimes are
> very slow and give timeout error:
> 
> dd if=/dev/ada11 bs=1m count=1 > /dev/null
> 
> 1048576 bytes transferred in 0.008948 secs (117184368 bytes/sec)
> 1048576 bytes transferred in 0.008901 secs (117802714 bytes/sec)
> 1048576 bytes transferred in 0.009025 secs (116184459 bytes/sec)
> 1048576 bytes transferred in 0.009055 secs (115802062 bytes/sec)
> 1048576 bytes transferred in 0.008970 secs (116897815 bytes/sec)
> 1048576 bytes transferred in 0.009054 secs (115814260 bytes/sec)
> 1048576 bytes transferred in 60.234137 secs (17408 bytes/sec)
> 
> ahcich1: Timeout on slot 0
> ahcich1: is 00000000 cs 00000000 ss 00000001 rs 00000001 tfd 50 serr 00000000
> 
> The larger the read the more likely it is to timeout.
> 
> Behaviour is the same with hint.ahcich.1.sata_rev="1"  or ="2"

I have no ideas. I still think it is JMicron's PHY level issue.

-- 
Alexander Motin



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