Date: Fri, 21 May 2004 13:22:34 -0700 (PDT) From: Nik Azim Azam <nskyline_r35@yahoo.com> To: John Baldwin <jhb@FreeBSD.org>, freebsd-current@FreeBSD.org Subject: Re: apic lockups Message-ID: <20040521202234.45125.qmail@web21103.mail.yahoo.com> In-Reply-To: <200405211026.56972.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
the kernel boots happily with the patch.. thanks, nik. --- John Baldwin <jhb@FreeBSD.org> 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 <jhb@FreeBSD.org> <>< > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040521202234.45125.qmail>