public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 64bit kernel, 32bit OS?
@ 2008-07-10  0:16 Shaun R.
  2008-07-10  7:20 ` Matthias Schniedermeyer
  0 siblings, 1 reply; 3+ messages in thread
From: Shaun R. @ 2008-07-10  0:16 UTC (permalink / raw)
  To: linux-kernel

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 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64bit kernel, 32bit OS?
  2008-07-10  0:16 64bit kernel, 32bit OS? Shaun R.
@ 2008-07-10  7:20 ` Matthias Schniedermeyer
  2008-07-10  8:18   ` Jiri Slaby
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Schniedermeyer @ 2008-07-10  7:20 UTC (permalink / raw)
  To: Shaun R.; +Cc: linux-kernel

On 09.07.2008 17:16, Shaun R. wrote:
> 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

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64bit kernel, 32bit OS?
  2008-07-10  7:20 ` Matthias Schniedermeyer
@ 2008-07-10  8:18   ` Jiri Slaby
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Slaby @ 2008-07-10  8:18 UTC (permalink / raw)
  To: Matthias Schniedermeyer; +Cc: Shaun R., linux-kernel

On 07/10/2008 09:20 AM, Matthias Schniedermeyer wrote:
> On 09.07.2008 17:16, Shaun R. wrote:
>> 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).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-10  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10  0:16 64bit kernel, 32bit OS? Shaun R.
2008-07-10  7:20 ` Matthias Schniedermeyer
2008-07-10  8:18   ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox