From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 04:29:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE31D106564A for ; Wed, 4 Feb 2009 04:29:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 75C158FC12 for ; Wed, 4 Feb 2009 04:29:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan-a.emsphone.com [199.67.51.107]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n144Tue8042336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 3 Feb 2009 22:29:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n144Tu35078248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 3 Feb 2009 22:29:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n144TsP9078243; Tue, 3 Feb 2009 22:29:54 -0600 (CST) (envelope-from dan) Date: Tue, 3 Feb 2009 22:29:54 -0600 From: Dan Nelson To: patrick Message-ID: <20090204042954.GP75802@dan.emsphone.com> References: <20090127223453.GC63837@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-STABLE User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 03 Feb 2009 22:29:56 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Control IRQ assignment? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 04:29:58 -0000 In the last episode (Feb 03), patrick said: > On Tue, Jan 27, 2009 at 2:34 PM, Dan Nelson wrote: > > In the last episode (Jan 27), patrick said: > >> I'm running FreeBSD 7.1 on a new Dell Inspiron 530s. I'm having an > >> issue where the same IRQ is being assigned for multiple devices, and I > >> have a device that absolutely needs its own IRQ. The BIOS is very > >> limiting, and won't allow me to disable shared IRQ assignment. Some > >> suggestions I've read about booting FreeBSD with ACPI hasn't been an > >> option, because without it enabled, FreeBSD does not see the SATA > >> controllers/disks, and thus won't boot. Linux has a utility called > >> irqbalance (http://www.irqbalance.org/) that seems like it could be > >> promising, but of course it is Linux-specific. Is there any way in > >> FreeBSD that I can help the system decide which IRQs to assign to what? > > > > irqbalance doesn't do what you think it does; it simply pins interrupt > > handlers on particular CPUs. The only way to ensure that a given device > > has an IRQ line to itself is to look at your motherboard documentation, > > determine which IRQs are wired to which PCI slots, and rearrange your > > cards to assign your troublesome device an IRQ of its own. Some > > motherboards let you assign onboard devices (NICs, parallel port, etc) > > to different interrupts, too. > Hmmm... This Dell motherboard is extremely limited in what can be > controlled. There are seven USB controllers, and no way I can see to > disable some of them. I wonder if there's some way I can take some > blocks out of ACPI code captured from acpidump in order to have it not > load/be aware of some of those USB controllers that are unneeded and > using an IRQ I need for a voice card I want to use with Asterisk? You should be able to add some hints to your /boot/loader.conf to tell the kernel not to use those USB controllers. Something like hint.uhci.0.disabled=1 hint.ehci.0.disabled=1 repeated for whatever other devices get probed on that IRQ. -- Dan Nelson dnelson@allantgroup.com