Anders Nordby
2005-Jul-05 22:38 UTC
APIC problems on FreeBSD/amd64 && panic: Can't find ExtINT pin to route through!
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.
John Baldwin
2005-Jul-06 15:23 UTC
APIC problems on FreeBSD/amd64 && panic: Can't find ExtINT pin to route through!
On Tuesday 05 July 2005 06:38 pm, Anders Nordby wrote:> 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 abortYou're first APIC claims to have 0 IRQs assigned, and the second claims to have only 4! Can you provide boot -v output as well as the output of acpidump -t and mptable? This is not a problem with irq0, your box seems much more hosed. There's no way you can expect a box to run with only four IRQs. :) -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org