problems with AHCI on FreeBSD 8.2

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Feb 14 10:05:15 UTC 2012


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 at parodius.com |
| Parodius Networking                     http://www.parodius.com/ |
| UNIX Systems Administrator                 Mountain View, CA, US |
| Making life hard for others since 1977.             PGP 4BD6C0CB |



More information about the freebsd-stable mailing list