Re: Anybody got 2.4.0 running on a 386 ?

mo6 (sjoos@pandora.be)
Thu, 11 Jan 2001 13:20:17 +0100


On Tue, Jan 09, 2001 at 10:17:47PM +0100, Robert Kaiser wrote:
> On Die, 09 Jan 2001 you wrote:
> > Robert Kaiser wrote:
> > > if someone had pressed the reset button. The same kernel boots fine on
> > > 486 and Pentium Systems.
> > >
> > > Any ideas/suggestions ?
> >
> >
> > is "Checking if this processor honours the WP bit even in supervisor
> > mode... " the last thing you see before the reset?
> >
>
> No, I don't see _any_ messages from the kernel. The last thing I see is
> "Uncompressing Linux... Ok, booting the kernel." I have added some
> quick and dirty debug code that writes messages directly to the VGA
> screen buffer. According to that, execution seems to get as far as the
> statement
>
> *pte = mk_pte_phys(__pa(vaddr), PAGE_KERNEL);
>

Changing the
if( end && (vaddr >= end))
break;
just before that snippet of yours (I believe it's on lines 379-380) into
if (vaddr >= end)
break;
or alternatively adding
if (!end)
break;
between if(end &&...) break; and *pte = mk_...; produces a kernel bootable
on 386.

With kind regards,

Sven Joos

-- 
If the odds are a million to one against something occurring, chances
are 50-50 it will.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/