Re: Unable to load kext in 64-bit machine
Re: Unable to load kext in 64-bit machine
- Subject: Re: Unable to load kext in 64-bit machine
- From: kiran kumar <email@hidden>
- Date: Tue, 2 Nov 2010 10:32:38 +0530
Thankx Andrew Myrick for your useful tips.
And one more thing i need to know is, when i start my MacBook default it takes as 32-bit kernel mode because i did not change in com.apple.boot.plist or not holding 6 and 4 at boot time ok its fine.
In 32-bit mode if i change the project build settings Architectures" setting as "Standard (32/64-bit) Universal" and load this kext in 32-bit(it works fine). if i restart my MacBook and boot as 64-bit kernel(holding 6 and 4) the same kext works in 64-bit or not.otherwise i need to load the same kext(what i build in 32-bit kernel mode) in 64-bit kernel again?
Regards,
kiran.k
On Mon, Nov 1, 2010 at 11:10 PM, Andrew Myrick
<email@hidden> wrote:
On Nov 1, 2010, at 12:18 AM, kiran kumar wrote:
Hi All,
The 64-bit kernel cannot load 32-bit kernel extensions,but we can load 32-bit kernel extension in 64-bit kernel.
The rule here is very simple: the architecture of a kernel extension must match the architecture of the running kernel. In other words, you must use a 32-bit kext for a 32-bit kernel, and a 64-bit kext for a 64-bit kernel. You cannot use a 32-bit kernel extension in a 64-bit kernel.
now i unable to load 32-bit kext in 64 bit any reason and what wrong i am doing.
-Andrew
_______________________________________________
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