kasbert / OS-X-SAT-SMART-Driver

Max OS X kernel driver for providing access to external drive SMART data
585 stars 76 forks source link

Possibly broken on 10.9.x Mavericks #13

Closed naitoshedo closed 10 years ago

naitoshedo commented 10 years ago

From my tests is seems Apple changed something in 10.9.x leading to SAT-SMART not working (and actually preventing functionality).

From latest git pull it builds but I get a bunch of these once it is installed: USBMSC Identifier (non-unique): 0123456789ABCDEF 0x174c 0x55aa 0x100, 2 SATSMARTDriver v0.7: disk is not SAT capable IOBlockStorageDriver: not registry member at registerService() WDC WD10 EARS-00Y5B1 Media: not registry member at registerService()

Until the extension is removed from kextcache it will actually prevent mounting of the external drive as well.

Worked in 10.8.x sigh

xraystyle commented 10 years ago

So it appears. I can't pull disk info using a dock that previously worked on 10.8.x with this driver and smartctl.

Gotta pull out the old laptop to test this pile of drives, I guess.

Cpuroast commented 10 years ago

After reading about the potential issues with 0.7 and Mavericks regarding non SAT capable devices. I decided to install 0.6 instead.

Which happens to be right before the "Do not use the driver if ata identify fails." commit.

All SAT and non-SAT capable USB media mount perfectly. I get all SMART attributes for the HDD in my ASMedia 1051 based USB3 enclosure.

This is on OSX 10.9.1

naitoshedo commented 10 years ago

Confirmed 0.6 works fine on my setup. Lacie USB 3.0 ExpressCard 34 (With GenericUSBXHCI) and ASMedia AS2105 enclosure. Also works with my Seagate FreeAgentDesktop (With a Western Digital 1TB inside it).

OSX 10.9.1 as well.

xraystyle commented 10 years ago

Confirmed working with 0.6 on OS X 10.9.1 over USB. I previously had the dock connected via eSATA to an eSATA to Thunderbolt bridge. That no longer works in Mavericks.

Oh well, USB gets the job done for reading SMART status.

kasbert commented 10 years ago

Please try version 0.8. Actually the changes between 0.6 - 0.7 - 0.8 are mostly cosmetic, but I would like to know if the last version works.

xz4gb8 commented 10 years ago

I installed the 0.8 debug kexts and tested with internal drives only, added USB drives, added Firewire drives. USB drives do NOT return attributes. Test notes, diskutil list, and system log are on dropbox at https://www.dropbox.com/sh/xynm019zfqpfa64/y73ZVy_ZiA

kasbert commented 10 years ago

Does it work if you unmount the USB drive, unplug the USB cable and put it back, keeping the drive powered up all the time ?

It might be possible that the drive is spinning up at the moment of the driver loading and the enclosure reports MEDIUM NOT PRESENT (ADDITIONAL_SENSE_CODE=58)

xz4gb8 commented 10 years ago

Well, the situation is more complicated than I originally thought.

For example, one enclosure returns SMART attribute data via FireWire, but not by USB or eSATA. This is really confusing as I would expect at least eSATA to pass through transparently to the internal SATA connection. Apparently this is not so.

The OWC Voyager Q and S3 docks both return SMART attribute data over USB.

I am trying to get more data on the various chip sets support of SMART data.

Bottom line: Version 0.8 seems to work properly -- my inconsistent results are due to enclosure chip differences.

kasbert commented 10 years ago

As there have not been similar problems with version 0.8, I'll close this issue

shatteringlass commented 10 years ago

I am investigating the fact that I may be, in fact, affected by this issue on latest version of the driver