From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 18:48:20 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 DD2831065679 for ; Fri, 9 Jan 2009 18:48:20 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id B66A18FC18 for ; Fri, 9 Jan 2009 18:48:20 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9204 invoked from network); 9 Jan 2009 18:48:20 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2009 18:48:19 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C193B50844; Fri, 9 Jan 2009 13:48:18 -0500 (EST) To: Zhang Weiwu References: <4966D81B.8050107@realss.com> From: Lowell Gilbert Date: Fri, 09 Jan 2009 13:48:18 -0500 In-Reply-To: <4966D81B.8050107@realss.com> (Zhang Weiwu's message of "Fri\, 09 Jan 2009 12\:52\:43 +0800") Message-ID: <44bpug2u4t.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@FreeBSD.org Subject: Re: newbie: does irq setting in device.hints work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 18:48:21 -0000 Zhang Weiwu writes: > Hello. I come across device.hints manual which says I can set irq for > each device there. I am using 6.1. Kind of old now. I don't know specifically of any reason that would matter, but for several reasons I wouldn't be at all surprised. > The settings I made in devices.hints never worked. e.g. > > hint.uhci.0.at="pci" > hint.uhci.0.irq="12" > > I can set whatever value for irq and it always rebooted as irq 11. > > However 'disabled="1"' works. > > That's strange, I didn't find manual where it say it work in some > condition or for some device only. "Consult individual device drivers' manual pages for available keywords and their possible values." > Is there a way to assign uhci to use an irq differently? seems it is the > cause of an interrupt storm problem I am having. I'm not really sure if uhci is set up to do that. You definitely want uhci on its own interrupt if you can, not because it necessarily generates a lot of them, but because it can spend a lot of time handling each one... Have you checked what happens if you disable your APIC? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/