Re: missing driver function names
Re: missing driver function names
- Subject: Re: missing driver function names
- From: Michael Smith <email@hidden>
- Date: Thu, 15 Nov 2007 23:38:32 -0800
On Nov 15, 2007, at 5:11 PM, Chris Neustrup wrote:
Notice that the symbols for the kernel are OK. The missing ?? are
most likely routines in my driver. It points up that the symbols
were not built correctly. The address of my load is 0x8E61E000.
What am I missing?
The part where you read the documentation, most likely.
You haven't generated or loaded relocated symbols for the extensions
in question. There's probably a technote or developer documentation
on the subject, or you can read the kextload manpage and work it out
from there.
If you're starting with a crashed system, 'showallkmods' in kgmacros
will be a good place to start, though you will need another, still-
alive system with the same OS version installed in order to generate
symbols.
You will find that it's best to generate symbols as you load your
driver-under-test and immediately ship them off the test system to
your debug system. Kextload has options to break the load/activate
process into stages to help debug problems happening during driver
start-up.
= Mike
_______________________________________________
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