Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 00:38:38 +0200
From:      Anders Nordby <anders@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        stable@FreeBSD.org, Peter Wemm <peter@FreeBSD.org>
Subject:   APIC problems on FreeBSD/amd64 && panic: Can't find ExtINT pin to route through!
Message-ID:  <20050705223838.GA39419@totem.fix.no>

next in thread | raw e-mail | index | archive | help
Hi John,

>From my console:

FreeBSD 5.4-RELEASE-p2 #2: Wed Jul  6 00:01:31 CEST 2005
    root@master.nuug.no:/usr/obj/usr/src/sys/MASTER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2193.76-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf5a  Stepping = 10
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 2146893824 (2047 MB)
avail memory = 2061148160 (1965 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 0.0> irqs 0-0 on motherboard
ioapic1 <Version 1.1> irqs 1-4 on motherboard
panic: Can't find ExtINT pin to route through!
cpuid = 0
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort

I was discussing this with peter on chat:

 <peter> anders: what OS release?
> peter: FreeBSD/amd64, RELENG_5_4.
 <peter> anders: this is sounding like irq0 / 5.x problems
<peter> ahh
 <peter> anders: bug jhb to mfc the fixes for this.  Its a
known problem and already fixed.
<peter> panic: Can't find ExtINT pin to route through!
<peter> in other words, the routing of irq0 is fubar.
<peter> a mfc of the apic timer code would 99.99% likely solve it
just like that.
> peter: Mind you I am using RELENG_5_4, not RELENG_5.
 <peter> anders: FreeBSD is the only known OS on the planet that
uses irq0 for a clock source in SMP mode.  Hence we are the people who find all
the problems in the untested bios code and hardware.  Hence we switched
from the irq0 timer to local apic timer to do it like everybody else

It happens with FreeBSD/amd64 running RELENG_5_4 using options SMP. I
can boot if I set hint.acpi.0.disabled=1, but then the OS does not do
SMP and apic things etc.

Do you have a patch to fix this? Will you MFC it?

PS: I am using a Sun Fire V20z system with the latest firmware/BIOS:

master $ inventory get software
Name           Revision  Install Date             Description
BIOS-V20z      V1.32.7.2 Sat Jun 25 06:15:08 2005 Platform BIOS for V20z
servers
Operator Panel X1.0.1.0  Wed Mar 30 16:59:59 2005 Operator Panel
Firmware
PPCBoot        V2.1.0.16 Sat Jun 25 06:07:30 2005 PPCBoot Software
SP Value-Add   V2.2.0.18 Sat Jun 25 06:08:02 2005 SP Value-Add Software
SP Base        V2.2.0.18 Sat Jun 25 06:08:02 2005 SP Base Software

Cheers,

-- 
Anders.



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