From owner-cvs-all@FreeBSD.ORG Fri Oct 31 18:57:27 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24E016A4CE; Fri, 31 Oct 2003 18:57:26 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D8BF43FAF; Fri, 31 Oct 2003 18:57:25 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62])hA12vMDJ000166; Sat, 1 Nov 2003 13:57:23 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.17])hA12vHK5088862; Sat, 1 Nov 2003 12:57:18 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Sat, 1 Nov 2003 12:57:17 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: John Baldwin In-Reply-To: Message-ID: <20031101124953.I85774@hewey.af.speednet.com.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-all@freebsd.org cc: Bruce Evans Subject: RE: cvs commit: src/sys/i386/i386 machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 02:57:27 -0000 John Baldwin wrote: > On 31-Oct-2003 Bruce Evans wrote: > > On Fri, 31 Oct 2003, John Baldwin wrote: > > > >> > >> On 31-Oct-2003 John Baldwin wrote: > >> > jhb 2003/10/31 06:24:29 PST > >> > > >> > FreeBSD src repository > >> > > >> > Modified files: > >> > sys/i386/i386 machdep.c > >> > Log: > >> > - Finish externing of r_idt in the f00f hack code. > >> > - Miscellaneous style fixes in the f00f hack code and some nearby code. > >> > > >> > Submitted by: bde > > > > Thanks. > > > >> This might actually fix SMP on Pentium's since the AP's will not > >> point to the correct IDT without this fix. > > > > Have the been any reports of it being broken? We configure the f00f hack > > code on all PentiumIs (aka P5s) including ones without the f00f bug, so > > the r_idt bug probably breaks all SMP systems with such CPUs. > > Actually, since this still used the global r_idt in the SMP case, I'm > not sure it was really broken. However, to the best of my knowledge, > SMP currently doesn't owrk on PentiumI systems right now at least in > current and possibly in stable as well. SMP on Pentium Broken? My current dmesg.boot says: %%% ... FreeBSD 5.1-CURRENT #1: Wed Oct 22 10:44:15 EST 2003 root@team2.af.speednet.com.au:/usr/obj/usr/src/sys/TEAM2 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0712000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P54C (132.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x3bf real memory = 100663296 (96 MB) avail memory = 92332032 (88 MB) APIC_IO: MP table broken: 8259->APIC entry missing! Programming 16 pins in IOAPIC #0 EISA INTCONTROL = 00004400 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 Intel Pentium detected, installing workaround for F00F bug ... %%% team2# uptime 12:54PM up 1 day, 3:21, 3 users, load averages: 2.58, 3.22, 4.22 I am building world right now to see if latest ULE still locks up.. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/