Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 11:11:55 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        dima <_pppp@mail.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re[2]: interrupt routing
Message-ID:  <20050208110819.G2666@carver.gumbysoft.com>
In-Reply-To: <E1CyVHq-0006yL-00._pppp-mail-ru@f12.mail.ru>
References:  <E1CyVHq-0006yL-00._pppp-mail-ru@f12.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208110819.G2666>