Re: Safe Boot with Local-Root driver on Leopard?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thank you for the suggestions Soren. I did some more testing and I think it's not the kext, but rather that I am safe booting on a boot!=root disk. I need to do one more test to be sure, but it seems to be the link between everything. The final test I need to do is with the kext installed on a non-boot! =root system. --- At Fri, 29 Aug 2008 16:42:54 -0700, Soren Spies wrote:
On Aug 29, 2008, at 15:09, Duane Murphy wrote:
I'm having trouble with my kext with Safe Boot Mode. I have the kext set with Local-Root, but I'm not able to boot reliably in Safe Boot mode. The kext is a disk driver that must load at boot time for the boot disk to operate properly.
One way to make sure your kext is properly set up is to make sure it is being included in the mkext. /usr/sbin/mkextunpack will let you see what's inside your mkext.
I've gotten safe boot mode to work when booting from an internal disk to Tiger with my kext. But I have not been able to get Safe Boot to work with Leopard. When booting into Leopard it appears to eventually time out and restart.
One possibility is that you link (via OSBundleLibraries) or otherwise depend on something that isn't marked Local-Root on Leopard. I assume your kext works fine on Leopard when not safe booting.
It's difficult to debug as two machine debugging appears to be disabled as well as verbose mode.
I don't know what the debugging rules are during SafeBoot, but you might be able to enable FireWire Debugging (much simpler in Leopard).
Suggestions?
There's always "rebooting your way to success:" put a panic into your driver's start() routine to find out whether it's even getting called. :)
-- Soren Spies CoreOS::IOTeam
...Duane _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy