From owner-freebsd-current Fri Dec 3 17: 2:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from friley-160-236.res.iastate.edu (friley-160-236.res.iastate.edu [129.186.160.236]) by hub.freebsd.org (Postfix) with ESMTP id EB40414C13 for ; Fri, 3 Dec 1999 17:02:15 -0800 (PST) (envelope-from cc@137.org) Received: from ameslab.gov (friley-160-235.res.iastate.edu [129.186.160.235]) by friley-160-236.res.iastate.edu (Postfix) with ESMTP id 54453117; Fri, 3 Dec 1999 19:02:14 -0600 (CST) Message-ID: <38486816.E224F87C@ameslab.gov> Date: Fri, 03 Dec 1999 19:02:14 -0600 From: Chris Csanady X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5 i386) X-Accept-Language: en, ru, ja, ko MIME-Version: 1.0 To: Garrett Wollman Cc: FreeBSD-current Subject: Re: incorrect irqs with pci devices References: <199912031656.LAA08053@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garrett Wollman wrote: > > < said: > > > Yes, it is a SMP box, and yes, the devices work fine. I just thought it was odd > > that the kernel would report incorrect ones. > > They are not incorrect. SMP uses a different interrupt system. They are on my box, where incorrect is defined as the interrupts not reaching their supposed destination. I would really like to fix this, but I don't know enough about exactly what is wrong. Any ideas would really be appreciated, as I would like to remove my disgusting hack. :) I have an AMI raid controller that the system reports that it is on irq 11. The problem is that the interrupts actually go to irq 17. If I hard wire them with *** pci.c.old Mon Nov 29 19:34:46 1999 --- pci.c Thu Dec 2 17:48:42 1999 *************** *** 347,352 **** --- 347,356 ---- } } } + if (cfg->intline == 11) { + printf("apic_io: incorrect int 11 -> 17\n"); + cfg->intline = 17; + } #endif /* APIC_IO */ cfg->mingnt = pci_cfgread(cfg, PCIR_MINGNT, 1); ...everything works fine. I believe the problem has something to do with the fact that it is a bridged card, but I'm not sure how things should work. Any thoughts? Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message