From owner-freebsd-stable@FreeBSD.ORG Tue Jul 5 22:38:43 2005 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21C0A16A41C; Tue, 5 Jul 2005 22:38:43 +0000 (GMT) (envelope-from anders@FreeBSD.org) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id C818F43D46; Tue, 5 Jul 2005 22:38:42 +0000 (GMT) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by totem.fix.no (Postfix) with ESMTP id 37DCC5F3824; Wed, 6 Jul 2005 00:38:40 +0200 (CEST) Received: from totem.fix.no ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 39212-03-9; Wed, 6 Jul 2005 00:38:38 +0200 (CEST) Received: by totem.fix.no (Postfix, from userid 1000) id B95D15F380D; Wed, 6 Jul 2005 00:38:38 +0200 (CEST) Date: Wed, 6 Jul 2005 00:38:38 +0200 From: Anders Nordby To: John Baldwin Message-ID: <20050705223838.GA39419@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.6i Cc: stable@FreeBSD.org, Peter Wemm Subject: APIC problems on FreeBSD/amd64 && panic: Can't find ExtINT pin to route through! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 22:38:43 -0000 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 AMD Features=0xe0500800 real memory = 2146893824 (2047 MB) avail memory = 2061148160 (1965 MB) ACPI APIC Table: 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 irqs 0-0 on motherboard ioapic1 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: anders: what OS release? > peter: FreeBSD/amd64, RELENG_5_4. anders: this is sounding like irq0 / 5.x problems ahh anders: bug jhb to mfc the fixes for this. Its a known problem and already fixed. panic: Can't find ExtINT pin to route through! in other words, the routing of irq0 is fubar. 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. 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.