Re: Personality?
Re: Personality?
- Subject: Re: Personality?
- From: Nik Gervae <email@hidden>
- Date: Mon, 5 Nov 2007 10:59:42 -0800
On 02 Nov, 2007, at 11:07, Stéphane Sudre wrote:
On vendredi, novembre 2, 2007, at 04:29 PM, Shawn Erickson wrote:
On Nov 2, 2007, at 5:29 AM, Stéphane Sudre wrote:
On jeudi, novembre 1, 2007, at 11:41 PM, Dean Reece wrote:
On Nov 1, 2007, at 3:20 PM, Stéphane Sudre wrote:
What's a personality supposed to be for a StartupItem or Kernel
Extension?
OK, but then why does Leopard tells me a kext that is not related
to IOKit has no personalities?
If the future please provide more information in your posts about
the problem or question you have. Your first post was a vague
question that left many of guessing at what you wanted to know and
now you give us little more to work with on what type kext you are
seeing this issue with and what that kext has in its plist, etc.
So more information please ... it will get you a better answer and
likely more quickly.
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)
has a dependency on the IOKit kext, that IOKit kext will be loaded as
a library with no concern for personalities, and the warning
shouldn't occur in that scenario; the explicit load of the IOKit kext
is unnecessary.
--
Nik Gervae
kext management engineer
Apple, Inc. _______________________________________________
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