绿盾for v12.1后台无法启动,驱动无法加载解决
这个应该是系统自己的原因,我们驱动加载需要系统弹窗提示允许,但是系统数据库已经将我们的驱动信息保存下来了,导致之后都不会弹窗,我刚才操作是清空了系统驱动加载的数据库,这样重新加载才会弹出提示 Last login: Fri Jan 7 13:43:42 on ttys000 ruzhuo@wy % sudo launchctl load -w /Library/LaunchDaemons/trld_kext.plist
/Library/LaunchDaemons/trld_kext.plist: service already loaded
Load failed: 37: Operation already in progress
ruzhuo@wy % sudo su
Password:
sh-3.2# kextutil /usr/local/trld/kext/trldKext.kext/
Executing: /usr/bin/kmutil load --bundle-path /usr/local/trld/kext/trldKext.kext
Error Domain=KMErrorDomain Code=27 "Extension with identifiers com.tipray.trldKext,com.tipray.TRLDDeviceController not approved to load. Please approve using System Preferences." UserInfo={NSLocalizedDescription=Extension with identifiers com.tipray.trldKext,com.tipray.TRLDDeviceController not approved to load. Please approve using System Preferences.}
**sh-3.2# sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy .dump**
PRAGMA foreign_keys=OFF; #apple# #imac# #绿盾# - BEGIN TRANSACTION;
- CREATE TABLE settings ( name TEXT, value TEXT, PRIMARY KEY (name) );
- INSERT INTO settings VALUES('cdhashColumnAdded','YES');
- INSERT INTO settings VALUES('databaseSchemaVersion','2');
- INSERT INTO settings VALUES('migrationPerformed','YES');
- INSERT INTO settings VALUES('cdhashMigrationPerformed','YES');
- INSERT INTO settings VALUES('lastStateSecurityPolicy','0');
- CREATE TABLE kext_load_history_v3 ( path TEXT PRIMARY KEY, team_id TEXT,
- bundle_id TEXT, boot_uuid TEXT, created_at TEXT, last_seen TEXT, flags
- INTEGER , cdhash TEXT);
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOExpressSASHBA2.kext','FC94733TZD','com.ATTO.driver.ATTOExpressSASHBA2','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'64ef640723fbf3a00264abef9b7b6187101828ba');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ACS6x.kext','K3TDMD9Y6B','com.Accusys.driver.Acxxx','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'6a8fde4cff6e4586d4af03ea0e3e76b4a7925b90');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/SoftRAID.kext','Q9P8K45M5C','com.softraid.driver.SoftRAID','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'147b6803f4e68b03c7a39f1974544a9365f34a8d');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/HighPointIOP.kext','DX6G69M9N2','com.highpoint-tech.kext.HighPointIOP','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'096f2c844acd7d87e6e964fd1e29e172c2fd52df');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/CalDigitHDProDrv.kext','8R7PS6VYW7','com.CalDigit.driver.HDPro','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'7cc63a89c360c80b32a4bf624d002fb2ce2e96b4');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/HighPointRR.kext','DX6G69M9N2','com.highpoint-tech.kext.HighPointRR','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'f4d37cfc3a8d5e758ad1f0c93172f2fb516abb84');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ArcMSR.kext','34JN824YNC','com.Areca.ArcMSR','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'b69bbfbdb3644fd2f71fed4a68cdf23694c6ad27');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOCelerityFC8.kext','FC94733TZD','com.ATTO.driver.ATTOCelerityFC8','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'95130e2c5925e8c9c7162982e5fa42426e4bb442');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/PromiseSTEX.kext','268CCUR4WN','com.promise.driver.stex','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'3a78c64317f0138c259c7cc19d7183ef86188c82');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOExpressSASRAID2.kext','FC94733TZD','com.ATTO.driver.ATTOExpressSASRAID2','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:47',51,'d60b3f4a2db8aa53980988fe0d182af0770377d7');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/AppleUSBCommon.kext/Contents/PlugIns/AppleUSBVHCICommonRSM.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBVHCICommonRSM','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'9a340666f85836d50cb53580a662ae846a8e8976');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBRecoveryHost.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBRecoveryHost','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'fe3ae2b671433772371d1c1f2dd28c864e238b19');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBVHCIRSM.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBVHCIRSM','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'94263546108c50c7f454dcb8eef8ef643ad49286');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Apple/System/Library/Extensions/AppleMobileDevice.kext','Apple
-
- Software','com.apple.driver.AppleMobileDevice','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',528,'39e0002bbc0719caddf1a5c6799c6e303ed78fca');
- INSERT INTO kext_load_history_v3
- VALUES('/usr/local/trld/kext/trldKext.kext','5436XUJ59W','com.tipray.trldKext','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:09','2022-01-10
- 02:44:44',2320,'8da3fb0dd9479df0c065e0c015c35f74331b9720');
- INSERT INTO kext_load_history_v3
- VALUES('/usr/local/trld/kext/TRLDDeviceController.kext','5436XUJ59W','com.tipray.TRLDDeviceController','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:10','2022-01-10
- 02:44:44',2320,'67703781ac9c922b76c8b50eb9527c8dd416409b');
- INSERT INTO kext_load_history_v3
- VALUES('/usr/local/.OCular/ko/LSDEfs1200.kext','UR4L299Z38','com.tec-development.LSDEfs1200','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:16','2022-01-04
- 05:30:45',16,'d1e3773762d424a2c515ffc253841912699baeb3');
- CREATE TABLE kext_policy ( team_id TEXT, bundle_id TEXT, allowed
- BOOLEAN, developer_name TEXT, flags INTEGER, PRIMARY KEY (team_id,
- bundle_id) );
- INSERT INTO kext_policy VALUES('5436XUJ59W','com.tipray.trldKext',1,'Xiamen TianRui Technology Co., Ltd.',4);
- INSERT INTO kext_policy VALUES('5436XUJ59W','com.tipray.TRLDDeviceController',1,'Xiamen TianRui Technology Co., Ltd.',4);
- INSERT INTO kext_policy VALUES('UR4L299Z38','com.tec-development.LSDEfs1200',1,'TEC Guangzhou Solutions Limited',0);
- CREATE TABLE kext_policy_mdm ( team_id TEXT, bundle_id TEXT, allowed
- BOOLEAN, payload_uuid TEXT, PRIMARY KEY (team_id, bundle_id) );
- CREATE TABLE deprecation_alert_history ( developer_name TEXT PRIMARY KEY, created_at TEXT, last_alert TEXT );
- COMMIT;
- <strong class="dzq-strong " data-nodeid="56">sh-3.2# sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy</strong>
- SQLite version 3.36.0 2021-06-18 18:58:49
- Enter ".help" for usage hints.
- sqlite> DELETE FROM kext_policy WHERE team_id='5436XUJ59W';
- sqlite> DELETE FROM kext_load_history_v3 WHERE team_id='5436XUJ59W';
- sqlite> .quit
- <strong class="dzq-strong " data-nodeid="63">sh-3.2# sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy .dump</strong>
- PRAGMA foreign_keys=OFF;
- BEGIN TRANSACTION;
- CREATE TABLE settings ( name TEXT, value TEXT, PRIMARY KEY (name) );
- INSERT INTO settings VALUES('cdhashColumnAdded','YES');
- INSERT INTO settings VALUES('databaseSchemaVersion','2');
- INSERT INTO settings VALUES('migrationPerformed','YES');
- INSERT INTO settings VALUES('cdhashMigrationPerformed','YES');
- INSERT INTO settings VALUES('lastStateSecurityPolicy','0');
- CREATE TABLE kext_load_history_v3 ( path TEXT PRIMARY KEY, team_id TEXT,
- bundle_id TEXT, boot_uuid TEXT, created_at TEXT, last_seen TEXT, flags
- INTEGER , cdhash TEXT);
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOExpressSASHBA2.kext','FC94733TZD','com.ATTO.driver.ATTOExpressSASHBA2','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'64ef640723fbf3a00264abef9b7b6187101828ba');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ACS6x.kext','K3TDMD9Y6B','com.Accusys.driver.Acxxx','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'6a8fde4cff6e4586d4af03ea0e3e76b4a7925b90');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/SoftRAID.kext','Q9P8K45M5C','com.softraid.driver.SoftRAID','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:38','2020-12-25
- 01:19:48',51,'147b6803f4e68b03c7a39f1974544a9365f34a8d');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/HighPointIOP.kext','DX6G69M9N2','com.highpoint-tech.kext.HighPointIOP','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'096f2c844acd7d87e6e964fd1e29e172c2fd52df');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/CalDigitHDProDrv.kext','8R7PS6VYW7','com.CalDigit.driver.HDPro','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'7cc63a89c360c80b32a4bf624d002fb2ce2e96b4');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/HighPointRR.kext','DX6G69M9N2','com.highpoint-tech.kext.HighPointRR','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'f4d37cfc3a8d5e758ad1f0c93172f2fb516abb84');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ArcMSR.kext','34JN824YNC','com.Areca.ArcMSR','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'b69bbfbdb3644fd2f71fed4a68cdf23694c6ad27');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOCelerityFC8.kext','FC94733TZD','com.ATTO.driver.ATTOCelerityFC8','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'95130e2c5925e8c9c7162982e5fa42426e4bb442');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/PromiseSTEX.kext','268CCUR4WN','com.promise.driver.stex','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:48',51,'3a78c64317f0138c259c7cc19d7183ef86188c82');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Extensions/ATTOExpressSASRAID2.kext','FC94733TZD','com.ATTO.driver.ATTOExpressSASRAID2','FB2CD776-432F-4B71-93C5-9A102A3D0CE0','2020-12-03
- 23:57:39','2020-12-25
- 01:19:47',51,'d60b3f4a2db8aa53980988fe0d182af0770377d7');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/AppleUSBCommon.kext/Contents/PlugIns/AppleUSBVHCICommonRSM.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBVHCICommonRSM','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'9a340666f85836d50cb53580a662ae846a8e8976');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBRecoveryHost.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBRecoveryHost','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'fe3ae2b671433772371d1c1f2dd28c864e238b19');
- INSERT INTO kext_load_history_v3
- VALUES('/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBVHCIRSM.kext','Apple
-
- Software','com.apple.driver.usb.AppleUSBVHCIRSM','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',16,'94263546108c50c7f454dcb8eef8ef643ad49286');
- INSERT INTO kext_load_history_v3
- VALUES('/Library/Apple/System/Library/Extensions/AppleMobileDevice.kext','Apple
-
- Software','com.apple.driver.AppleMobileDevice','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:06','2022-01-04
- 03:43:06',528,'39e0002bbc0719caddf1a5c6799c6e303ed78fca');
- INSERT INTO kext_load_history_v3
- VALUES('/usr/local/.OCular/ko/LSDEfs1200.kext','UR4L299Z38','com.tec-development.LSDEfs1200','FD8B25ED-9D8F-424C-85E3-9C2F78F829CA','2022-01-04
- 03:43:16','2022-01-04
- 05:30:45',16,'d1e3773762d424a2c515ffc253841912699baeb3');
- CREATE TABLE kext_policy ( team_id TEXT, bundle_id TEXT, allowed
- BOOLEAN, developer_name TEXT, flags INTEGER, PRIMARY KEY (team_id,
- bundle_id) );
- INSERT INTO kext_policy VALUES('UR4L299Z38','com.tec-development.LSDEfs1200',1,'TEC Guangzhou Solutions Limited',0);
- CREATE TABLE kext_policy_mdm ( team_id TEXT, bundle_id TEXT, allowed
- BOOLEAN, payload_uuid TEXT, PRIMARY KEY (team_id, bundle_id) );
- CREATE TABLE deprecation_alert_history ( developer_name TEXT PRIMARY KEY, created_at TEXT, last_alert TEXT );
- COMMIT;
复制代码
sh-3.2# kextutil /usr/local/trld/kext/trldKext.kext/
Executing: /usr/bin/kmutil load --bundle-path /usr/local/trld/kext/trldKext.kext
Error Domain=KMErrorDomain Code=27 "Extension with identifiers com.tipray.TRLDDeviceController,com.tipray.trldKext not approved to load. Please approve using System Preferences." UserInfo={NSLocalizedDescription=Extension with identifiers com.tipray.TRLDDeviceController,com.tipray.trldKext not approved to load. Please approve using System Preferences.}
**sh-3.2# kextutil /usr/local/trld/kext/TRLDDeviceController.kext/**
Executing: /usr/bin/kmutil load --bundle-path /usr/local/trld/kext/TRLDDeviceController.kext
Error Domain=KMErrorDomain Code=28 "Loading extension(s): com.tipray.TRLDDeviceController requires a reboot" UserInfo={NSLocalizedDescription=Loading extension(s): com.tipray.TRLDDeviceController requires a reboot}
**sh-3.2# sudo
sh-3.2#
sh-3.2# cd /usr/local/trld/
sh-3.2# ls**
VERSION VERSIONTYPE bin data etc kext lib scripts third-tools
**sh-3.2# cat VERSION**
6.50.211110
sh-3.2#
[恢复于2022年1月10日 上午10:53:16]
Last login: Mon Jan 10 10:53:14 on console
Restored session: 2022年 1月10日 星期一 10时52分11秒 CST
ruzhuo@wy %
|