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: kenel panic



Michael Cashwell wrote:

On May 19, 2005, at 6:08 AM, gautam kotwal wrote:

I m working on Mac 10..3 graphic driver

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

Assuming a direct link will work...
<http://developer.apple.com/technicalnotes/Darwin/idxKernel-date.html>

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

hii Mike

I dont think the problem is of late or early loading becoz if we simply copy the kext 2 extensions n then restart 1st time then it is loading fine the 1st time. But the problem occurs when we again restart (i.e. the 2nd time soon after it starts 1st time) then it crashes..

I m working on 10.1.3 so there is no panic log...
Can u tell me if there is any other log created in 10.1 and where it is.

Thanks
gautam.
_______________________________________________
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
References: 
 >kenel panic (From: gautam kotwal <email@hidden>)
 >Re: kenel panic (From: Michael Cashwell <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.