From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 17 03:20:04 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F99616A420 for ; Fri, 17 Feb 2006 03:20:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E374443D49 for ; Fri, 17 Feb 2006 03:20:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1H3K3pt083370 for ; Fri, 17 Feb 2006 03:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1H3K37m083369; Fri, 17 Feb 2006 03:20:03 GMT (envelope-from gnats) Resent-Date: Fri, 17 Feb 2006 03:20:03 GMT Resent-Message-Id: <200602170320.k1H3K37m083369@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoly Mashanov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B79F16A420 for ; Fri, 17 Feb 2006 03:13:31 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1769743D45 for ; Fri, 17 Feb 2006 03:13:31 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1H3DUTQ093820 for ; Fri, 17 Feb 2006 03:13:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1H3DUr4093819; Fri, 17 Feb 2006 03:13:30 GMT (envelope-from nobody) Message-Id: <200602170313.k1H3DUr4093819@www.freebsd.org> Date: Fri, 17 Feb 2006 03:13:30 GMT From: Anatoly Mashanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/93461: Intel 440LX SMP freeze X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 03:20:04 -0000 >Number: 93461 >Category: kern >Synopsis: Intel 440LX SMP freeze >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 17 03:20:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Anatoly Mashanov >Release: 6.0 >Organization: None >Environment: FreeBSD dream.sf.irk.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Feb 5 14:06:44 IRKT 2006 root@dream.sf.irk.ru:/usr/src/sys/i386/compile/DIAMOND i386 >Description: FreeBSD 5.4 and 6.0 freeze in 2-processor configuration on SuperMicro P6DLF motherboard after about 2 days of work. The computer works perfectly under 4.*. The following influences the frequency of the bug: Setting HZ=100 makes it reasonably rare; underclocking to 50 or 60 MHz causes freeze after some minutes of work. Removal of second processor removes the problem. When the freeze occurs, there is no reaction to anything except RESET - no CTRL/ALT/DEL, no CTRL/ALT/F1, no CTRL/ALT/F1, no CTRL/ALT/ESC (kdb compiled in), no NMI button, no mouse movement. When the fault happened during DIVX4 playing, the SBLIVE continued to reproduce the last scream. The processors are warmer than in idle state. The following doesn't influence: Removing from kernel anything not needed, adding MPT_WATCHDOG, moving HDD to Promise or PIIX4, changing 3DFX Banshee to S3 Savage 4, changing UDMA to PIO, adequate cooling and powering, replacement of processors, memory, HDD. Not tested: SCSI HDD, M/B replacement, use of a pair of P-II instead of Celerons, removal of CD-RW,fxp or SBLIVE, enabling APM or ACPI. M/B is powered from AT p/s. =============================================================================== MPTable looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009e400 (633K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000fb650 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fb650 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x64 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f6dc0 signature: 'PCMP' base table length: 268 version: 1.4 checksum: 0x58 OEM ID: 'INTEL ' Product ID: '440LX ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 25 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x11 BSP, usable 6 6 5 0x183fbff 1 0x11 AP, usable 6 6 5 0x183fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 2 0 2 0 INT conforms conforms 2 1 2 1 INT conforms conforms 2 0 2 2 INT conforms conforms 2 3 2 3 INT conforms conforms 2 4 2 4 INT conforms conforms 2 6 2 6 INT conforms conforms 2 7 2 7 INT active-hi edge 2 8 2 8 INT conforms conforms 2 12 2 12 INT conforms conforms 2 13 2 13 INT conforms conforms 2 14 2 14 INT conforms conforms 2 15 2 15 INT active-lo level 2 11 2 16 INT active-lo level 2 9 2 17 INT active-lo level 2 5 2 18 INT active-lo level 2 10 2 19 SMI conforms conforms 2 0 2 23 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 0 0:A 255 0 NMI conforms conforms 0 0:A 255 1 ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-2005 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 6.0-RELEASE #0: Sun Feb 5 14:06:44 IRKT 2006 root@dream.sf.irk.ru:/usr/src/sys/i386/compile/DIAMOND Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 268435456 (256 MB) avail memory = 257269760 (245 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xef40-0xef5f irq 10 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] 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 piix0: port 0xfcb0-0xfcbf at device 7.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pcm0: port 0xef20-0xef3f irq 9 at device 16.0 on pci0 pcm0: fxp0: port 0xeea0-0xeebf mem 0xfa5ff000-0xfa5fffff,0xfea00000-0xfeafffff irq 5 at device 18.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:90:27:51:41:47 atapci1: port 0xefe0-0xefe7,0xefac-0xefaf,0xefa0-0xefa7,0xefa8-0xefab,0xef90-0xef9f mem 0xfebfc000-0xfebfffff irq 10 at device 20.0 on pci0 ata2: on atapci1 ata3: on atapci1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) Timecounters tick every 10.000 msec acd0: CDRW at ata1-master UDMA33 ad4: 7339MB at ata2-master UDMA33 ad6: 39266MB at ata3-master UDMA100 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a =============================================================================== >How-To-Repeat: M/B SuperMicro P6DLF + 2 Celerons/500 + 2 Socket/slot adapters + RAM etc. Set clock to 60 MHz, boot SMP kernel and wait. Maybe other 440LX m/b, too >Fix: Remove second CPU to fix fully. Or set HZ=100 to make system at least more usable than Windows-95 >Release-Note: >Audit-Trail: >Unformatted: