• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: missing driver function names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >missing driver function names (From: Chris Neustrup <email@hidden>)

  • Prev by Date: Re: incomplete kgmacros
  • Next by Date: Re: missing driver function names
  • Previous by thread: missing driver function names
  • Next by thread: Re: missing driver function names
  • Index(es):
    • Date
    • Thread