Re: Kext Unload getting called automatically after waking Machine from sleep
Re: Kext Unload getting called automatically after waking Machine from sleep
- Subject: Re: Kext Unload getting called automatically after waking Machine from sleep
- From: Andreas Fink <email@hidden>
- Date: Wed, 26 Dec 2007 21:04:43 +0100
On 26.12.2007, at 05:09, JanakiRam wrote: Hi Andrea's, Thanks for the initial response.
My Kext is a pure generic kernel extension -- not an IOKit kext.
So I wonder why there is IOCatalogue::unloadModule involved in the trace
My Kext tries to capture file system events and send the notification to user process and also tries to provide responses to ioctl command (which are specific to my application).
Could the file system you are getting notifications for, dissapear because its based on a IOKit driver (like a USB stick or such)?
Kext Unload doesn't happen on PPC Mac's ( TIger as well as Leopard ) - but its happening every time only on Intel Mac(Tiger & Leopard). Why does my kext unload gets called automatically. Is there any code which i need to handle for the Intel Mac's ?
I more think its more a question on what hardware you have connected than what CPU type you have. But this is wild guessworking.
Please help me to solve the problem.
TIA, JanakiRam. On Dec 23, 2007 9:56 PM, Andreas Fink < email@hidden> wrote: When does a kext will be unloaded automatically ? What could be the reasons ?
What is your kext doing? What does it make it load initially?
My pure guess is that MacOS X wakes up and doesn't see the physical device anymore and thus IOKit unloads the driver. Maybe your hardware device takes more time to wake up than the kernel so a unload/reload scenario would be happening.
|
_______________________________________________
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