The problem is that when I load my Kext and then restart my
computer it restarts normally but again just after restarting I
again restart my system without doing anything it crashes
Can anyone tell me what could be the problem the second time when I
m restarting?
Well, there's not a lot of detail here to go on. I assume when you
say it crashes that you mean a kernel panic. (If it's an app crashing
then that's different.) If so you will need to go through the steps
to properly debug this (pawing through the modules involved and the
backtrace). You will likely need to get the proper kernel debug kit
for the exact version you are using. And you may need to do 2-machine
debugging.
The best resource I've found for these things is "Understanding and
Debugging Kernel Panics" found at
ADC Home > Reference Library > Technical Notes > Darwin > Kernel
The only idea I have from your description is that when you manually
load your kext it's happening very late in the startup process (well,
actually after startup but that's why it's "very" late...) but when
it loads during boot it's probably happening much earlier. This could
alter how (or which) subordinate connections the rest of the kernel
and other kexts make to yours. It may be that there's an IOKit
instance (a nub perhaps) that should be retained but is not.
That's not a lot of help, I know, but it's the only idea I can come
up with without the panic log. Take a look at the Apple docs and see
where it leads you.
Good luck.
-Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden