Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2000 13:00:55 +0100 (BST)
From:      Steve Roome <steve@sse0691.bri.hp.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20312: IO APIC problems
Message-ID:  <200007311200.NAA09865@sse0691.bri.hp.com>

next in thread | raw e-mail | index | archive | help

>Number:         20312
>Category:       kern
>Synopsis:       IO APIC problems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 31 05:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Steve Roome
>Release:        FreeBSD 4.1-RC i386
>Organization:
>Environment:

MPTABLE output :

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

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009f800
 searching CMOS 'top of mem' @ 0x0009f400 (637K)
 searching default 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000f99a0

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f99a0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.1
  checksum:			0x4b
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f99b0
  signature:			'PCMP'
  base table length:		236
  version:			1.1
  checksum:			0xe0
  OEM ID:			'HP      '
  Product ID:			'XX          '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			21
  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
		 1	 0x11	 BSP, usable	 6	 1	 0	 0xfbff
		 0	 0x11	 AP, usable	 6	 1	 0	 0xfbff
--
Bus:		Bus ID	Type
		 1	 ISA   
		 0	 PCI   
--
I/O APICs:	APIC ID	Version	State		Address
		16	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	 conforms    conforms	     1	   1	    255	   1
		INT	 conforms    conforms	     1	   0	    255	   2
		INT	 conforms    conforms	     1	   3	    255	   3
		INT	 conforms    conforms	     1	   4	    255	   4
		INT	 conforms    conforms	     1	   5	    255	   5
		INT	 conforms    conforms	     1	   6	    255	   6
		INT	 conforms    conforms	     1	   7	    255	   7
		INT	 conforms    conforms	     1	   8	    255	   8
		INT	 conforms    conforms	     1	   9	    255	   9
		INT	 conforms    conforms	     1	  10	    255	  10
		INT	 conforms    conforms	     1	  11	    255	  11
		INT	 conforms    conforms	     1	  12	    255	  12
		INT	 conforms    conforms	     1	  13	    255	  13
		INT	 conforms    conforms	     1	  14	    255	  14
		INT	 conforms    conforms	     1	  15	    255	  15
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		NMI	 conforms    conforms	     1	   2	    255	   1

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

# SMP kernel config file options:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options		NCPU=2			# number of CPUs
#options		NBUS=2			# number of busses
#options		NAPIC=1			# number of IO APICs
#options		NINTR=24		# number of INTs

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

-----

Kernel Config :

machine		i386
cpu		I686_CPU		# aka Pentium Pro(tm)
ident		MOOSE
maxusers	64

## SMP Stuff
options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O

## General options
options 	NO_F00F_HACK
options 	COMPAT_43
options 	SYSVSHM
options 	SYSVSEM
options 	SYSVMSG
options 	KTRACE			#kernel tracing
options 	PERFMON
options 	UCONSOLE
options 	INET			#Internet communications protocols
options 	ICMP_BANDLIM
options 	FFS			#Fast filesystem
options 	MFS			#Memory File System
options 	NFS			#Network File System
options 	CD9660			#ISO 9660 filesystem
options 	KERNFS			#Kernel filesystem
options 	PROCFS			#Process filesystem
options 	FFS_ROOT		#FFS usable as root device
options 	SOFTUPDATES
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=199309L
options 	VESA

pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	bpf			#Berkeley packet filter

device		scbus			#base SCSI code
device		ch			#SCSI media changers
device		da			#SCSI direct access devices (aka disks)
device		sa			#SCSI tapes
device		cd			#SCSI CD-ROMs
device		pass			#CAM passthrough driver

pseudo-device	pty		#Pseudo ttys
pseudo-device	gzip		#Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)
pseudo-device	md		#Memory/malloc disk

device		isa
device		pci

device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# Splash screen at start up!  Screen savers require this too.
pseudo-device	splash

device		sc0	at isa?
options 	MAXCONS=16		# number of virtual consoles
options 	SC_DISABLE_REBOOT	# disable reboot key sequence
options 	SC_HISTORY_SIZE=200	# number of history buffer lines

device		npx0	at nexus? port IO_NPX flags 0x0 irq 13

device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives

device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device lnc

device		pcm
device		sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15

device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_ALLOW_MEMIO

device		miibus

device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3



>Description:

Panic's like this :

Features = 0xfbff <.....CPU features of a PPro.....>
real memory = 201326592 (196608K bytes)
avail memory = 192376832 (187868K bytes)
panic: can't control IO APIC #0 ID, reg : 0x00000000
mp_lock = 0000000a; cpuid = 0; lapic.id = 01000000
Uptime : 0s

>How-To-Repeat:

	Boot a kernel built with the config file supplied on FreeBSD 4.1-RC.
	Maybe be hardware related, so to repeat you'd need this hardware which
	is a Dual Pentium Pro at 200MHz in a HP Vectra XU 6/200 (old machine
	which has worked fine with SMP since 3-0 current or thereabouts.)

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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




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