lkml.org 
[lkml]   [1997]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-2.1.42 question
In article <19970620174016.25423@atrey.karlin.mff.cuni.cz> you wrote:
: > I build the kernel for 2.1.42 for a 486 machine. The kernel compiled
: > fine,but when I boot- it loads up through the following message and
: > then the boot hangs.
: > Message: Checking if this processor honours the WP bit even in
: > supervisor mode.....

I have no idea why it occurs, but I observed the same phenomenon
on AMD 486 and repaired it by:

linux/arch/i386/mm/init.c:

current->mm->mmap->vm_start += PAGE_SIZE;
__asm__ __volatile__(
"movb %0,%1 ; movb %1,%0"
:"=m" (*(char *) __va(0)),
"=q" (tmp_reg)
:/* no inputs */
:"memory");
+#ifndef NO_ANK_FIX
+ __asm__ __volatile__ ("jmp 1f ; 1:");
+#endif
pg0[0] = old;
local_flush_tlb();

Apparently, it is a problem with tlb/command pipeline/hell-knows-more

Alexey Kuznetsov.

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