kasbert / OS-X-SAT-SMART-Driver

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

SmartWriteLogAtAddress is not working #14

Closed hnr3103 closed 10 years ago

hnr3103 commented 10 years ago

Hi,

I am trying to send writeLogAtAddress to the SATA disk connected via the bridge ASMedia . The SAT driver is not supporting that. Getting the error as kIOReturnIPCError.

What could be the issue? Is it supported by the SAT driver... ?

Using debug build, I am unable to see the debug logs of issuing SendSmartCommand for SmartWrite. Other commands are fine.

Same code is working fine if the device is connected to SATA interface..

Any help on this issue ?

I am using Mac OS X 10.8...

kasbert commented 10 years ago

If I remember correctly, I never tested it. So, it's probably just broken. Possibly the message transfer from UserClientLib to kernel module doesn't work. I'l check it

kasbert commented 10 years ago

Please try SATSMARTDriver-0.9-Debug.dmg

I limited the sector count to 4. Is it enough, or do you need 16 ? Update: it should work now with 16 sectors.

By the way, what log page are you writing and what can be accomplished with it ?

hnr3103 commented 10 years ago

Thank you Kasbert....

It is working fine ... I wanted to log some debug information on disk for some diagnostic purpose.. Thank you for your timely help..