4 Replies
      Latest reply on Jul 31, 2019 3:32 PM by rubgape
      rubgape Level 1 Level 1 (0 points)

        Just tried beta 2 and the bug present on beta 1 is still present.

         

        Now kextload works (great!), but is displaying same error when trying to load an approved unsigned kext (any included on kextsOSKextSigExceptionHashList).

         

        When doing kextutil -v "path to kext" (one unsigned and present on kextsOSKextSigExceptionHashList included with AppleKextExcludeList) shows:

         

        "...is in hash exception list, allowing to load..."

         

        And inmediately after this, it shows "...is missing or has an invalid CDHash. Disallowing load." which doesn't makes sense since cdhash is only available if the kext is signed and we're processing unsigned and allowed kexts here!

         

        Hope Apple fixes this soon, since there are some utilities not working yet with macOS Catalina beta 2 and would like to use them without needing to disable SIP.

        • Re: macOS Catalina - kext loading bug
          rubgape Level 1 Level 1 (0 points)

          Opened a bug at feedback assistant days ago (FB6139463).

           

          Any chance of getting some feedback? Eskimo?

           

          Thanks!

          • Re: macOS Catalina - kext loading bug
            rubgape Level 1 Level 1 (0 points)

            Same error persists on developer beta 3.., and no feedback yet

            • Re: macOS Catalina - kext loading bug
              rubgape Level 1 Level 1 (0 points)

              Keeps failing on dev beta 4, no answer from apple.

               

              Now fails even a Serial Ata controller that worked perfectly fine with previous macOS releases.. It would be great if at least Apple or someone confirms that this is intended or not.

               

              As far as I know and from WWDC sessions, he official word from Apple is that kext will still load if user approved and explicity allowed with SIP enabled.., so this should be a bug.., or Apple forgot to mention this

               

              sudo kextutil -v JMicronATA.kext Defaulting to kernel file '/System/Library/Kernels/kernel' 
              Cache file /System/Library/Caches/com.apple.kext.caches/Directories/Library/Extensions/KextIdentifiers.plist.gz 
              is out of date; not using.
               Cache file /System/Library/Caches/com.apple.kext.caches/Directories/Library/Extensions/KextIdentifiers.plist.gz 
              is out of date; not using. 
              kext file:///Library/StagedExtensions/Library/Extensions/C363B637-698C-4992-B276-AA176445080E.kext/ i
              s in hash exception list, allowing to load 
              Cache file /System/Library/Caches/com.apple.kext.caches/Directories/Library/Extensions/KextIdentifiers.plist.gz 
              is out of date; not using. 
              kext file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/ is in hash exception list, 
              allowing to load Skipping migration.plist import (allowBundleIDs:43, cdhashArrayRef:43)
               <OSKext 0x7fd68261b800 [0x7fff96506690]> 
              { URL = "file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/", ID = "com.jmicron.JMicronATA" }
               is missing or has an invalid CDHash. Disallowing load. Kext rejected due to system policy: 
              <OSKext 0x7fd68261b800 [0x7fff96506690]> { 
              URL = "file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/", ID = "com.jmicron.JMicronATA" } 
              kext file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/ is in hash exception list, 
              allowing to load <OSKext 0x7fd68261b800 [0x7fff96506690]> { 
              URL = "file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/", ID = "com.jmicron.JMicronATA" } 
              is missing or has an invalid CDHash. Disallowing load. Kext rejected due to system policy: <OSKext 0x7fd68261b800 
              [0x7fff96506690]> { URL = "file:///Library/StagedExtensions/Library/Extensions/JMicronATA.kext/", 
              ID = "com.jmicron.JMicronATA" }
               Code Signing Failure: not code signed Diagnostics for /Library/Extensions/JMicronATA.kext: