From owner-freebsd-stable@FreeBSD.ORG Tue Feb 8 19:11:56 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 009BA16A4CE for ; Tue, 8 Feb 2005 19:11:56 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0DE343D45 for ; Tue, 8 Feb 2005 19:11:55 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C471872DF4; Tue, 8 Feb 2005 11:11:55 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C289372DD4; Tue, 8 Feb 2005 11:11:55 -0800 (PST) Date: Tue, 8 Feb 2005 11:11:55 -0800 (PST) From: Doug White To: dima <_pppp@mail.ru> In-Reply-To: Message-ID: <20050208110819.G2666@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re[2]: interrupt routing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 19:11:56 -0000 On Tue, 8 Feb 2005, dima wrote: > > > I am preparing a new server for production use. > > > It contains 2 1000BaseTX NICs and 2 SCSI controllers. > > > The interrupt assignment performed by ACPI looks kinda strange: > > > irq24: bge0 ahd0 > > > irq25: bge1 ahd1 > > > How can I affect it? I mean I want all the devices use different IRQ lines. > > > > What hardware, curiously? Are all of these parts onboard? Can you post > > the ouptut of 'devconf'? This will show the bus associations for these > > devices. > Its Tyan S2882 and all the devices are onboard ones. > I dont know about devconf ($ locate devconf produces empty output as well) Oops, soory, that should be 'devinfo'. But pciconf might tell me what I want to know. > but pciconf results are as follows: > ahd0@pci2:6:0: class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00 > vendor = 'Adaptec Inc' > device = 'AIC-7902B Ultra320 SCSI Controller' > class = mass storage > subclass = SCSI > ahd1@pci2:6:1: class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00 > vendor = 'Adaptec Inc' > device = 'AIC-7902B Ultra320 SCSI Controller' > class = mass storage > subclass = SCSI > bge0@pci2:9:0: class=0x020000 card=0x164414e4 chip=0x164814e4 rev=0x03 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'BCM5704 NetXtreme Dual Gigabit Adapter' > class = network > subclass = ethernet > bge1@pci2:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 rev=0x03 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'BCM5704 NetXtreme Dual Gigabit Adapter' > class = network > subclass = ethernet Ah, so they are all on the same bus. Yuck, performance is going to be sucky. Bad Tyan, no cookie. That'll also explain the limited number of interrupts available. I don't think there's anything we can do to help the situation, sadly. > The server runs i386 version of FreeBSD (5.3-RELEASE-p5) since > I experienced some problems building ports on amd64 version. You probably need to use the hw.physmem="2G" loader tunable to get 5.3-R installed. Once installed you can upgrade to 5-STABLE which fixes the problem. > > In many cases there are not other IRQs available to route, due to poor > > BIOS programming, ccorners cut in the physical board layout, etc. > I think this is the case :/ > The BIOS assigned all those devices IRQ10 and there is no way to change > the settings... -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org