Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 15:43:29 +0900
From:      Till Plewe <till@plewe.is.tsukuba.ac.jp>
To:        current@FreeBSD.ORG
Subject:   smp-kernel panics while booting
Message-ID:  <20030304064329.GA58205@plewe.is.tsukuba.ac.jp>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD    RSDT  > 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> mem 0xf8000000-0xfbffffff at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib2
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci4: <ACPI PCI bus> on pcib4
bge0: <Broadcom BCM5702X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xf0200000-0xf020ffff irq 5 at device 4.0 on pci4
bge0: Ethernet address: 00:50:45:00:96:f7
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1400-0x141f irq 11 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1420-0x143f irq 10 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1440-0x145f irq 5 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pci5: <serial bus, FireWire> at device 0.0 (no driver attached)
pci5: <display, VGA> at device 1.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> 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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROMs> at iomem 0xe0000-0xe3fff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 78533MB <IC35L080AVVA07-0> [159560/16/63] at ata0-master UDMA100
acd0: DVD-R <HL-DT-ST DVDRAM GMA-4020B> at ata1-master PIO4
MBREXT Slice 5 on ad0s3:
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:208782
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:208845 l:37640295
MBREXT Slice 6 on ad0s3:
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:37640232
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:37849140 l:4080510
MBREXT Slice 7 on ad0s3:
[0] f:00 typ:130 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:4080447
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Mounting root from ufs:/dev/ad0s1a


OUTPUT OF MPTABLE
===================================

===============================================================================

MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f6a60
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x2a
  mode:				Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:		0x0009fd70
  signature:			'PCMP'
  base table length:		340
  version:			1.4
  checksum:			0xd4
  OEM ID:			' '
  Product ID:			'PLACER CRB  '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			34
  local APIC address:		0xfee00000
  extended table length:	164
  extended table checksum:	222

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 0	 0x14	 BSP, usable	 15	 2	 7	 0xbfebfbff
		 6	 0x14	 AP, usable	 15	 2	 7	 0xbfebfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 PCI   
		 3	 PCI   
		 4	 PCI   
		 5	 PCI   
		 6	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x20	 usable		 0xfec00000
		 3	 0x20	 usable		 0xfec80000
		 4	 0x20	 usable		 0xfec80100
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     6	   0	      2	   0
		INT	active-hi        edge	     6	   1	      2	   1
		INT	active-hi        edge	     6	   0	      2	   2
		INT	active-hi        edge	     6	   3	      2	   3
		INT	active-hi        edge	     6	   4	      2	   4
		INT	active-lo       level	     0	29:C	      2	  18
		INT	active-hi        edge	     6	   6	      2	   6
		INT	active-hi        edge	     6	   7	      2	   7
		INT	active-hi        edge	     6	   8	      2	   8
		INT	active-hi        edge	     6	   9	      2	   9
		INT	active-lo       level	     0	29:B	      2	  19
		INT	active-lo       level	     0	29:A	      2	  16
		INT	active-hi        edge	     6	  12	      2	  12
		INT	active-hi        edge	     6	  13	      2	  13
		INT	active-hi        edge	     6	  14	      2	  14
		INT	active-hi        edge	     6	  15	      2	  15
		INT	active-lo       level	     0	29:D	      2	  23
		INT	active-lo       level	     4	 4:A	      4	   4
		INT	active-lo       level	     5	 0:A	      2	  21
		INT	active-lo       level	     5	 1:A	      2	  22
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     6	   0	    255	   0
		NMI	active-hi        edge	     6	   0	    255	   1

-------------------------------------------------------------------------------

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x10000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0x80000000
 address range: 0x70800000
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xf0800000
 address range: 0xb800000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xfc000000
 address range: 0x2e00000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xfee01000
 address range: 0x11ff000
--
System Address Space
 bus ID: 5 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
System Address Space
 bus ID: 4 address type: memory address
 address base: 0xc8000
 address range: 0x18000
--
Bus Heirarchy
 bus ID: 6 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000000
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000001

===============================================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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