Re: Personality?
Re: Personality?
- Subject: Re: Personality?
- From: Nik Gervae <email@hidden>
- Date: Wed, 7 Nov 2007 12:01:40 -0800
On 05 Nov, 2007, at 13:18, Stéphane Sudre wrote:
On lundi, novembre 5, 2007, at 07:59 PM, Nik Gervae wrote:
On 02 Nov, 2007, at 11:07, Stéphane Sudre wrote:
Ok, long version of the story.
I'm looking at an application that uses 3 kernel extensions:
- 2 KPI Kext (one has a dependency on the IOKit kext below)
- 1 IOKit/KPI kext.
The KPI kexts are loaded through a launchd script with the
kexload -v argument. The Info.plist files of both kexts are
globally the same (names differ).
On Leopard, when I look at system.log, one of KPI is said to not
have any personality while there's no complaint for the other.
I'm curious why there's a complaint in one case and none in the
other.
From the information I gather, I think it would be better if I
remove the IOKit kext and merge it into the kext that depends on it.
First thing I'll note is that if kextload is run with -v, it's
going to print/log basic warnings and items of note. Explicitly
loading an IOKit kext that has no personalities is essentially a
one-minute no-op, since that kext will normally not match any
devices and be automatically unloaded after that time period.
Hence, kextload points out the lack of personalities.
If one of the "KPI kexts" (I'm not sure what you mean by that term)
A Kernel Extension relying only on the KPIs and not on any
unsupported API. One that should not face any trouble in theory
when the OS is updated and whose OSBundleLibraries value looks like
this:
Ah, you had said one of them had a dependency on your IOKit kext.
That is why I was confused.
Did my explanation about the IOKit kext not needing an explicit load
make sense? If it is only serving as a library to the other kext, it
will be loaded automatically, and no warning about personalities will
occur.
--Nik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden