Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- Subject: Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- From: "Chase Colman" <email@hidden>
- Date: Wed, 13 Jun 2007 00:22:35 -0400
Thank you for your suggestions Mike and Godfrey! It was in fact an issue with recursion. Where it broke was when it repeatedly tried to set a location on a single IOMedia.
To fix this issue, I simply had to check if a location was set on the media already, and if it was prevent the kernel extension from ever having to register for it and attaching it.
I looked at my old code again and I noticed that I was actually filtering all non-writable rather than filtering all writable. I also added an additional check to see if the partition was ejectable, since if it is not, then it is not any form of removable media.
Cheers,
Chase
_______________________________________________
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