Bug 13338

Summary: panic: pmap_remove_all: pv_table for 162b0000 is inconsistent
Product: Base System Reporter: Jan <Jan>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Jan 1999-08-23 22:20:01 UTC
panic: pmap_remove_all: pv_table for 162b0000 is inconsistent

and machine reboots follows. the machine is a high traffic newsfeed
exchanger, receivig and sending about 20 Gig a day

Fix: 

only info found on pmap(.h) seems to be for i386 
http://www.freebsd.org/FAQ/FAQ262.html

is there a fix for alpha aswel ? 
as the source for pmap.h doesn't seem to be the same
How-To-Repeat: can happen on any moment :( 
dunno how to repeat it exactly
Comment 1 Dmitrij Tejblum 1999-08-24 00:30:17 UTC
> panic: pmap_remove_all: pv_table for 162b0000 is inconsistent

Perhaps, the following patch from -current will help. (I intend to merge 
it to -stable soon.)

Dima

Index: pmap.c
===================================================================
RCS file: /home/ncvs/src/sys/alpha/alpha/pmap.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- pmap.c	1999/06/08 17:14:07	1.25
+++ pmap.c	1999/06/10 20:40:55	1.26
@@ -1052,6 +1052,13 @@
 	int i;
 	vm_object_t upobj;
 	vm_page_t m;
+
+	if (p == fpcurproc) {
+		alpha_pal_wrfen(1);
+		savefpstate(&fpcurproc->p_addr->u_pcb.pcb_fp);
+		fpcurproc = NULL;
+		alpha_pal_wrfen(0);
+	}
 
 	upobj = p->p_upages_obj;
 	/*
Comment 2 wilko freebsd_committer freebsd_triage 2001-02-12 19:53:04 UTC
State Changed
From-To: open->closed

No reply received from originator after suggesting a test with 
4-stable.