system_profiler Err...
 
Notifications
Clear all

system_profiler Error loading OWC_SMART_Library: dlopen code signature not valid

(@cbedgar)
Active Member Customer

On my Mac mini (Late 2018), running macOS 10.14.6 and SoftRAID Lite 5.8.1, I am having trouble with OWC_SMART_Library and system_profiler.

system_profiler (a command line tool), complains that it can not load OWC_SMART_Library because dlopen fails because the code signature in OWC_SMART_Library.plugin is “not valid for use in process”. Then system_profiler complains that it “Cannot find function pointer SOULibFactory” because the OWC_SMART_Library.plugin bundle is not loaded. Finally, system_profiler complains “SPUSBDevice: IOCreatePlugInInterfaceForService failed”, twice. This last error seems to be unrelated to SoftRAID and OWC_SMART_Library.

On my earlier Mac mini, I used system_profiler and other command line tools to collect detailed information about all attached drives so as to better associate the hardware in service with logical storage volumes, and replace failed hardware without losing track of what the new hardware did and what it replaced. The point is, I used system_profiler to track SoftRAID hardware and volumes, and I found it helpful.

On my new system, I have struggled to get the system, especially SoftRAID, up and running. Mojave, secure boot, APFS, SoftRAID and the T2 chip have conspired to make configuring this system much more difficult than I expected. But with a clean install of macOS, Secure boot disabled, and a clean install of SoftRAID, things seemed to be generally working. Downloading all installers directly from the source and disabling Secure boot both seem to be necessary to get my SoftRAID working properly. Now it was time to collect and record the system configuration so I could track and manage it over time. But system_profiler is not cooperating.

I have tried uninstalling and reinstalling the SoftRAID drivers on the startup disk, both when started from that disk, and when started from a different partition. I have tried installing SoftRAID (trial) instead of SoftRAID Lite (licensed). I have looked for, found, and deleted, the dreaded com.apple.quarantine attribute on the SoftRAID apps and on the SoftRAID extensions in /Library/Extensions. I rebooted many times, but no joy. I always get the error loading OWC_SMART_Library.

I would greatly appreciate any assistance or ideas.

--- Error Details follow ---
644$ system_profiler -detailLevel full SPUSBDataType
2020-01-29 0849.459 system_profiler[750:6430] Error loading /Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library: dlopen(/Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library, 0x0106): code signature in (/Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library) not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
2020-01-29 0849.459 system_profiler[750:6430] Cannot find function pointer SOULibFactory for factory 376F1C19-D30F-4ACE-A7F2-59D130B557D5 in CFBundle/CFPlugIn 0x7fabf0d547a0 (bundle, not loaded)
2020-01-29 0849.514 system_profiler[750:6430] Error loading /Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library: dlopen(/Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library, 0x0106): code signature in (/Library/Extensions/OWC_SMART_Library.plugin/Contents/MacOS/OWC_SMART_Library) not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
2020-01-29 0849.514 system_profiler[750:6430] Cannot find function pointer SOULibFactory for factory 376F1C19-D30F-4ACE-A7F2-59D130B557D5 in CFBundle/CFPlugIn 0x7fabf0d547a0 (bundle, not loaded)
[ ... these two errors repeat another 14 times (16 total) over next half second ... ]
2020-01-29 0849.969 system_profiler[750:6430] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
2020-01-29 0849.969 system_profiler[750:6430] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
USB:

USB 3.1 Bus:

Host Controller Driver: [ ... (no more errors) ... ]

Quote
Topic starter Posted : 30/01/2020 12:45 pm
(@softraid-support)
Member Admin

Completely unfamiliar with this. Did some quick checking and did not see this, so have to investigate.

ReplyQuote
Posted : 30/01/2020 2:58 pm
(@cbedgar)
Active Member Customer

Update:

The error has not gone away, but I have found that I can live with it. Upgrading to Mojave revealed some issues with my scripts that are unrelated to SoftRAID or the errors listed above, and it was those issues that prevented me from getting the data I needed. I have fixed those issues, and by sending STDERR to the bit bucket (/dev/null), I can once again use system_profiler with my scripts again to "collect detailed information about all attached drives so as to better associate the hardware in service with logical storage volumes".

Bottom line, the errors are annoying but not a problem. I am ignoring them going forward.

Thank you to anyone who took time to look into this for me.

ReplyQuote
Topic starter Posted : 05/02/2020 10:30 am
(@softraid-support)
Member Admin

We are investigating this, but not yet high priority. Thanks for the extra feedback.

ReplyQuote
Posted : 05/02/2020 11:51 am
(@luisbaja)
New Member Customer

I have the same issue. I don't know if it is affecting the normal behavior of SoftRaid in any way, apparently it works ok.

I would appreciate further information

Thanks

ReplyQuote
Posted : 23/06/2020 4:35 am
(@softraid-support)
Member Admin

Are you running 5.8.3? What OS?

ReplyQuote
Posted : 23/06/2020 11:36 am
(@luisbaja)
New Member Customer

I am running SoftRaid Lite XT 5.8.3 on MacOS 10.14.6

ReplyQuote
Posted : 01/07/2020 3:09 am
(@softraid-support)
Member Admin

Probably this is a Security issue.
Do this test for me:
Disable SIP
Reinstall SoftRAID driver
See if you get the log messages any more.
If not, enable SIP.

SIP is disabled by command r startup, run terminal and enter:
csrutil disable
restart

to enable:
csrutil enable

ReplyQuote
Posted : 01/07/2020 3:13 pm
(@luisbaja)
New Member Customer

Sorry for the delay in the answer.

I installed SoftRaid driver with SIP disabled, and I enabled it later, as I read in other forums (not related with soft raid, but with security issues related with Macs with T2 chips).

I am pretty sure that this issue is, as you say, security-related, and as I am having other issue not related with SoftRaid.

So I think its Apple who has to solve it..

Thank you anyway

Luis

ReplyQuote
Posted : 08/07/2020 6:07 am
Share:
close
open