Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 12:57:17 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Bruce Evans <bde@zeta.org.au>
Subject:   RE: cvs commit: src/sys/i386/i386 machdep.c
Message-ID:  <20031101124953.I85774@hewey.af.speednet.com.au>
In-Reply-To: <XFMail.20031031142539.jhb@FreeBSD.org>
References:  <XFMail.20031031142539.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031101124953.I85774>