smartmontools 5.40 & ahci.ko -- doesn't work

Lev Serebryakov lev at FreeBSD.org
Fri Dec 3 13:19:51 UTC 2010


Hello, Stable.

  Latest  smartmontools  5.40  doesn't  work  with AHCI driver :( I've
  found  old  thread  about  5.38, but I have 5.40 and it doesn't work
  with any `-d' type...

  What do I do wrong?


# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
# uname -srp
FreeBSD 8.2-PRERELEASE amd64
# ls /var/db/pkg | grep smart
smartmontools-5.40
# ls /dev/ada[0-9]
/dev/ada0       /dev/ada1       /dev/ada2       /dev/ada3       /dev/ada4       /dev/ada5
blob# smartctl -A /dev/ada0
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/ada0: No such file or directory
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary
# smartctl -A -d ata /dev/ada0
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
# smartctl -A -d scsi /dev/ada0
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl open device: /dev/ada0 failed: No such file or directory
# smartctl -A -d atacam /dev/ada0
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl open device: /dev/ada0 failed: No such file or directory
#

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-stable mailing list