From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 17:01:11 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 5325916A4CE; Thu, 23 Sep 2004 17:01:11 +0000 (GMT) Received: from cedar.ie.tusur.ru (fet-gw.ttk.tusur.ru [212.192.163.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0420843D2D; Thu, 23 Sep 2004 17:01:10 +0000 (GMT) (envelope-from pg@rainbow.ie.tusur.ru) Received: from rainbow.ie.tusur.ru (rainbow.ie.tusur.ru [212.192.122.75]) by cedar.ie.tusur.ru (8.12.11/8.12.11) with ESMTP id i8NH17oQ014789; Fri, 24 Sep 2004 00:01:07 +0700 (TSD) (envelope-from pg@rainbow.ie.tusur.ru) Received: from rainbow.ie.tusur.ru (localhost.ie.tusur.ru [127.0.0.1]) by rainbow.ie.tusur.ru (8.12.9p2/8.12.9) with ESMTP id i8NGxe4D045281; Thu, 23 Sep 2004 23:59:40 +0700 (TSD) (envelope-from pg@rainbow.ie.tusur.ru) Received: (from pg@localhost) by rainbow.ie.tusur.ru (8.12.9p2/8.12.9/Submit) id i8NGxeZq045280; Thu, 23 Sep 2004 23:59:40 +0700 (TSD) (envelope-from pg) Date: Thu, 23 Sep 2004 23:59:40 +0700 From: Pavel Gubin To: John Baldwin Message-ID: <20040923165940.GB38511@ie.tusur.ru> References: <20040922095257.GA81709@ie.tusur.ru> <20040923042447.GA88335@ie.tusur.ru> <200409231029.47945.jhb@FreeBSD.org> <200409231132.45061.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409231132.45061.jhb@FreeBSD.org> User-Agent: Mutt/1.4i Organization: TUCSR, Industrial Electronics dept X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on cedar.ie.tusur.ru X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on rainbow.ie.tusur.ru X-Virus-Status: Clean X-Virus-Status: Clean cc: freebsd-current@freebsd.org Subject: Re: "Multiple entries for PCI IRQ 16" and "xlock already held" panics on 5.3-BETA(3,4,5) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pavel Gubin List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 17:01:11 -0000 On Thu, Sep 23, 2004 at 11:32:45AM -0400, John Baldwin wrote: > > > I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# > > > INT active-lo level 0 2:A 2 16 > > > INT active-lo level 0 2:A 2 23 > > > > This is the real bug and I guess I can improve the message. Then problem > > is not two lines for IRQ 16, but that the PCI interrrupt for bus 0, device > > 2, pin #A has two different IRQs listed, so we don't know which one we are > > supposed to use. This is definitely a BIOS bug and your motherboard > > manufacturer needs to harassed into giving you a BIOS update. > > Also, I have a patch to make the error message more useful if you want to try > it: Ok, thanks, I'll try it tomorrow, but even without trying I can see it's much more informative :) > --- //depot/vendor/freebsd/src/sys/i386/i386/mptable.c 2004/07/01 07:50:36 > +++ //depot/user/jhb/acpipci/i386/i386/mptable.c 2004/09/23 14:34:52 > @@ -935,7 +935,9 @@ > if (args->vector == vector) > return; > KASSERT(args->vector == -1, > - ("Multiple entries for PCI IRQ %d", args->vector)); > + ("Multiple IRQs for PCI interrupt %d.%d.INT%c: %d and %d\n", > + args->bus, args->irq >> 2, 'A' + (args->irq & 0x3), args->vector, > + vector)); > args->vector = vector; > } -- Pavel Gubin TUSC&R / Industrial Electronics dept / System Administrator 2:5005/14@fidonet / Phone +7-3822-423067 / ICQ 28835566