From owner-freebsd-current@FreeBSD.ORG Fri May 21 07:26:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7594516A4CE for ; Fri, 21 May 2004 07:26:34 -0700 (PDT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 549C343D3F for ; Fri, 21 May 2004 07:26:34 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 32300 invoked from network); 21 May 2004 14:26:27 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 21 May 2004 14:26:27 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i4LEQM8R076908; Fri, 21 May 2004 10:26:22 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Fri, 21 May 2004 10:26:56 -0400 User-Agent: KMail/1.6 References: <20040520205822.8414.qmail@web21103.mail.yahoo.com> In-Reply-To: <20040520205822.8414.qmail@web21103.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405211026.56972.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Nik Azim Azam Subject: Re: apic lockups X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 14:26:34 -0000 On Thursday 20 May 2004 04:58 pm, Nik Azim Azam wrote: > hello, > > here's the output of 'show intrcnt'. > > Stopped at siointr1+0xdb: jmp siointr1+0x210 > db> show intrcnt > irq1: atkbd0 3 > irq4: sio0 2 > irq5: bge0 atapci1 201267 > irq8: rtc 2512 > irq10: xl0 201832 > irq11: ahc0 ahc1 3 > irq13: npx0 1 > irq14: ata0 1 > irq0: clk 19610 > db> Ok, it looks like you have an interrupt storm on IRQ's 5 and 10. Ah, and it seems possibly that a change I made recently to the mptable code is incorrect even though it's what the MP and ACPI specs say to do. Can you try this patch: Index: mptable.c =================================================================== RCS file: /usr/cvs/src/sys/i386/i386/mptable.c,v retrieving revision 1.232 diff -u -r1.232 mptable.c --- mptable.c 10 May 2004 18:49:58 -0000 1.232 +++ mptable.c 21 May 2004 14:24:31 -0000 @@ -549,17 +549,10 @@ KASSERT(src_bus <= mptable_maxbusid, ("bus id %d too large", src_bus)); switch (busses[src_bus].bus_type) { case ISA: + case EISA: return (INTR_POLARITY_HIGH); case PCI: return (INTR_POLARITY_LOW); -#ifndef PC98 - case EISA: - KASSERT(src_bus_irq < 16, ("Invalid EISA IRQ %d", src_bus_irq)); - if (elcr_read_trigger(src_bus_irq) == INTR_TRIGGER_LEVEL) - return (INTR_POLARITY_LOW); - else - return (INTR_POLARITY_HIGH); -#endif default: panic("%s: unknown bus type %d", __func__, busses[src_bus].bus_type); -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org