<p><br>
On Apr 20, 2012 12:41 PM, "Graeme Russ" <<a href="mailto:graeme.russ@gmail.com">graeme.russ@gmail.com</a>> wrote:<br>
><br>
> Hi Krishna,<br>
><br>
> On Fri, Apr 20, 2012 at 2:37 PM, er krishna <<a href="mailto:erkrishna@gmail.com">erkrishna@gmail.com</a>> wrote:<br>
> ><br>
> > On Apr 20, 2012 12:16 PM, "Graeme Russ" <<a href="mailto:graeme.russ@gmail.com">graeme.russ@gmail.com</a>> wrote:<br>
> >><br>
> >> Hi Krishna,<br>
> >><br>
> >> Please keep ML Cc'd<br>
> > yep<br>
> ><br>
> >><br>
> >> On Fri, Apr 20, 2012 at 1:57 PM, er krishna <<a href="mailto:erkrishna@gmail.com">erkrishna@gmail.com</a>> wrote:<br>
> >> > Graeme,<br>
> >> ><br>
> >> > Thanks for the reply.<br>
> >> ><br>
> >> > On Fri, Apr 20, 2012 at 11:49 AM, Graeme Russ <<a href="mailto:graeme.russ@gmail.com">graeme.russ@gmail.com</a>><br>
> >> > wrote:<br>
> >> >><br>
> >> >> Hi Krishna,<br>
> >> >><br>
> >> >> On Fri, Apr 20, 2012 at 1:45 PM, er krishna <<a href="mailto:erkrishna@gmail.com">erkrishna@gmail.com</a>><br>
> >> >> wrote:<br>
> >> >> > Hi All,<br>
> >> >> ><br>
> >> >> > Is it possible to boot the 64 bit machine through 32 bit compiled<br>
> >> >> > kernel<br>
> >> >> > ? I<br>
> >> >><br>
> >> >> Yes<br>
> >> ><br>
> >> ><br>
> >> > How ? What are the exact steps ? I mean how I will compile the kernel<br>
> >> > (flags<br>
> >> > and all) that will boot on 64 bit processor ? My problem is I have 64<br>
> >> > bit<br>
> >> > fc16 and Sandybridge 64 bit machine. I need to compile the kernel for 32<br>
> >> > bit<br>
> >> > with these setup and boot it.<br>
> >><br>
> >> The steps you performed I believe will have built a 32-bit kernel<br>
> > yes but when booted it panic during initramfs stage.<br>
><br>
> Is the initramfs the Fedora init ramfs? If so, maybe it has 64-bit user space</p>
<p>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.<br>
><br>
> >> >> > tried its compilation on fedora 16 64 bit and intel sandybridge 64<br>
> >> >> > bit<br>
> >> >> > with<br>
> >> >> > following option:<br>
> >> >> ><br>
> >> >> ><br>
> >> >> > $ make ARCH=i386 menuconfig<br>
> >> >> ><br>
> >> >> > $ make ARCH=i386 –j4<br>
> >> >> ><br>
> >> >> ><br>
> >> >> > but it failed to boot. Any suggestion if it can be done by any way.<br>
> >> >><br>
> >> >> You cannot use a 32-bit kernel with 64-bit user-space<br>
> >> >><br>
> >> ><br>
> >> > Sorry, I didn't get you here. Do you mean to say that 64 bit application<br>
> >> > won't work on 32 bit kernel. if its then its fine.<br>
> >><br>
> >> Yes, that is what I mean't - If all you userspace (libraries,<br>
> >> applications etc) are 64-bit then a 32-bit kernel cannot run them. You<br>
> >> should have at least got a kernel panic that init could not be run<br>
> >><br>
> > application will not run that i m agreed but the booting should be smooth.<br>
> > Isnt it?<br>
> ><br>
> > I got panic during early stage of booting before calling of init.<br>
><br>
> Can you post a log? You'll need to setup logging to serial or net console<br>
><br>
> >> By 'fine' you mean that your setup is fine and you tried to run the<br>
> ><br>
> > No it was not intended to say like this. But first of all booting didnt<br>
> > happen.<br>
> > So there is no point of trying any application.<br>
> ><br>
> > Can you pls tell that booting and 32 bit application should run smoothly?<br>
> ><br>
> >> 32-bit kernel using 32-bit userspace? If so, there is obviously<br>
> >> another problem.<br>
> ><br>
> > Watt problem?<br>
><br>
> I would say the initramfs contains 64-bit user-space<br>
><br>
> Regards,<br>
><br>
> Graeme<br>
</p>