Re: linux-2.1.42 question

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Fri, 20 Jun 1997 22:23:38 +0400


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.