[DragonFlyBSD - Bug #1412] sysutils/smartmontools doesn't work with ahci(4)

Alex Hornung via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Feb 29 07:34:56 PST 2012

Issue #1412 has been updated by Alex Hornung.

Assignee changed from Matthew Dillon to Alex Hornung
Priority changed from Normal to Low

Works here on the internal disk.

15:33:11 dfhybrid:~ 
4 # dmesg | grep da0
disk scheduler: set policy of da0 to noop
da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA ST9500420AS 0003> Fixed Direct Access SCSI-4 device 
da0: Serial Number 5VJB5EP9
da0: 300.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)

2 # smartctl -a -d sat /dev/da0
smartctl 5.40 2010-10-16 r3189 [DragonFly 3.1-DEVELOPMENT x86_64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Model Family:     Seagate Momentus 7200.4 series
Device Model:     ST9500420AS
Serial Number:    5VJB5EP9
Firmware Version: 0003LVM1
User Capacity:    500,107,862,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Wed Feb 29 15:33:10 2012 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Bug #1412: sysutils/smartmontools doesn't work with ahci(4)

Author: Hasso Tepper
Status: Feedback
Priority: Low
Assignee: Alex Hornung
Target version: 

sysutils/smartmontools doesn't work with devices attached to ahci(4), using 
nata(4) works fine. Cheating and specifying device type doesn't help either:

$ sudo smartctl -a /dev/da0
smartctl version 5.38 [i386-pc-dragonfly] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: SATA     Hitachi HDT72502 Version: V5DO
Serial number: VFL101R60YS8GF
Device type: disk
Local Time is: Sat Jun 27 22:26:55 2009 EEST
Device does not support SMART
Request Sense failed, [Operation not permitted]

Error Counter logging not supported
Device does not support Self Test logging
$ sudo smartctl -d ata -a /dev/da0
smartctl version 5.38 [i386-pc-dragonfly] Copyright (C) 2002-8 Bruce Allen
Home page is 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.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list