site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=1encM4dDOCA4M22D7E3OOIiH1/+l4Bscdknb8qzEPwk=; b=Kg5NHcNB9ezYfpzioZU0+5dAL1MEcOaytg0lItsGwU/RZyLbXY3Z0HeaLx6NdyUlmb LR86N2Xk/BN+m8AgnuvPJwYtAr9jKld5CnMpQ84OidHD+9Rtx5gZAfYW84wsGQ3kMYsn 3hh2Gl8R2zwduYUgUQ3183mq73E7p/21G4hY0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=gESsc4eDTHoCiMnWf+LFkagcqJpif5T6SBWqgK1D06vwcXVPcUvvNDOxy4i9W9XxYL mGx2emE6Cosc6PjY0w9gRmelZ9GgEXoEK0QK3+wzg+03ZO4j+wnp9CiobhWxEX98HWoM RqloCpIUF2pOl+SpMv0NJz97s+NKWSoMHph6w= On Jan 7, 2010, at 1:58 AM, Ryan McGann wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com