Michael Mol <[email protected]> wrote:
> On 04/15/2013 12:51 PM, [email protected] wrote:
> > Michael Mol <[email protected]> wrote:
> >
> >> On 04/15/2013 12:07 PM, Tanstaafl wrote:
> >>> On 2013-04-15 11:51 AM, Tanstaafl <[email protected]> wrote:
> >>>> I'm confused about how this works in a hosted virtual environment.
> >>>>
> >>>> My Dev server failed to come up after the migration, until their tech
> >>>> support suggested switching to the 64bit kernel... did that and it is
> >>>> fine now (or appears to be)...
> >>>>
> >>>> But the Prod server is still on the 32bit kernel...
> >>>>
> >>>> Should I switch it to 64bit and change the CFLAGS to the same as the dev
> >>>> server?
> >>>
> >>> Can you run a 64bit kernel on a system that was originally
> >>> running/compiled with 32bit?
> >>>
> >>
> >> I don't see why not. The 64-bit kernel provides all the hooks necessary
> >> for a 32-bit userspace.
> >>
> > If you do this, be sure to set the configs to emulate 32-bit otherwise
> > your 32-bit apps will not work!
>
> Which configs? Be specific; to a 32-bit x86 process[1], a 64-bit kernel
> looks pretty much like a 32-bit kernel.
>
>
> [1] I just realized I can no longer say "32-bit" and expect it to
> exactly mean x86. Going forward in general conversations, it could well
> mean x32...
>
I was thinking primarily of ia32 emulation -- I made a kernel and got
burned by not having this on by mistake and then my 64-bit kernel would
not execute any 32-bit program.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
[email protected]