From owner-freebsd-stable@FreeBSD.ORG Tue Apr 13 19:47:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5364E16A4CE for ; Tue, 13 Apr 2004 19:47:50 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B053A43D2F for ; Tue, 13 Apr 2004 19:47:49 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i3E2nnc8093351; Tue, 13 Apr 2004 20:49:50 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <407CA652.1090805@freebsd.org> Date: Tue, 13 Apr 2004 20:47:46 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pete French References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: stable@freebsd.org Subject: Re: SMP/HTT problems with 4.10-BETA X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 02:47:50 -0000 I almost wonder if you have a buggy set og CPUs. Have you tried updating the BIOS? Often times updated BIOSes have updated uCode patches for the CPU. Scott Pete French wrote: > I just tested the new 4.10-BETA code to see if it had improved any > of the issues I had running HTTP under 4.9. Unfortunately they still seem > to be present. If I have a kernel configured with SMP options and I enable > HTT then I see random errors in processes. These are not the normal "signal 11" > things that I would associate with bad memory, but are odd occurrances such as > the exit code from a process being wrong, or the exeutable created by a > compile not running. Repeating the command will usually give the correct > results. > > I had this issue originally with 4.9. I have not tested it with previous > versions as I did not have an HTT processor when running older systems. > > The machine is a Dell Prescision 450 Workstation. The dmesg from a boot > is below (with the CPU disabled) as is the output from mptable in case it > helps anyone. I realise that other people are running with HTT quite happily > though, and this doesnt bother me as I just build a ketnel with no SMP > enabled. But as we were asked to test SMP in 4.10 I thought I should > mention it. > > -pcf. > > > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.10-BETA #0: Tue Apr 13 11:46:26 BST 2004 > petefrench@dilbert.rattatosk:/usr/obj/usr/src/sys/DILBERT > Timecounter "i8254" frequency 1193182 Hz > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > Features=0xbfebfbff > Hyperthreading: 2 logical CPUs > real memory = 536301568 (523732K bytes) > avail memory = 517771264 (505636K bytes) > Changing APIC ID for IO APIC #0 from 0 to 8 on chip > Changing APIC ID for IO APIC #1 from 0 to 10 on chip > Changing APIC ID for IO APIC #2 from 0 to 9 on chip > Programming 24 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > Programming 24 pins in IOAPIC #1 > Programming 24 pins in IOAPIC #2 > FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs > cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 > cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 > io0 (APIC): apic id: 8, version: 0x00178020, at 0xfec00000 > io1 (APIC): apic id: 10, version: 0x00178020, at 0xfec80000 > io2 (APIC): apic id: 9, version: 0x00178020, at 0xfec80800 > Preloaded elf kernel "kernel" at 0xc03f6000. > Warning: Pentium 4 CPU: PSE disabled > Pentium Pro MTRR support enabled > Using $PIR table, 8 entries at 0xc00feae0 > apm0: on motherboard > apm0: found APM BIOS v1.2, connected at v1.2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > IOAPIC #0 intpin 16 -> irq 2 > IOAPIC #0 intpin 19 -> irq 13 > IOAPIC #0 intpin 18 -> irq 16 > IOAPIC #0 intpin 23 -> irq 17 > IOAPIC #0 intpin 17 -> irq 18 > pci0: on pcib0 > agp0: mem 0xe8000000-0xefffffff at device 0.0 on pci0 > pcib1: mem 0xe0000000-0xe7ffffff at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 2.0 on pci0 > pci2: on pcib2 > pci2: (vendor=0x8086, dev=0x1461) at 28.0 > pcib3: at device 29.0 on pci2 > IOAPIC #1 intpin 1 -> irq 19 > IOAPIC #1 intpin 2 -> irq 20 > IOAPIC #1 intpin 0 -> irq 21 > pci3: on pcib3 > mpt0: port 0xec00-0xecff mem 0xfe3c0000-0xfe3dffff,0xfe3e0000-0xfe3fffff irq 19 at device 12.0 on pci3 > mpt1: port 0xe800-0xe8ff mem 0xfe380000-0xfe39ffff,0xfe3a0000-0xfe3bffff irq 20 at device 12.1 on pci3 > em0: port 0xe4c0-0xe4ff mem 0xfe360000-0xfe37ffff irq 21 at device 14.0 on pci3 > em0: Speed:N/A Duplex:N/A > pci2: (vendor=0x8086, dev=0x1461) at 30.0 > pcib4: at device 31.0 on pci2 > pci4: on pcib4 > uhci0: port 0xff80-0xff9f irq 2 at device 29.0 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xff60-0xff7f irq 13 at device 29.1 on pci0 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xff40-0xff5f irq 16 at device 29.2 on pci0 > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > pci0: at 29.7 irq 17 > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > pcib6: at device 13.0 on pci5 > IOAPIC #0 intpin 21 -> irq 22 > IOAPIC #0 intpin 21 -> irq 22 > pci6: on pcib6 > drm0: mem 0xfd000000-0xfd7fffff,0xfdefc000-0xfdefffff,0xf6000000-0xf7ffffff irq 14 at device 0.0 on pci6 > info: [drm] AGP at 0xe8000000 128MB > info: [drm] Initialized mga 3.1.0 20021029 on minor 0 > drm1: mem 0xfc800000-0xfcffffff,0xfdef8000-0xfdefbfff,0xf4000000-0xf5ffffff irq 14 at device 4.0 on pci6 > info: [drm] AGP at 0xe8000000 128MB > info: [drm] Initialized mga 3.1.0 20021029 on minor 1 > drm2: mem 0xfc000000-0xfc7fffff,0xfdef4000-0xfdef7fff,0xf2000000-0xf3ffffff irq 14 at device 8.0 on pci6 > can't re-use a leaf (name)! > info: [drm] AGP at 0xe8000000 128MB > info: [drm] Initialized mga 3.1.0 20021029 on minor 2 > drm3: mem 0xfb800000-0xfbffffff,0xfdef0000-0xfdef3fff,0xf0000000-0xf1ffffff irq 14 at device 12.0 on pci6 > can't re-use a leaf (name)! > info: [drm] AGP at 0xe8000000 128MB > info: [drm] Initialized mga 3.1.0 20021029 on minor 3 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 irq 16 at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: (vendor=0x8086, dev=0x24c3) at 31.3 irq 18 > pcm0: port 0xdc40-0xdc7f,0xd800-0xd8ff mem 0xfe500000-0xfe5000ff,0xfe500400-0xfe5005ff irq 18 at device 31.5 on pci0 > pcm0: > orm0: