RJVB / OS-X-SAT-SMART-Driver

Forked from kasbert/OS-X-SAT-SMART-Driver
67 stars 11 forks source link

SAT-SMART blocks USB drives from loading? #2

Open paulbeard opened 10 years ago

paulbeard commented 10 years ago

Was just wresting with this for the second time in a few days and for some reason thought to look in system.log. No sign of the USB drive and nothing in diskutil activity.

I used kextunload -c to get SAT-SMART out of the loop and sure enough, the drive came right up as soon as I plugged it in.

Jul  3 17:43:52 argent.paulbeard.org sudo[49798]:     paul : TTY=ttys002 ; PWD=/Users/paul ; USER=root ; COMMAND=/sbin/kextunload -c /System/Library/Extensions/SATSMARTDriver.kext
Jul  3 17:44:06 argent Safari[533]: assertion failed: 13D65: libxpc.dylib + 26863 [AB40CD57-F454-3FD4-B415-63B3C0D5C624]: 0x13
Jul  3 17:44:16 --- last message repeated 1 time ---
Jul  3 17:44:16 argent kernel[0]: USBMSC Identifier (non-unique): 0x90c 0x1000 0x1100
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1s1 updatedDisk = 0x7fa61b504130 DUDiskDMDisk (type=8245937342569775107)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskAppeared ** disk1s1
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1s1 updatedDisk = 0x7fa61b504130 DUDiskDMDisk (type=3)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskChanged ** disk1s1
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1s2 updatedDisk = 0x7fa61b46df40 DUDiskDMDisk (type=140733193388035)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskAppeared ** disk1s2
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1s2 updatedDisk = 0x7fa61b46df40 DUDiskDMDisk (type=3)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskChanged ** disk1s2
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1 updatedDisk = 0x7fa61b639dd0 DUDiskDMDisk (type=140733193388033)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskAppeared ** SMI USB DISK Media
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: updateMasterDiskListWithDisk - disk1 updatedDisk = 0x7fa61b639dd0 DUDiskDMDisk (type=1)
Jul  3 17:44:18 argent.paulbeard.org Disk Utility[49744]: ** diskChanged ** SMI USB DISK Media
Jul  3 17:44:30 argent.paulbeard.org Disk Utility[49744]: DUModule DUDFA 0x7fa61b614160 created a new DMManager 0x6080000171a0

I reloaded the driver and diskutll still sees the drive.

RJVB commented 10 years ago

I also noticed that one of my drive doesn't always appear the 1st time I switch it on.

Couple questions:

Your message was a reminder for me to attempt a sync with kasbert's repository. The sync worked out well enough, but I can't say the same for the resulting kext - or for the kext he published. On 10.6.8, I get a timeout waiting for IOKit to do something when the loginwindow first starts after boot, and that leaves me with a blue screen - if I have an external attached via FW800. Without, things seem to work fine. Needless to say that I archived the new source, and got a backup off the Time Machine!

paulbeard commented 10 years ago

On Jul 4, 2014, at 7:50 AM, René Bertin notifications@github.com wrote:

I also noticed that one of my drive doesn't always appear the 1st time I switch it on.

Not really an option for thumb drives. I rarely use any external drives at the moment so no info to work with.

Couple questions:

I presume you're running 10.8 or 10.9? 10.9, yes. USB2 or USB3? I'm assuming USB2, as I've had these awhile. Did you try the kext from the main project, the one this project was forked from? I think I have your version installed. Once it was working I resolved not to muck about with it.

Wonder what it would take to get this folded into 10.10, assuming this anomaly could be resolved?

RJVB commented 10 years ago

What do you mean, folded into?

And you mean that now you can unmount and remount the thumbdrive without issues again?

paulbeard commented 10 years ago

On Jul 4, 2014, at 8:02 AM, René Bertin notifications@github.com wrote:

What do you mean, folded into?

Added as an official component of the OS.

RJVB commented 10 years ago

Befriend and convince an Apple dev that it's a good idea and not in conflict with any of Apple's past, current and future policies?

paulbeard commented 10 years ago

On Jul 4, 2014, at 8:38 AM, René Bertin notifications@github.com wrote:

Befriend and convince an Apple dev that it's a good idea and not in conflict with any of Apple's past, current and future policies?

Is that all it takes?

kasbert commented 10 years ago

Would you try the Debug version, please ?

paulbeard commented 10 years ago

On Fri, Jul 4, 2014 at 12:48 PM, Jarkko Sonninen notifications@github.com wrote:

Would you try the Debug version, please ?

Let me look into how I get that.

Paul Beard / www.paulbeard.org/

RJVB commented 10 years ago

On Friday July 04 2014 12:48:56 Jarkko Sonninen wrote:

Would you try the Debug version, please ?

Was that addressed at me?

kasbert commented 10 years ago

Actually yes, sorry for confusion.

paulbeard commented 10 years ago

On Fri, Jul 4, 2014 at 7:50 AM, René Bertin notifications@github.com wrote:

  • Did you try the kext from the main project, the one this project was forked from?

I never worked out how to do that and since I don't use any external drives, I ended up removing all the SAT SMART stuff.

If there is a USB-stick compatible version to try, let me know.

Paul Beard / www.paulbeard.org/

RJVB commented 4 years ago

6 years later ... I finally took some time to merge the latest changes from upstream with my own changes. For now everything seems fine, but I still need to try a reboot.

Meanwhile, did this issue resolve itself for you, @paulbeard?

paulbeard commented 4 years ago

I'm laughing…a lot has changed since this bug report. Nothing to do with you, of course, but I have no idea if I can even test this now.

On Mon, Apr 20, 2020 at 9:06 AM René Bertin notifications@github.com wrote:

6 years later ... I finally took some time to merge the latest changes from upstream with my own changes. For now everything seems fine, but I still need to try a reboot.

Meanwhile, did this issue resolve itself for you, @paulbeard https://github.com/paulbeard?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RJVB/OS-X-SAT-SMART-Driver/issues/2#issuecomment-616651013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7N6PAXJWKNQNOVOLFTY7DRNRXG7ANCNFSM4ARIXY7Q .

-- Paul Beard / www.paulbeard.org/