From owner-freebsd-smp Sun Dec 29 22:39:47 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E1437B401 for ; Sun, 29 Dec 2002 22:39:42 -0800 (PST) Received: from web41304.mail.yahoo.com (web41304.mail.yahoo.com [66.218.93.53]) by mx1.FreeBSD.org (Postfix) with SMTP id CE79443EB2 for ; Sun, 29 Dec 2002 22:39:41 -0800 (PST) (envelope-from gary@geisbert.com) Message-ID: <20021230063941.70726.qmail@web41304.mail.yahoo.com> Received: from [68.48.79.206] by web41304.mail.yahoo.com via HTTP; Sun, 29 Dec 2002 22:39:41 PST Date: Sun, 29 Dec 2002 22:39:41 -0800 (PST) From: Gary Geisbert Subject: 4.7-STABLE SMP kernel dies on Compaq Proliant ML530 To: freebsd-smp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just updated to RELENG_4 today (12/29/02) and after building world and a SMP kernel, the system dies when booting right after: Programming 35 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Here is mptable: db2# mptable =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f4ff0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x00 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f28a8 signature: 'PCMP' base table length: 540 version: 1.4 checksum: 0xa3 OEM ID: 'COMPAQ ' Product ID: 'PROLIANT ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 59 local APIC address: 0xfee00000 extended table length: 252 extended table checksum: 112 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x10 BSP, usable 6 2 1 0x0381 0 0x10 AP, usable 6 8 3 0x383fb ff -- Bus: Bus ID Type 0 PCI 224 PCI 225 PCI 15 ISA -- I/O APICs: APIC ID Version State Address 8 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# INT active-lo level 0 8:A 8 31 INT active-lo level 0 8:B 8 31 INT active-lo level 0 8:C 8 31 INT active-lo level 0 8:D 8 31 INT active-lo level 225 8:A 8 30 INT active-lo level 225 8:B 8 30 INT active-lo level 225 8:C 8 30 INT active-lo level 225 8:D 8 30 INT active-lo level 225 7:A 8 29 INT active-lo level 225 7:B 8 29 INT active-lo level 225 7:C 8 29 INT active-lo level 225 7:D 8 29 INT active-lo level 225 6:A 8 28 INT active-lo level 225 6:B 8 28 INT active-lo level 225 6:C 8 28 INT active-lo level 225 6:D 8 28 INT active-lo level 225 9:A 8 27 INT active-lo level 225 9:B 8 27 INT active-lo level 225 9:C 8 27 INT active-lo level 225 9:D 8 27 INT active-lo level 225 5:A 8 26 INT active-lo level 225 5:B 8 26 INT active-lo level 225 5:C 8 26 INT active-lo level 225 5:D 8 26 INT active-lo level 224 5:A 8 25 INT active-lo level 224 5:B 8 25 INT active-lo level 224 5:C 8 25 INT active-lo level 224 5:D 8 25 INT active-lo level 224 6:A 8 24 INT active-lo level 224 6:B 8 24 INT active-lo level 224 6:C 8 24 INT active-lo level 224 6:D 8 24 INT active-lo level 225 4:A 8 22 INT active-lo level 225 4:B 8 21 INT active-hi edge 15 1 8 1 INT active-hi edge 15 0 8 2 INT active-hi edge 15 3 8 3 INT active-hi edge 15 4 8 4 INT active-hi edge 15 5 8 5 INT active-hi edge 15 6 8 6 INT active-hi edge 15 7 8 7 INT active-hi edge 15 8 8 8 INT active-hi edge 15 9 8 9 INT active-hi edge 15 10 8 10 INT active-hi edge 15 11 8 11 INT active-hi edge 15 12 8 12 INT active-lo level 15 13 8 13 INT active-hi edge 15 14 8 14 INT active-hi edge 15 15 8 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 15 0 255 0 NMI conforms conforms 15 0 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: Extended Table HOSED! db2# Any ideas? Thanks, -g To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Dec 30 12:35:11 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3782537B401; Mon, 30 Dec 2002 12:35:10 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id F037543EDC; Mon, 30 Dec 2002 12:35:09 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id DE1922A88D; Mon, 30 Dec 2002 12:35:09 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin Cc: smp@FreeBSD.org Subject: Re: Update on SE7500 P4 SMP.. In-Reply-To: Date: Mon, 30 Dec 2002 12:35:09 -0800 From: Peter Wemm Message-Id: <20021230203509.DE1922A88D@canning.wemm.org> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin wrote: >[...] This has absolutely nothing to do with I/O > interrupts, the I/O APIC, virtual wire mode, etc. It does have to > do with interprocessor interrupts. For the time being I'm going > to concenctrate on other more pressing 5.0 things, but if anyone > has any ideas I'm all ears. :-/ This is a long shot, but has anybody tried correcting this value on their machine: sys/i386/i386/mpapic.c: #define bus_clock() 66000000 Try changing it to 400000000 or 533000000 and see if that helps. I dont know what the local apic timer clock is based on.. it might be the quadrupled clock, the native FSB clock (100000000 or 133000000) or something else. But since we have IPI delivery problems and the IPI's do work on NetBSD (which calibrates this timer), this is a logical place to tinker with. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message