DragonFly BSD
DragonFly bugs List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Alex Hornung via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Feb 2012 07:36:42 -0800

Issue #1412 has been updated by Alex Hornung.


Also works on the external ESATA disk:

15:36:28 dfhybrid:~ 
4 # dmesg | grep da1
disk scheduler: set policy of da1 to noop
da1 at ahci0 bus 3 target 0 lun 0
da1: <SATA WDC WD3200BEVT-2 11.0> Fixed Direct Access SCSI-4 device 
da1: Serial Number WD-WXE308K75174
da1: 300.000MB/s transfers
da1: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
da1s2: cannot find label (no disk label)
da1s2: cannot find label (no disk label)
da1s2: cannot find label (no disk label)
da1s2: cannot find label (no disk label)
da1s2: cannot find label (no disk label)
da1s2: cannot find label (no disk label)
15:36:30 dfhybrid:~ 
# smartctl -a -d sat /dev/da1
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

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA family
Device Model:     WDC WD3200BEVT-22ZCT0
Serial Number:    WD-WXE308K75174
Firmware Version: 11.01A11
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Wed Feb 29 15:36:32 2012 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

----------------------------------------
Bug #1412: sysutils/smartmontools doesn't work with ahci(4)
http://bugs.dragonflybsd.org/issues/1412

Author: Hasso Tepper
Status: Feedback
Priority: Low
Assignee: Alex Hornung
Category: 
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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]