Kextload bus error on PowerPC
Kextload bus error on PowerPC
- Subject: Kextload bus error on PowerPC
- From: Ryan McGann <email@hidden>
- Date: Wed, 06 Jan 2010 16:58:22 -0800
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.
Thanks,
Ryan
_______________________________________________
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