From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 03:15: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 0311D1065670 for ; Sat, 10 Jan 2009 03:15:20 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.114.130]) by mx1.freebsd.org (Postfix) with ESMTP id E127D8FC14 for ; Sat, 10 Jan 2009 03:15:18 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id BB3841C0132; Sat, 10 Jan 2009 11:15:27 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01146-12; Sat, 10 Jan 2009 11:15:25 +0800 (CST) Received: from [192.168.1.101] (unknown [221.216.156.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 71E831C00EE; Sat, 10 Jan 2009 11:15:25 +0800 (CST) Message-ID: <496812BE.30405@realss.com> Date: Sat, 10 Jan 2009 11:15:10 +0800 From: Zhang Weiwu Organization: Real Softservice User-Agent: Thunderbird 2.0.0.14 (X11/20080621) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <4966D81B.8050107@realss.com> <44bpug2u4t.fsf@be-well.ilk.org> In-Reply-To: <44bpug2u4t.fsf@be-well.ilk.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: freebsd-questions-local@be-well.ilk.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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2009 03:15:20 -0000 Lowell Gilbert wrote: > Zhang Weiwu writes: > >> >> 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." > > Thanks. I shouldn't have overlooked this. >> 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? > You mean ACPI? When the PC boots, I got a menu looks alike this one: http://www.freebsd.org/doc/en/books/handbook/install/boot-loader-menu.png except my 2nd choice was "with ACPI enabled" instead of ACPI disabled. I chose 2, result was the same (irq at 11) I also tried to move other devices occupying irq 11 away (cbb0 and ed1) by setting so in device.hints and both didn't work. [zhangweiwu@quasimodo ~]$ vmstat -i interrupt total rate irq0: clk 92204 980 irq1: atkbd0 188 2 irq6: fdc0 11 0 irq8: rtc 11802 125 irq11: cbb0 ed1+ 38 0 irq14: ata0 1699 18 Total 105942 1127 [zhangweiwu@quasimodo ~]$ dmesg | grep 'irq 11' uhci0: port 0x9000-0x901f irq 11 at device 6.2 on pci0 ed1: at port 0x100-0x11f iomem 0x88000000-0x88003fff irq 11 function 0 config 1 on pccard0