Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2009 02:45:14 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Smartctl and ahci
Message-ID:  <20091207104514.GA9156@icarus.home.lan>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA572DC@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCBA572DC@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 07, 2009 at 11:06:35AM +0100, Johan Hendriks wrote:
> Hello all
> 
> I am running FreeBSD 8_Stable, and i started to use the ahci driver, all
> is fine 
> 
> All my drives are now detected as ada[0-9]
> 
> But when i run smartctl it give me the following message:
> {snip}

You won't be able to use smartctl with ahci.ko.  The AHCI->CAM layer
ends up making a mess of this, and smartctl doesn't know what to do; I
don't know if this is smartctl's fault or the AHCI->CAM layer's fault.

Forcing ATA type using the --device or -d flag does not work.

Your best bet is to use ataahci.ko instead, which will result in your
disks showing up as the classic /dev/adX type.  There are drawbacks to
this choice (lack of NCQ being the main one), but SMART monitoring will
be available.  I consider SMART more important than NCQ, but others may
feel the opposite.

Someone familiar with this new infrastructure will need to reach out to
Bruce Allen and work with him to get smartctl working with the new
AHCI->CAM interface.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| 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?20091207104514.GA9156>