Re[2]: Kernel Extension Activation without Reboot?
Re[2]: Kernel Extension Activation without Reboot?
- Subject: Re[2]: Kernel Extension Activation without Reboot?
- From: Quinn <email@hidden>
- Date: Wed, 27 Aug 2003 12:05:02 +0100
At 13:28 -0600 26/8/03, Lance Drake wrote:
Would anyone care to chime in with mitigating circumstances or
insights that might help me to better understand why this is or is
not possible?
Matching only happen when a service is registered in the I/O
Registry. If your KEXT isn't present at that time, it's not
considered a candidate for matching. Once the best match has been
found, there's no standard way to cause it to unload it and trigger a
rematch. However, there may be family-specific techniques you can
use. For example, for mass storage drivers, opening the BSD raw
device node terminates the I/O Kit stack on top of the device, and
closing it triggers a rematch. This is typically used by disk
formatter programs to modify the partition table, and then trigger
I/O Kit to rematch against the new partitions.
If you can supply some more details about your KEXT (what family it
lives in, what it's trying to do, and so on), we may be able to help
more.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.