Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 02:05:13 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Victor Balada Diaz <victor@bsdes.net>
Cc:        stable@FreeBSD.org
Subject:   Re: problems with AHCI on FreeBSD 8.2
Message-ID:  <20120214100513.GA94501@icarus.home.lan>
In-Reply-To: <20120214091909.GP2010@equilibrium.bsdes.net>
References:  <20120214091909.GP2010@equilibrium.bsdes.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 14, 2012 at 10:19:09AM +0100, Victor Balada Diaz wrote:
> We're having some troubles with AHCI under FreeBSD 8.2 and 8-STABLE. The error is:
> 
> ahcich0: Timeout on slot 8
> ahcich0: is 00000000 cs 00000100 ss 00000000 rs 00000100 tfd c0 serr 00000000
> ahcich0: AHCI reset...
> ahcich0: SATA connect time=0ms status=00000123
> ahcich0: ready wait time=18ms
> ahcich0: AHCI reset done: device found
> (ada0:ahcich0:0:0:0): Request requeued
> (ada0:ahcich0:0:0:0): Retrying command
> (ada0:ahcich0:0:0:0): Command timed out
> (ada0:ahcich0:0:0:0): Retrying command
> ahcich0: Timeout on slot 8
> ahcich0: is 00000000 cs 007ff000 ss 007fff00 rs 007fff00 tfd c0 serr 00000000
> ahcich0: AHCI reset...
> ahcich0: SATA connect time=0ms status=00000123
> ahcich0: ready wait time=84ms
> ahcich0: AHCI reset done: device found
> (ada0:ahcich0:0:0:0): Request requeued
> (ada0:ahcich0:0:0:0): Retrying command
> (ada0:ahcich0:0:0:0): Command timed out
> (ada0:ahcich0:0:0:0): Retrying command
> (ada0:ahcich0:0:0:0): Request requeued
> [...]
> 
> If we use old ATA driver we have no problems. If we just use the first disk (ada0) with ahci,
> no problems either. If we use both disks (ada0 and ada1) in gmirror setup with ahci, we
> got the above error. If we use both disks in gmirror with old ata driver, no problems.

Please provide SMART statistics for both disks by installing
ports/sysutils/smartmontools (5.42 or newer please) and running
"smartctl -a" against both disks (ada0/ada1, or ad4/ad10 -- doesn't
matter which driver you're using).  I will review the output.

-- 
| Jeremy Chadwick                                 jdc@parodius.com |
| Parodius Networking                     http://www.parodius.com/ |
| UNIX Systems Administrator                 Mountain View, CA, US |
| Making life hard for others since 1977.             PGP 4BD6C0CB |




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