Re: NKE does kextload successfully, but does not load at startup time
Re: NKE does kextload successfully, but does not load at startup time
- Subject: Re: NKE does kextload successfully, but does not load at startup time
- From: Stephane Sudre <email@hidden>
- Date: Mon, 14 Nov 2005 18:09:49 +0100
On 14 Nov 2005, at 12:47, Michael Dautermann wrote:
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:
[...]
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?
Is it not stated somewhere that automatic loading only occurs for I/O
Kit "Driver" and not for NKE?
_______________________________________________
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