• 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: Kextload bus error on PowerPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kextload bus error on PowerPC


  • Subject: Re: Kextload bus error on PowerPC
  • From: Iceberg-Dev <email@hidden>
  • Date: Fri, 8 Jan 2010 00:19:52 +0100


On Jan 7, 2010, at 1:58 AM, Ryan McGann wrote:

I am working with an IOKit kernel extension (OSBundleRequired == "Root") that is built on Snow Leopard/Intel, but is targeting 10.4, 10.5 and 10.6 on PowerPC, i386 and x86_64. The i386 version of the kext loads and works fine, but I am having a problem with my PowerPC kernel extension (Tiger or Leopard).

The machine panics pretty quickly after startup. When I boot in safe mode and load the kext manually, kextload complains "Executable does not contain kernel extension code". I figured out this was due to the presence of the x86_64 slice in the binary, so I tried building without that slice. kextload then says that the kernel extension can be loaded, but I just get a bus error.

I tried all the usual suspects—turning off all stripping, removing the LC_UUID load command using strip, and more. No avail—the i386 version works fine on all platforms, so I can't figure out what the difference is between ppc and i386.

If the bus error is in user land with the kextload tool, maybe you can build the kextload tool from the Darwin source code, run it in debug mode step by step and see where exactly the error occurs.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Kextload bus error on PowerPC (From: Ryan McGann <email@hidden>)

  • Prev by Date: Re: Kextload bus error on PowerPC
  • Next by Date: Re: Kextload bus error on PowerPC
  • Previous by thread: Re: Kextload bus error on PowerPC
  • Next by thread: Re: Kextload bus error on PowerPC
  • Index(es):
    • Date
    • Thread