Skip to contentSkip to conversation

64bit kernel, 32bit OS?

DISCUSSION Shaun R. 3 participants 3 messages Jul 10, 2008

lore
Share & tools
lore

Shaun R.

author
#0 lore raw

If i where to run a 32bit OS on a 64bit kernel would there be any problems with that? I'm not trying to convert the OS to 64bit, just would rather not have to build multiple kernels if i dont have too. I'm talking x86_32 and x86_64 btw too.

~Shaun

#1 lore raw
Quoted 4 lines · Shaun R.

If i where to run a 32bit OS on a 64bit kernel would there be any problems with that? I'm not trying to convert the OS to 64bit, just would rather not have to build multiple kernels if i dont have too. I'm talking x86_32 and x86_64 btw too.

I guess you mean 32bit userspace with a 64bit kernel.

And that's no problem as long as "CONFIG_IA32_EMULATION" is set The option is in the menu: Executable file formats / Emulations and is called: IA32 Emulation

Bis denn

Signature · 4 lines
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.
#2 lore raw
Quoted 8 lines · Matthias Schniedermeyer
Quoted 1 line · Shaun R.

If i where to run a 32bit OS on a 64bit kernel would there be any problems with that? I'm not trying to convert the OS to 64bit, just would rather not have to build multiple kernels if i dont have too. I'm talking x86_32 and x86_64 btw too.

I guess you mean 32bit userspace with a 64bit kernel.

And that's no problem as long as "CONFIG_IA32_EMULATION" is set The option is in the menu: Executable file formats / Emulations and is called: IA32 Emulation

Just my $.02. I do this configuration for years on some machines.

The only problem I've ever met is that some drivers are broken to support this configuration, some ioctls or mmap structures simply binary differs on 32 and 64-bit (due to different alignment and members size) and the driver can't cope with that -- doesn't define ioctls independently on arch or let the structures unaligned.

So make sure you won't use any proprietary blob which can't handle this (e.g. nvidia is OK).