From owner-freebsd-current@FreeBSD.ORG Fri May 21 13:22: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 E01C616A4CE for ; Fri, 21 May 2004 13:22:34 -0700 (PDT) Received: from web21103.mail.yahoo.com (web21103.mail.yahoo.com [216.136.227.105]) by mx1.FreeBSD.org (Postfix) with SMTP id D1C3E43D45 for ; Fri, 21 May 2004 13:22:34 -0700 (PDT) (envelope-from nskyline_r35@yahoo.com) Message-ID: <20040521202234.45125.qmail@web21103.mail.yahoo.com> Received: from [82.43.53.54] by web21103.mail.yahoo.com via HTTP; Fri, 21 May 2004 13:22:34 PDT Date: Fri, 21 May 2004 13:22:34 -0700 (PDT) From: Nik Azim Azam To: John Baldwin , freebsd-current@FreeBSD.org In-Reply-To: <200405211026.56972.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 20:22:35 -0000 the kernel boots happily with the patch.. thanks, nik. --- John Baldwin wrote: > 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 __________________________________ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer