From owner-freebsd-smp Thu Dec 5 19:18:49 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA24555 for smp-outgoing; Thu, 5 Dec 1996 19:18:49 -0800 (PST) Received: from pat.idt.unit.no (0@pat.idt.unit.no [129.241.103.5]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA24539 for ; Thu, 5 Dec 1996 19:18:42 -0800 (PST) Received: from idt.unit.no (tegge@ikke.idt.unit.no [129.241.111.65]) by pat.idt.unit.no (8.8.4/8.8.4) with ESMTP id EAA09185; Fri, 6 Dec 1996 04:18:29 +0100 (MET) Message-Id: <199612060318.EAA09185@pat.idt.unit.no> To: smp@csn.net Cc: smp@FreeBSD.ORG, smp@bluenose.na.tuns.ca, Janick.Taillandier@ratp.fr, peter@spinner.dialix.com Subject: Re: last major problem In-Reply-To: Your message of "Thu, 05 Dec 1996 20:06:51 -0700" References: <199612060306.UAA16913@clem.systemsix.com> X-Mailer: Mew version 1.06 on Emacs 19.33.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 06 Dec 1996 04:18:29 +0100 From: Tor Egge Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > It appears we have one last serious problem to fix. 3 users report > crashing shortly after starting the 2nd CPU. Two data points: 1. I did not have options SMP_INVLTLB in my kernel config file. 2. I'll report back when I've tried the following patch: Index: pmap.c =================================================================== RCS file: /export/akg1/smp-cvs/sys/i386/i386/pmap.c,v retrieving revision 1.31 diff -c -r1.31 pmap.c *** pmap.c 1996/12/03 05:51:12 1.31 --- pmap.c 1996/12/06 03:09:33 *************** *** 552,557 **** --- 552,560 ---- if (frame != (((unsigned) APTDpde) & PG_FRAME)) { APTDpde = (pd_entry_t) (frame | PG_RW | PG_V); invltlb(); + #if defined(SMP_INVLTLB) + smp_invltlb(); + #endif } return (unsigned *) APTmap; } - Tor Egge