Re: kernel panic while unloading the driver, USB Bulk device driver KEXT.
Re: kernel panic while unloading the driver, USB Bulk device driver KEXT.
- Subject: Re: kernel panic while unloading the driver, USB Bulk device driver KEXT.
- From: "rohit dhamija" <email@hidden>
- Date: Tue, 30 May 2006 22:39:12 +0530
The kernel panic'ed while unloading the kext. But upon code review i have resolved the issue. correction to be done in
void myDriver::stop(IOService *provider)
{
if(rootDomain)
{
rootDomain->deRegisterInterestedDriver (this );
}
super::stop(provider);
}
resolved the issue!!
Yes, i have read the debugging guide suggested by you. Unfortunately, I donot have a secondary maching at my disposal for remote debugging right now.
Is it advisable to replace the kernel with debug version of kext's in development machine?
Thanks again.
Rohit
On 5/30/06, Michael Smith <email@hidden> wrote:
On May 30, 2006, at 4:04 AM, rohit dhamija wrote:
> I am successful in registering the sleep notification , get the
> notification as soon as my system sleeps. But the kernel panics as
> soon as I unload my kext. [I am sure about this, because if I
> remove sleep functionality, the unloading works fine too.] Below
> are the steps performed :
Where does the kernel panic? Have you read the guide on kernel
debugging I suggested? Have you obtained the correct kernel with
symbols so that you can cross-reference with the open-source
distribution?
= Mike
--
Rohit Dhamija(M) 9818446545
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden