Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 kernel w/options PAE fails



On Tue, 27 Jul 2010 14:29:51 -0500 (CDT), "John D. Baker"
<jdbaker%mylinuxisp.com@localhost> wrote:
> I booted with SMP disabled and it went as far as single-user.  When
> I allowed it to go multiuser, it eventually panicked:
> 
>    http://bobdbob.com/~jdbaker/dmesg-shadow_pae_up-nbsd5_99_37.txt

Alright, two issues, (1) with MP startup, and (2) during bootup.

While I check for (1), could you please try booting the host, still in UP
mode, with the patch below? Thanks!

Index: sys/arch/x86/x86/cpu.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/cpu.c,v
retrieving revision 1.73
diff -u -p -r1.73 cpu.c
--- sys/arch/x86/x86/cpu.c      24 Jul 2010 00:45:56 -0000      1.73
+++ sys/arch/x86/x86/cpu.c      28 Jul 2010 15:35:55 -0000
@@ -1124,7 +1124,7 @@ cpu_load_pmap(struct pmap *pmap)
                l3_pd[i] = pmap->pm_pdirpa[i] | PG_V;
        }
        splx(s);
-       tlbflush();
+       tlbflushg();
 #else /* PAE */
        lcr3(pmap_pdirpa(pmap, 0));
 #endif /* PAE */

-- 
Jean-Yves Migeon
jean-yves.migeon%espci.fr@localhost




Home | Main Index | Thread Index | Old Index