All of lore.kernel.org
 help / color / mirror / Atom feed
From: erkrishna@gmail.com (er krishna)
To: kernelnewbies@lists.kernelnewbies.org
Subject: 32 bit kernel on 64 bit machine
Date: Fri, 20 Apr 2012 12:54:35 +0800	[thread overview]
Message-ID: <CAMGjyMsnGQVBngpgD-rf6gssq8DGFMgnAPdhSb--DdCu9cFAew@mail.gmail.com> (raw)
In-Reply-To: <CALButC+cDKw1kTvk5gGfQkOrLn9b8Ek+FhiWQ=0Fho26ALjvTQ@mail.gmail.com>

On Apr 20, 2012 12:41 PM, "Graeme Russ" <graeme.russ@gmail.com> wrote:
>
> Hi Krishna,
>
> On Fri, Apr 20, 2012 at 2:37 PM, er krishna <erkrishna@gmail.com> wrote:
> >
> > On Apr 20, 2012 12:16 PM, "Graeme Russ" <graeme.russ@gmail.com> wrote:
> >>
> >> Hi Krishna,
> >>
> >> Please keep ML Cc'd
> > yep
> >
> >>
> >> On Fri, Apr 20, 2012 at 1:57 PM, er krishna <erkrishna@gmail.com>
wrote:
> >> > Graeme,
> >> >
> >> > Thanks for the reply.
> >> >
> >> > On Fri, Apr 20, 2012 at 11:49 AM, Graeme Russ <graeme.russ@gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi Krishna,
> >> >>
> >> >> On Fri, Apr 20, 2012 at 1:45 PM, er krishna <erkrishna@gmail.com>
> >> >> wrote:
> >> >> > Hi All,
> >> >> >
> >> >> > Is it possible to boot the 64 bit machine through 32 bit compiled
> >> >> > kernel
> >> >> > ? I
> >> >>
> >> >> Yes
> >> >
> >> >
> >> > How ? What are the exact steps ? I mean how I will compile the kernel
> >> > (flags
> >> > and all) that will boot on 64 bit processor ? My problem is I have 64
> >> > bit
> >> > fc16 and Sandybridge 64 bit machine. I need to compile the kernel
for 32
> >> > bit
> >> > with these setup and boot it.
> >>
> >> The steps you performed I believe will have built a 32-bit kernel
> > yes but when booted it panic during initramfs stage.
>
> Is the initramfs the Fedora init ramfs? If so, maybe it has 64-bit user
space

Yes and maybe it can b the problem. Let me do a lil bit more debugging and
then I will back on this. Thx for the kind suggestion.
>
> >> >> > tried its compilation on fedora 16 64 bit and intel sandybridge 64
> >> >> > bit
> >> >> > with
> >> >> > following option:
> >> >> >
> >> >> >
> >> >> > $ make ARCH=i386 menuconfig
> >> >> >
> >> >> > $ make ARCH=i386 ?j4
> >> >> >
> >> >> >
> >> >> > but it failed to boot. Any suggestion if it can be done by any
way.
> >> >>
> >> >> You cannot use a 32-bit kernel with 64-bit user-space
> >> >>
> >> >
> >> > Sorry, I didn't get you here. Do you mean to say that 64 bit
application
> >> > won't work on 32 bit kernel. if its then its fine.
> >>
> >> Yes, that is what I mean't - If all you userspace (libraries,
> >> applications etc) are 64-bit then a 32-bit kernel cannot run them. You
> >> should have at least got a kernel panic that init could not be run
> >>
> > application will not run that i m agreed but the booting should be
smooth.
> > Isnt it?
> >
> > I got panic during early stage of booting before calling of init.
>
> Can you post a log? You'll need to setup logging to serial or net console
>
> >> By 'fine' you mean that your setup is fine and you tried to run the
> >
> > No it was not intended to say like this.  But first of all booting didnt
> > happen.
> > So there is no point of trying any application.
> >
> > Can you pls tell that booting and 32 bit application should run
smoothly?
> >
> >> 32-bit kernel using 32-bit userspace? If so, there is obviously
> >> another problem.
> >
> > Watt problem?
>
> I would say the initramfs contains 64-bit user-space
>
> Regards,
>
> Graeme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120420/21f447b6/attachment.html 

      reply	other threads:[~2012-04-20  4:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMGjyMt-3Ncr8VHpPMBVhJ27kh-jw47G8QZpeg4vfG3gY7g7KQ@mail.gmail.com>
2012-04-20  3:45 ` 32 bit kernel on 64 bit machine er krishna
2012-04-20  3:49   ` Graeme Russ
     [not found]     ` <CAMGjyMtoyNRUdvRbDFvjaY2kxZQSG8rZxjBGUcswK7+O7OxuEg@mail.gmail.com>
2012-04-20  4:16       ` Graeme Russ
2012-04-20  4:37         ` er krishna
2012-04-20  4:41           ` Graeme Russ
2012-04-20  4:54             ` er krishna [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMGjyMsnGQVBngpgD-rf6gssq8DGFMgnAPdhSb--DdCu9cFAew@mail.gmail.com \
    --to=erkrishna@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.