From owner-freebsd-current Fri Dec 3 9:38:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id D1B541504A for ; Fri, 3 Dec 1999 09:38:42 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id F0B3E1CC8; Sat, 4 Dec 1999 01:37:52 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Mike Heffner Cc: Doug Rabson , FreeBSD-current Subject: Re: incorrect irqs with pci devices In-Reply-To: Message from Mike Heffner of "Fri, 03 Dec 1999 09:55:43 EST." Date: Sat, 04 Dec 1999 01:37:52 +0800 From: Peter Wemm Message-Id: <19991203173752.F0B3E1CC8@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Heffner wrote: > > On 03-Dec-99 Doug Rabson said: > | On Fri, 3 Dec 1999, Mike Heffner wrote: > | > |> Hi, > |> > |> I have recently noticed that the irqs for my PCI devices are being screw ed > |> up > |> somehow. It is easily noticeable with dmesg, the correct one's are in > |> paren.: > | > | Is this an SMP box by any chance? Does the kernel work with the irqs whic h > | it chose? > | > > Yes, it is a SMP box, and yes, the devices work fine. I just thought it was o dd > that the kernel would report incorrect ones. It isn't "incorrect".. SMP motherboards have a seperate interrupt controller (APIC - Advanced programmable interupt controller) that is used for message passing as well as distributing interrupts per cpu. It also generally has 24 interrupt pins, and there can be more than one APIC in a system. When a system boots, it's in "legacy" mode until the switch is thrown and it's running in SMP mode. At that time, the alternative IRQ assignments are activated. fxp0: irq 18 at device 6.0 on pci0 ahc0: irq 17 at device 9.0 on pci0 etc. Run the mptable(1) program to see your motherboard config. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message