Re: sub-KEXT question
Re: sub-KEXT question
- Subject: Re: sub-KEXT question
- From: Kevin Brock <email@hidden>
- Date: Mon, 09 Feb 2009 14:33:15 -0800
Nik Gervae wrote:
My apologies. I thought your
problem was that you were expecting the plugin to load on 10.4 by
running kextload on the containing kext. That is not the case; kextload
only tries to load the kext(s) named. You didn't specify the exact
command line used, or whether you installed and sighupped
kextd/restarted to have the driver(s) loaded by kextd.
I used the lines from the readme, which were:
> sudo touch /System/Library/Extensions
> sudo killall -HUP kextd
The 10.5 kext will not load on
10.4 because of the OSBundleLibraries declarations, so the messages
about a compatible version of the com.apple.kpi.* dependencies are
expected in either case (even if kextd does successfuly load the
10.4-targeted kext). If the 10.4-targeted plugin is not getting loaded
by kextd, then it looks like there is a bug.
Yes.
The Sample contains a pre-built binary, which gets the same errors.
When doing touch/killall:
Feb 9 13:45:55 Orlando kextd[331]: kld_load_from_memory() failed
for module
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/Contents/MacOS/SimpleDriver_10_4
Feb 9 13:45:55 Orlando kextd[331]: a link/load error occured for
kernel extension
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext
When I try to explicitly load the 10.4 version:
> sudo kextload -t
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext
I get this:
orlando:~ brock$ sudo kextload -t
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/
kextload: extension
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/
appears to be valid
kextload: notice: extension
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/
has debug properties set
kld():
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/Contents/MacOS/SimpleDriver_10_4
load command 2 unknown cmd field
kextload: kld_load_from_memory() failed for module
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/Contents/MacOS/SimpleDriver_10_4
kextload: a link/load error occured for kernel extension
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/
load failed for extension
/System/Library/Extensions/SimpleDriver.kext/Contents/PlugIns/SimpleDriver_10_4.kext/
(run kextload with -t for diagnostic output)
Kevin
|
_______________________________________________
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