Re: KEXT loading issue on 10.6.*
Re: KEXT loading issue on 10.6.*
- Subject: Re: KEXT loading issue on 10.6.*
- From: Nik Gervae <email@hidden>
- Date: Tue, 19 Jan 2010 14:06:25 -0800
Hello,
I'd like some more information to diagnose the problem. Could you send the CFBundleVersion values of your top-level and plugin kexts? If they're the same I have some possible theories about what might be going on. We'll work from there.
Also, if you are experiencing problems with kext management, by all means please file bugs using https://bugreport.apple.com/. We can't fix bugs we don't know about, and even if we do know about them, knowing their prevalence helps us prioritize.
Nik Gervae
Kext management engineer
Apple Inc.
On 19 Jan, 2010, at 13:10 , Kevin Brock wrote:
> On Jan 19, 2010, at 12:58 PM, Ryan Hankins wrote:
>
>> Interesting; we are seeing this issue,, or a similar one, as well. In fact, we were just talking about it today. 10.6 seems to ignore the kext in the main directory, and instead attempts to load the 10.5 one under Plugins.
>>
>> One thing that seems to help is removing the Plugins directory in your kext. Does that help in your case?
>
> In my case the 10.5 & 10.6 versions are the same (mod build options), and it's a 10.4 version in Plugins.
>
> That being said, I'm sure it *would* help. I'll be testing that later today hopefully.
>
> We've got to have that available at the moment, because the KEXT in question is part of a separate package that sometimes needs to be installed on 10.4 systems. I've been trying to convince product management to drop 10.4 support for this item, but it'll take a bit...
>
> I suppose we could do a special version in this case.
>
>> I have been wondering if this is a bug in Apple's kext loading routines.
>
> I think there are some issues with the 10.6 KEXT mgmt changes. One that our test automation people don't like is that if we're running automated install/uninstall tests on the product, kextd will eventually spit out a message saying that "kextcache has had enough tries; not launching anymore". After that of course everything just goes straight to h**l as far as testing is concerned until you reboot :-(
>
> Kevin
>
>>
>> -Ryan
>>> I've got a couple of KEXTs which have one binary for 10.5/10.6, using various Xcode build options to distinguish 32 from 64 etc. Each of these also has a sub-KEXT which is for 10.4, located in Contents/Plugins.
>>>
>>> The problem I'm having is that on 10.6.* sometimes, generally after an upgrade, the 10.4 version of one of the KEXTs is loading instead of the 10.5/10/6 version.
>>>
>>> The 10.5+ KEXT has:
>>>
>>> - KPI versions 9.0.0 or greater
>>> - Probe score of 2000
>>>
>>> The 10.4 version of the KEXT specifies:
>>>
>>> - KPI versions 8.0.0 or greater
>>> - Probe score of 100
>>>
>>> Usually everything is fine, and after a reboot everything is always fine, so I know that he right files are getting installed.
>>>
>>> I don't see any messages in system.log that would indicate a problem.
>>>
>>> Does anyone have any ideas on this?
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Ryan Hankins Software Engineer
>> Small Tree Communications www.small-tree.com
>> email@hidden +1 651 209-6509 x303
>>
>
> _______________________________________________
> 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
_______________________________________________
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