Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 1999 23:52:14 +0200 (CEST)
From:      Michael Giegerich <migieger@luva.lb.bawue.de>
To:        freebsd-smp@freebsd.org
Subject:   FBSD-3.1-R w/ ASUS P/E-P55T2P4D: kernel panics - need help
Message-ID:  <199904022152.XAA02336@luva.lb.bawue.de>

next in thread | raw e-mail | index | archive | help
I've sent this already to cubfm some weeks ago without
getting any response...
So, sorry if someone is reading this twice.

If MPS 1.4 is enabled in BIOS the kernel panics during
boot with:

===============================================================================
programming 16 pins in IOAPIC #0
EISA INTCONTROL = 00001e00
EISA IRQ 36 ?!?!
panic: bad APIC IO INT flags
mp_lock = 00000001; cpuid = 0; lapic.id = 00000000
===============================================================================

If MPS 1.1 is enabled I get:

===============================================================================
panic: APIC_IO: Cannot route 8254 interrupt to CPU
mp_lock = 00000001; cpuid = 0; lapic.id = 00000000
===============================================================================

The config file reads:

===============================================================================
options	SMP
options	APIC_IO
#options	NCPU=2
#options	NBUS=2
#options	NAPIC=1
#options	NINTR=24
===============================================================================

Enabling:

options	SMP_TIMER_NC

or commenting out NCPU etc options didn't help.

This is mptable output for MPS 1.1:

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f6076
  signature:			'PCMP'
  base table length:		228
  version:			1.4
  checksum:			0x12
  OEM ID:			'OEM00000'
  Product ID:			'PROD00000000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			20
  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	 0x10	 BSP, usable	 5	 4	 3	 0x8003bf
		 1	 0x10	 AP, usable	 5	 4	 3	 0x8003bf
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 EISA  
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	 conforms    conforms	     1	   1	      2	   1
		INT	 conforms    conforms	     1	   3	      2	   3
		INT	 conforms    conforms	     1	   4	      2	   4
		INT	 conforms    conforms	     1	   5	      2	   5
		INT	 conforms    conforms	     1	   6	      2	   6
		INT	 conforms    conforms	     1	   7	      2	   7
		INT	 conforms    conforms	     1	   8	      2	   8
		INT	 conforms    conforms	     1	  11	      2	  11
		INT	 conforms    conforms	     1	  14	      2	  14
		INT	 conforms    conforms	     1	  15	      2	  15
		INT	 conforms    conforms	     1	  40	      2	  12
		INT	 conforms    conforms	     1	  44	      2	  10
		INT	 conforms    conforms	     1	  36	      2	   9
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     1	   0	    255	   0
		NMI	active-hi        edge	     1	   0	    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

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

And here the same for MPS 1.4:

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f6076
  signature:			'PCMP'
  base table length:		228
  version:			1.4
  checksum:			0x12
  OEM ID:			'OEM00000'
  Product ID:			'PROD00000000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			20
  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	 0x10	 BSP, usable	 5	 4	 3	 0x8003bf
		 1	 0x10	 AP, usable	 5	 4	 3	 0x8003bf
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 EISA  
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	 conforms    conforms	     1	   1	      2	   1
		INT	 conforms    conforms	     1	   3	      2	   3
		INT	 conforms    conforms	     1	   4	      2	   4
		INT	 conforms    conforms	     1	   5	      2	   5
		INT	 conforms    conforms	     1	   6	      2	   6
		INT	 conforms    conforms	     1	   7	      2	   7
		INT	 conforms    conforms	     1	   8	      2	   8
		INT	 conforms    conforms	     1	  11	      2	  11
		INT	 conforms    conforms	     1	  14	      2	  14
		INT	 conforms    conforms	     1	  15	      2	  15
		INT	 conforms    conforms	     1	  40	      2	  12
		INT	 conforms    conforms	     1	  44	      2	  10
		INT	 conforms    conforms	     1	  36	      2	   9
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     1	   0	    255	   0
		NMI	active-hi        edge	     1	   0	    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

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

And to complete information dmesg's output:

Preloaded elf kernel "kernel.GENERIC" at 0xf0340000.
eisa0: <ASU5201 (System Board)>
Probing for devices on the EISA bus
ahb0: <Adaptec 174x SCSI host adapter> at 0x4c00-0x4cff irq 11 on eisa0 slot 4
ahb0: AHA1740A Single Ended SCSI Adapter, FW Rev. I   , ID=7, 64 ECBs
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82375EB PCI-EISA bridge> rev 0x05 on pci0.7.0
vga0: <S3 ViRGE VX graphics accelerator> rev 0x02 int a irq 9 on pci0.9.0
ahc0: <Adaptec 2940A Ultra SCSI adapter> rev 0x03 int a irq 12 on pci0.10.0
ahc0: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs
de0: <Digital 21041 Ethernet> rev 0x21 int a irq 10 on pci0.11.0
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:40:05:a4:dc:12
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x01 int a irq 14 on pci0.13.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC1425F>
wd0: 407MB (833616 sectors), 827 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
ppc0 at 0x378 irq 7 on isa
ppc0: SMC FDC37C665GT chipset (PS2/NIBBLE) in COMPATIBLE mode
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium detected, installing workaround for F00F bug
Waiting 15 seconds for SCSI devices to settle
ahb0: SCSI Bus Reset Delivered
de0: enabling BNC port
changing root device to wd0s3a
cd0 at ahb0 bus 0 target 2 lun 0
cd0: <TOSHIBA CD-ROM XM-3301TA 0272> Removable CD-ROM SCSI-2 device 
cd0: cd present [322265 x 2048 byte records]
da0 at ahb0 bus 0 target 1 lun 0
da0: <IBM DORS-32160 S82C> Fixed Direct Access SCSI-2 device 
da0: Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 64H 32S/T 2063C)
wd0s2: rejecting BSD label: raw partition offset != slice offset
wd0s2: start 65520, end 734831, size 669312
wd0s2c: start 0, end 832607, size 832608
wd0s2: rejecting BSD label: raw partition offset != slice offset
wd0s2: start 65520, end 734831, size 669312
wd0s2c: start 0, end 832607, size 832608
wd0s2: rejecting BSD label: raw partition offset != slice offset
wd0s2: start 65520, end 734831, size 669312
wd0s2c: start 0, end 832607, size 832608

Anybody able to help?

Bye,
-- 
Michael Giegerich, mail: migieger@luva.lb.bawue.de, phone: +49 7144 881806


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




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