| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On lundi, novembre 5, 2007, at 07:59 PM, Nik Gervae wrote:Ah, you had said one of them had a dependency on your IOKit kext. That is why I was confused.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:
--Nik
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden
| References: | |
| >Re: Personality? (From: Stéphane Sudre <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.