From owner-freebsd-current Mon Mar 3 22:43:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B457C37B401 for ; Mon, 3 Mar 2003 22:43:15 -0800 (PST) Received: from plewe.is.tsukuba.ac.jp (plewe.is.tsukuba.ac.jp [130.158.81.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B83D43FA3 for ; Mon, 3 Mar 2003 22:43:14 -0800 (PST) (envelope-from till@plewe.is.tsukuba.ac.jp) Received: from plewe.is.tsukuba.ac.jp (localhost [127.0.0.1]) by plewe.is.tsukuba.ac.jp (8.12.7/8.12.7) with ESMTP id h246hU2D083536; Tue, 4 Mar 2003 15:43:30 +0900 (JST) (envelope-from till@plewe.is.tsukuba.ac.jp) Received: (from till@localhost) by plewe.is.tsukuba.ac.jp (8.12.7/8.12.7/Submit) id h246hUvh083535; Tue, 4 Mar 2003 15:43:30 +0900 (JST) Date: Tue, 4 Mar 2003 15:43:29 +0900 From: Till Plewe To: current@FreeBSD.ORG Subject: smp-kernel panics while booting Message-ID: <20030304064329.GA58205@plewe.is.tsukuba.ac.jp> Reply-To: till@score.is.tsukuba.ac.jp Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i-ja.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have 2 Xeon processors on a PDPEA (Rioworks) motherboard (http://www.rioworks.co.jp/products/pdpea.html). The generic kernel boots without problems (see output of dmesg below). When I use the SMP kernel I invariably (5.0 release, various CURRENTs, the latest cvsuped yesterday, various BIOS settings) get: CPU ... real memory ... avail memory ... Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 AP #1 (PHY# 1) failed! panic y/n [y] Uptime: 1s panic: Assertion mtx_unowned(m) failed at /usr/src/sys/kern/kern_mutex.c:966 cpuid = 0; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x4f: xchgl %ebx,in_Debugger.0 I would be grateful for any suggestions. - Till PS Linux 2.4.18-14smp seems to work. OUTPUT OF DMESG =================================== 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 5.0-CURRENT #3: Mon Mar 3 20:51:39 JST 2003 till@plewe2.is.tsukuba.ac.jp:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel.gen/kernel" at 0xc069f000. Preloaded elf module "/boot/kernel.gen/acpi.ko" at 0xc069f0ac. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2392042856 Hz CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2146893824 (2047 MB) avail memory = 2082635776 (1986 MB) Allocating major#253 to "net" Allocating major#252 to "pci" Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 pcibios: BIOS version 2.10 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.LPT_ - AE_AML_INVALID_RESOURCE_TYPE acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 2.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND pci2: on pcib2 pci2: at device 28.0 (no driver attached) pcib3: at device 29.0 on pci2 pci3: on pcib3 pci2: at device 30.0 (no driver attached) pcib4: at device 31.0 on pci2 pci4: on pcib4 bge0: mem 0xf0200000-0xf020ffff irq 5 at device 4.0 on pci4 bge0: Ethernet address: 00:50:45:00:96:f7 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto uhci0: port 0x1400-0x141f irq 11 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 0x1420-0x143f irq 10 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 0x1440-0x145f irq 5 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 device 29.7 (no driver attached) pcib5: at device 30.0 on pci0 pci5: on pcib5 pci5: at device 0.0 (no driver attached) pci5: at device 1.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1460-0x146f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x378-0x37f on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 sio0 port 0x2f8-0x2ff irq 3 on acpi0 sio0: type 16550A sio1 port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: