Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safe Boot with Local-Root driver on Leopard?




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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Safe Boot with Local-Root driver on Leopard? (From: "Duane Murphy" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.