NKE does kextload successfully, but does not load at startup time
NKE does kextload successfully, but does not load at startup time
- Subject: NKE does kextload successfully, but does not load at startup time
- From: Michael Dautermann <email@hidden>
- Date: Mon, 14 Nov 2005 03:47:44 -0800
Hi all,
I have two NKE's... one for 10.3 and one for 10.4, and both of them
load with no complaints when doing a "sudo kextload -t" on their
respective systems.
After copying them into "/System/Library/Extensions", the driver
doesn't get picked up and loaded at boot time.
/var/log/system.log shows no complaints at all (it'd be useful if it
did... should that be a feature request for Radar?)
This should be a F.A.Q., but I've checked all the usual suspects:
1) ls -lR on the driver shows everything inside the driver as being
owned by root:wheel
2) I shouldn't have to (since I moved the kext into the Extensions
folder as administrator), but touching /System/Library/Extensions
does not make a difference
3) Here are the contents of my info.plist file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>MyFineDriver</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.myemployer.kext.MyFineDriver</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>com.myemployer.kext.MyFineDriver</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSignature</key>
<string>myKe</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.bsd</key>
<string>8.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0</string>
</dict>
</dict>
</plist>
I've also seen the CFBundleName key with short bundle names, such as
"MyFineDriver", but since I'm building my kext with a Makefile, I
believe that CFBundleName depends on the name of the bundle I put
into this macro in the .c file:
KMOD_EXPLICIT_DECL(com.myemployer.kext.MyFineDriver, "1.0",
com_myemployer_kext_start, com_myemployer_kext_stop)
What's strange is that this NKE loads and works with "kextload", but
installing it into /System/Library/Extensions and rebooting doesn't
load it.
Anyone ever run into this kind of issue before?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden