lkml.org 
[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Anybody got 2.4.0 running on a 386 ?
Robert Kaiser wrote:
>
> On Die, 09 Jan 2001 you wrote:
> > Robert Kaiser wrote:
> > > I can't seem to get the new 2.4.0 kernel running on a 386 CPU.
> > > The kernel was built for a 386 Processor, Math emulation has been enabled.
> > > I tried three different 386 boards. Execution seems to get as far as
> > > pagetable_init() in arch/i386/mm/init.c, then it falls back into the BIOS as
> > > 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);

How about this patch (untested)? max_low_pfn should be a global var...

diff -urN linux-2.4.0/arch/i386/kernel/setup.c
linux/arch/i386/kernel/setup.c
--- linux-2.4.0/arch/i386/kernel/setup.c Sun Dec 31 13:26:18 2000
+++ linux/arch/i386/kernel/setup.c Tue Jan 9 17:59:00 2001
@@ -598,7 +598,7 @@
void __init setup_arch(char **cmdline_p)
{
unsigned long bootmap_size;
- unsigned long start_pfn, max_pfn, max_low_pfn;
+ unsigned long start_pfn, max_pfn;
int i;

#ifdef CONFIG_VISWS
--

Brian Gerst
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.158 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site