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: Smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (c) 2002-9 Bruce allen Home page is http://smartmontools.sourceforge.net/ Smartctl: Device read Identity Failed (nota n ATA/ATAPI device) A mandatory SMART command failed : exiting. To continue, add one or more '-T permissive' options Do i need to set some option somewhere, or rebuild smartmontools with some option? Regards, Johan
>m 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: >Smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (c) 2002-9 >Bruce allen...>Smartctl: Device read Identity Failed (nota n ATA/ATAPI device)...>Do i need to set some option somewhere, or rebuild smartmontools with >some option?There is no support in smartmontools 5.38 for the new ahci(4) driver in FreeBSD 8.x and 9.x, or for the new ATA_CAM option that mav@ just introduced into FreeBSD 9.x. You need to wait for smartmontools 5.39 to be released, or build smartmontools from the latest svn sources. The smartmontools developers have made some changes beginning on Oct.6, and claim to support the new FreeBSD drivers in the latest sources. Regards, b.
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 |
on 07/12/2009 12:42 b. f. said the following:> There is no support in smartmontools 5.38 for the new ahci(4) driver > in FreeBSD 8.x and 9.x, or for the new ATA_CAM option that mav@ just > introduced into FreeBSD 9.x. You need to wait for smartmontools 5.39 > to be released, or build smartmontools from the latest svn sources. > The smartmontools developers have made some changes beginning on > Oct.6, and claim to support the new FreeBSD drivers in the latest > sources.BTW, 5.39rc1 is available. -- Andriy Gapon
Johan Hendriks wrote:> 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: > > Do i need to set some option somewhere, or rebuild smartmontools with > some option?You need updated smartmontools from it's SVN on SourceForge, or wait for it's next release. -- Alexander Motin
"Johan Hendriks" <Johan@double-l.nl> writes:> 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: >same here. And I did some research on Google. Some linux guys seemed to have found solutions, which, however, do not work on FreeBSD.> > > Smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (c) 2002-9 > Bruce allen > > Home page is http://smartmontools.sourceforge.net/ > > > > Smartctl: Device read Identity Failed (nota n ATA/ATAPI device) > > > > A mandatory SMART command failed : exiting. To continue, add one or more > '-T permissive' options > > > > > > Do i need to set some option somewhere, or rebuild smartmontools with > some option? > > > > > > Regards, > Johan > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" > >-- tamgya |aT| GmAiL |DoT| cOm
On Mon, Dec 7, 2009 at 6:56 PM, Denise H. G. <tamgya@gmail.com> wrote:> "Johan Hendriks" <Johan@double-l.nl> writes: > >> 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]Newer version of smartmontools should support the new style devices. The port should be updated for that... -- Xin LI <delphij@delphij.net> http://www.delphij.net