RE: [expert] IRQ steering?

2001-01-02 Thread Svante Signell


[EMAIL PROTECTED] writes:
 > See Below...
...
 > [EMAIL PROTECTED] writes:
 >  > 
 >  > On newer motherboards two or more PCI slots may share an IRQ
 >  > allocation with integrated devices. Thus, in your case the PCI slot
 >  > you put the ethernet card into WILL ALWAYS share the same IRQ with
 >  > your motherboard's integrated audio.  NO MATTER WHAT YOU DO, this
 >  > will be the case. You can change the allocation to say 11, but now
 >  > your audio and eth0 will go to 11... ugh.
 > 
 > This would be OK if the video card does not require an IRQ, or can
 > more than two devices share the same IRQ? (W98 on the same machine
 > have no problems with three devices at IRQ5)
 > 
 > Sharing an IRQ depends upon several things.
 > 
 > 1) The BIOS and OS must be able to determine which device initiated
 > 1) an IRQ in the first place and service the request.
 > 2) No two devices being active at the same time, or masking the
 > 2) IRQ's. (Something which a lot of driver manufacturers are fond
 > 2) of doing...)
 > 3) Full support for this in the OS.
 > 4) Low IRQ handling latency.
 > 
 > Linux is relatively new to IRQ sharing. While it seems to be able
 > to handle some IRQ sharing there are problems.
 > 
 > Sound, Video & Ethernet cards sharing IRQ's with other devices seem
 > to be fairly problematic. So much so that often the drivers will
 > disable cards that are sharing IRQ's with other devices.
 > 
 > Hopefully 2.4 kernels will deal with this better.
 >
 > > I'm using X4.0.2 with DRI enabled. According to the log files and
 > > glxinfo the card is HW accelerated. However, even though Q3A and gears
 > > run OK, HG2, Heretic2, UT does _not_. Do the Banshee (tdfx) driver
 > > require an IRQ? 
 > 
 > Yes the Banshee does require an IRQ for VGA type output (not for
 > when it switches to 3D mode though...).  Lacking an IRQ might make
 > it impossible for the card to switch in and out of VGA/SVGA modes
 > from 3D mode and vice-versa.
Maybe this is the reason for the slowdown in some 3D
applications. Eg. changing resolutions or starting up a game takes
forever.
 > 
>> If not, everything should be OK, or something else is causing the complete 
>slowdown, maybe DMA?
 > 
 > Slowdown? You didn't state this initially. If you are referring to
 > a low frame rate, this may be due to other problems. Normally the
 > main cause for this is that the program is trying to do something
 > in 3D which the card cannot handle.
 > 
 > This causes the graphics engine to resort to utilizing software
 > rendering features that put a large drain on the CPU cycles.
 > 
 > Your best bet is to drop all 3D features to their lowest, then
 > crank them up one at a time until you get acceptable gameplay.
 > 
 > Remember the Banshee is barely able to do 800x600x16BPP. If you set
 > the resolution higher then graphics engine is working in software
 > mode...
I'e been using "nice" video settings for the card in different
games. Also changing video options does not improve the situation for
games running slow. It seem to be more a problem with change of video modes.
 >>
 >> What happens if I exchange the Ethernet card (IRQ 5) with the PCTV
 >> card (IRQ 3)?  Then according to your info IRQ 5 will be allocated to
 >> the sound device, the TV card and the Banshee (AGP) card and IRQ 3 to
 >> the Ethernet card. 
 > Correct. 
 >
 >> If all devices requires an IRQ, no solution is obtained this way!?
 >
 > Maybe not. The TV card is not being used when your Banshee is in 3D mode.
 > 
 > Ideally your Ethernet card, Banshee and sound card should all have
 > their own IRQ's for optimal performance. In turn the TV card is
 > NEVER used when the Banshee is in 3D mode or you are accessing your
 > LAN. So the TV card and Ethernet card sharing an IRQ would be good
 > candidates to try...
I'll try to exchange cards, to see if things improve. What one really
would like is an LinuxBios/OpenBios/FreeBios solution not being
dependent on the different manufacturers BIOS capabilities.

On the mother-board is also an integrated 10MB/s ethernet adapter. I
can disable it in the BIOS, is it also possible to reuse its IRQ
(IRQ11)?




RE: [expert] IRQ steering?

2000-12-31 Thread OPJOSE

See Below...



-Original Message-
From: Svante Signell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 30, 2000 9:45 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [expert] IRQ steering?


Thank you JMS for your very informative reply.

Further comments/questions below. Se also my reply to Bug Hunter
(funny name :).

Thanks,
Svante

[EMAIL PROTECTED] writes:
 > 
 > Initially the BIOS handles setting up the IRQ's for your cards as
 > the system comes up.
 > The OS can modify this allocation as needed, within certain limits.
 > The problem is that you are running up against one of the most
 > often mis-understood limits.
 > 
 > Here goes:
 > Yes, as people here will indicate, you can CHANGE the IRQ utilized
 > for a card, -BUT- in so doing you will not change the assignment of
 > that one card. You will change the assignment of MULTIPLE devices
 > or slots!
 > 
 > Huh?
 > PCI was initially designed to handle only three devices. As a
 > result as manufacturers started adding PCI slots, they took to
 > wiring two or more PCI slots together. Thus your AGP slot almost
 > always shares an IRQ with the first PCI slot.
 > 
 > Why?
 > Well in their infinite wisdom, they deemed that if you were using
 > an AGP video card, you would NOT also be using a video card in slot
 > one and vice versa.
 > 
 > Ugh, so you normally can use one or the other, but not both without
 > resorting to some trickery called IRQ Steering.
 > 
 > On newer motherboards two or more PCI slots may share an IRQ
 > allocation with integrated devices. Thus, in your case the PCI slot
 > you put the ethernet card into WILL ALWAYS share the same IRQ with
 > your motherboard's integrated audio.  NO MATTER WHAT YOU DO, this
 > will be the case. You can change the allocation to say 11, but now
 > your audio and eth0 will go to 11... ugh.

This would be OK if the video card does not require an IRQ, or can
more than two devices share the same IRQ? (W98 on the same machine
have no problems with three devices at IRQ5)

---

Sharing an IRQ depends upon several things.

1) The BIOS and OS must be able to determine which device initiated an IRQ in the 
first place and service the request.

2) No two devices being active at the same time, or masking the IRQ's. (Something 
which a lot of driver manufacturers are fond of doing...)

3) Full support for this in the OS.

4) Low IRQ handling latency.

Linux is relatively new to IRQ sharing. While it seems to be able to handle some IRQ 
sharing there are problems.

Sound, Video & Ethernet cards sharing IRQ's with other devices seem to be fairly 
problematic. So much so that often the drivers will disable cards that are sharing 
IRQ's with other devices.

Hopefully 2.4 kernels will deal with this better.

---

I'm using X4.0.2 with DRI enabled. According to the log files and
glxinfo the card is HW accelerated. However, even though Q3A and gears
run OK, HG2, Heretic2, UT does _not_. Do the Banshee (tdfx) driver
require an IRQ? 

---

Yes the Banshee does require an IRQ for VGA type output (not for when it switches to 
3D mode though...).

Lacking an IRQ might make it impossible for the card to switch in and out of VGA/SVGA 
modes from 3D mode and vice-versa.



If not everything should be OK, or something else is causing the complete slowdown, 
maybe DMA?

---

Slowdown? You didn't state this initially. If you are referring to a low frame rate, 
this may be due to other problems. Normally the main cause for this is that the 
program is trying to do something in 3D which the card cannot handle.

This causes the graphics engine to resort to utilizing software rendering features 
that put a large drain on the CPU cycles.

Your best bet is to drop all 3D features to their lowest, then crank them up one at a 
time until you get acceptable gameplay.

Remember the Banshee is barely able to do 800x600x16BPP. If you set the resolution 
higher then graphics engine is working in software mode...


 > 
 > Your only choice is to move the ethernet card to another slot to
 > avoid sharing IRQ's. ISA PNP cards don't suffer from this. In a
 > way they are more flexible with resource allocation. 

What happens if I exchange the Ethernet card (IRQ 5) with the PCTV
card (IRQ 3)?  Then according to your info IRQ 5 will be allocated to
the sound device, the TV card and the Banshee (AGP) card and IRQ 3 to
the Ethernet card. 

---

Correct. 

---


If all devices requires an IRQ, no solution is obtained this way!?

---

Maybe not. The TV card is not being used when your Banshee is in 3D mode.

Ideally your Ethernet card, Banshee and sound card should all have their own IRQ's for 
optimal performance. In turn the TV card is NEVER used when the Banshee is in 3D mode 
or you are accessing your LAN. So the TV card and Ethernet card sharing an IRQ wo

Re: [expert] IRQ steering?

2000-12-31 Thread Bug Hunter


  since you don't have any ISA slots, you don't have an IRQ sharing
problem, and you can't steer your IRQ's using the BIOS.

  Since Win98 works well, then it is a driver problem in Linux, or it is
an interfacing problem with the game software.  You would need to locate a
linux gaming list (sorry, I don't know of one), and they can probably help
you.

bug

On Sat, 30 Dec 2000, Svante Signell wrote:

> Thank you Bug! for your reply,
> 
> The three devices using IRQ 5 are:
> Sound card on main board:
> 00:06.0 Multimedia audio controller: ESS Technology ES1968 Maestro 2
>   Subsystem: Compaq Computer Corporation: Unknown device b0b8
>   Flags: bus master, medium devsel, latency 64, IRQ 5
>   I/O ports at 2000
> Ethernet controller card on PCI bus:
> 00:03.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
>   Subsystem: Lite-On Communications Inc LNE100TX
>   Flags: bus master, medium devsel, latency 66, IRQ 5
>   I/O ports at 2800
> Video card on AGP (=PCI?) bus:
> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
>(prog-if 00 [VGA])
>   Subsystem: Guillemot Corporation Maxi Gamer Phoenix
>   Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
>   Memory at 4000 (32-bit, non-prefetchable)
>   Memory at 4200 (32-bit, prefetchable)
>   I/O ports at 1000
>   Capabilities: [54] AGP version 1.0
> 
> I'm using X4.0.2 with DRI enabled. According to the log files and
> glxinfo the card is HW accelerated. However, even though Q3A and gears
> run OK, HG2, Heretic2, UT does _not_. Do the Banshee (tdfx) driver
> require an IRQ? If not everything should be OK, or can three devices
> share the same IRQ? W98 on the same computer have no problems with
> three devices at IRQ5.
> 
> Further comments below.
> 
> Thanks,
> Svante
> 
> Bug Hunter writes:
>  > 
>  >  If you have PCI cards, IRQ sharing will work.  
>  > 
>  >  Otherwise, you may have to force the card not to be PNP and then tell it
>  > what IRQ to be on.  You usually have to run the DOS setup disk to get this
>  > to happen.
> I've not found any option to control the PNP behavior in the BIOS. Do
> the IRQ steering apply to ISA cards? This computer does not have
> any ISA slots :(





RE: [expert] IRQ steering?

2000-12-31 Thread Charles A Edwards

Check your BIOS again.
In the PNP/PCI Configuration.
   Be sure the PnP OS is set to NO.
   You should also have an option listed as something alone the lines of
Resources Controlled By. It is set to auto. Change the setting to Manual and
you can then manually set the IRQ for your Pnp devices.
   Before you change anything record all your current values. Leave your vid
card as IRQ 5 and change the values for your NIC and sound. They can share
an IRQ. The vid is what is causing the conflict.

   Charles  (-:


Forever never goes beyond tomorrow.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bug Hunter
Sent: Friday, December 29, 2000 4:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] IRQ steering?



 If you have PCI cards, IRQ sharing will work.

 Otherwise, you may have to force the card not to be PNP and then tell it
what IRQ to be on.  You usually have to run the DOS setup disk to get this
to happen.

On Fri, 29 Dec 2000, Svante Signell wrote:

> No response so far, trying again.
>
> Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
> card) driver and sound (maestro, on motherboard) on my Compaq Presario
> 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
>
> Also the graphics card is allocated to IRQ5:
> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee
(rev 03) (prog-if 00 [VGA])
> Subsystem: Guillemot Corporation Maxi Gamer Phoenix
> Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
>
> How to steer away one of the units from IRQ 5 to avoid interrupt
> sharing/conflicts? In the documentation to both the tulip and maestro
driver I
> have not found any option to control the IRQ. What unit takes care of
> allocating IRQ's if the card driver does not require one, the kernel
> or the BIOS?
>
> The BIOS for this computer has very limited number of options, and as
> mentioned above the sound hardware is on the motherboard. Also only
> two PCI slots are available (one with the ethernet card, the other
> with a PCTV card, IRQ 3), so shuffling cards is not much to try.
>







Re: [expert] IRQ steering?

2000-12-31 Thread Svante Signell

Thank you Bug! for your reply,

The three devices using IRQ 5 are:
Sound card on main board:
00:06.0 Multimedia audio controller: ESS Technology ES1968 Maestro 2
Subsystem: Compaq Computer Corporation: Unknown device b0b8
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 2000
Ethernet controller card on PCI bus:
00:03.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
Subsystem: Lite-On Communications Inc LNE100TX
Flags: bus master, medium devsel, latency 66, IRQ 5
I/O ports at 2800
Video card on AGP (=PCI?) bus:
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
(prog-if 00 [VGA])
Subsystem: Guillemot Corporation Maxi Gamer Phoenix
Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
Memory at 4000 (32-bit, non-prefetchable)
Memory at 4200 (32-bit, prefetchable)
I/O ports at 1000
Capabilities: [54] AGP version 1.0

I'm using X4.0.2 with DRI enabled. According to the log files and
glxinfo the card is HW accelerated. However, even though Q3A and gears
run OK, HG2, Heretic2, UT does _not_. Do the Banshee (tdfx) driver
require an IRQ? If not everything should be OK, or can three devices
share the same IRQ? W98 on the same computer have no problems with
three devices at IRQ5.

Further comments below.

Thanks,
Svante

Bug Hunter writes:
 > 
 >  If you have PCI cards, IRQ sharing will work.  
 > 
 >  Otherwise, you may have to force the card not to be PNP and then tell it
 > what IRQ to be on.  You usually have to run the DOS setup disk to get this
 > to happen.
I've not found any option to control the PNP behavior in the BIOS. Do
the IRQ steering apply to ISA cards? This computer does not have
any ISA slots :(
 > 
 > On Fri, 29 Dec 2000, Svante Signell wrote:
 > 
 > > Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
 > > card) driver and sound (maestro, on motherboard) on my Compaq Presario
 > > 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
...
 > > How to steer away one of the units from IRQ 5 to avoid interrupt
 > > sharing/conflicts? In the documentation to both the tulip and maestro driver I
 > > have not found any option to control the IRQ. What unit takes care of
 > > allocating IRQ's if the card driver does not require one, the kernel
 > > or the BIOS?
 > > 
 > > The BIOS for this computer has very limited number of options, and as
 > > mentioned above the sound hardware is on the motherboard. Also only
 > > two PCI slots are available (one with the ethernet card, the other
 > > with a PCTV card, IRQ 3), so shuffling cards is not much to try.
 > > 
 > 




RE: [expert] IRQ steering?

2000-12-30 Thread Svante Signell

Thank you JMS for your very informative reply.

Further comments/questions below. Se also my reply to Bug Hunter
(funny name :).

Thanks,
Svante

[EMAIL PROTECTED] writes:
 > 
 > Initially the BIOS handles setting up the IRQ's for your cards as
 > the system comes up.
 > The OS can modify this allocation as needed, within certain limits.
 > The problem is that you are running up against one of the most
 > often mis-understood limits.
 > 
 > Here goes:
 > Yes, as people here will indicate, you can CHANGE the IRQ utilized
 > for a card, -BUT- in so doing you will not change the assignment of
 > that one card. You will change the assignment of MULTIPLE devices
 > or slots!
 > 
 > Huh?
 > PCI was initially designed to handle only three devices. As a
 > result as manufacturers started adding PCI slots, they took to
 > wiring two or more PCI slots together. Thus your AGP slot almost
 > always shares an IRQ with the first PCI slot.
 > 
 > Why?
 > Well in their infinite wisdom, they deemed that if you were using
 > an AGP video card, you would NOT also be using a video card in slot
 > one and vice versa.
 > 
 > Ugh, so you normally can use one or the other, but not both without
 > resorting to some trickery called IRQ Steering.
 > 
 > On newer motherboards two or more PCI slots may share an IRQ
 > allocation with integrated devices. Thus, in your case the PCI slot
 > you put the ethernet card into WILL ALWAYS share the same IRQ with
 > your motherboard's integrated audio.  NO MATTER WHAT YOU DO, this
 > will be the case. You can change the allocation to say 11, but now
 > your audio and eth0 will go to 11... ugh.
This would be OK if the video card does not require an IRQ, or can
more than two devices share the same IRQ? (W98 on the same machine
have no problems with three devices at IRQ5)

I'm using X4.0.2 with DRI enabled. According to the log files and
glxinfo the card is HW accelerated. However, even though Q3A and gears
run OK, HG2, Heretic2, UT does _not_. Do the Banshee (tdfx) driver
require an IRQ? If not everything should be OK, or something else is
causing the complete slowdown, maybe DMA?
 > 
 > Your only choice is to move the ethernet card to another slot to
 > avoid sharing IRQ's. ISA PNP cards don't suffer from this. In a
 > way they are more flexible with resource allocation. 
What happens if I exchange the Ethernet card (IRQ 5) with the PCTV
card (IRQ 3)?  Then according to your info IRQ 5 will be allocated to
the sound device, the TV card and the Banshee (AGP) card and IRQ 3 to
the Ethernet card. If all devices requires an IRQ, no solution is
obtained this way!?
 > 
 > If you are using an ISA PNP card you might be able to change the
 > IRQ it uses with software provided by the manufacturer... This
 > software modifies the "hint" that the card reports to the bios
 > during boot. The preferred IRQ is stored on the card itself, and
 > the bios sets up the card to use the IRQ "hinted" at by the on
 > board NVRAM (or in some cases other forms of non-volatile RAM).
No ISA slots are avilable on this computer :(
 > 
 > Since you've already stated that you have limited slots available,
 > your only recourse is to either move things around, remove a
 > device/card, get a new non-conflicting device or card, or a new
 > computer.
 > 
 > Welcome to the world of IBM based design architecture.
 > 
 > Needless to say this all needs a MAJOR overhaul, but who is going
 > to set the standards?
 > 
 > -JMS
 > -Original Message-
 > From: [EMAIL PROTECTED]
 > [mailto:[EMAIL PROTECTED]]On Behalf Of Svante Signell
 > Sent: Friday, December 29, 2000 11:15 AM
 > To: [EMAIL PROTECTED]
 > Subject: [expert] IRQ steering?

 > Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
 > card) driver and sound (maestro, on motherboard) on my Compaq Presario
 > 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
...




Re: [expert] IRQ steering?

2000-12-30 Thread Felix Miata

Svante Signell wrote:
 
> No response so far, trying again.
 
> Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
> card) driver and sound (maestro, on motherboard) on my Compaq Presario
> 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
 
> Also the graphics card is allocated to IRQ5:
> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
>(prog-if 00 [VGA])
> Subsystem: Guillemot Corporation Maxi Gamer Phoenix
> Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
 
> How to steer away one of the units from IRQ 5 to avoid interrupt
> sharing/conflicts? In the documentation to both the tulip and maestro driver I
> have not found any option to control the IRQ. What unit takes care of
> allocating IRQ's if the card driver does not require one, the kernel
> or the BIOS?
 
> The BIOS for this computer has very limited number of options, and as
> mentioned above the sound hardware is on the motherboard. Also only
> two PCI slots are available (one with the ethernet card, the other
> with a PCTV card, IRQ 3), so shuffling cards is not much to try.

I don't know why your Compaq does what it does, but I have seen a
similar effect with windoze and a stupid BIOS. Once I was working on a
system with four devices sharing one IRQ in windoze hardware manager,
even though there were more than enough unused IRQ's to give everything
one of its own. That BIOS did not allow a manual assignment of specific
IRQ's to specific PCI slots. A BIOS upgrade fixed it so everything got
an IRQ of its own without manual intervention.
-- 
Listen to advice and accept instruction, and in the end you will be
wise.Proverbs 19:20 NKJV

 Team OS/2

Felix Miata  ***  http://mrmazda.members.atlantic.net





Re: [expert] IRQ steering?

2000-12-30 Thread Onur

Hello Svante,

Friday, December 29, 2000, 6:14:56 PM, you wrote:

SS> No response so far, trying again.

SS> Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
SS> card) driver and sound (maestro, on motherboard) on my Compaq Presario
SS> 5640/5670 when other interrupts are available: 4,6,7,9,10,11?

4 is most probably used by Com1
6 , by floppy controller
7, parallel port

9 is shared with 2, so it is not a great idea to use it, though I
usually have to use, and I did not get much trouble
10 and 11 are great, usually 11 is for graphics card

SS> Also the graphics card is allocated to IRQ5:
SS> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
(prog-if 00 [VGA])
SS> Subsystem: Guillemot Corporation Maxi Gamer Phoenix
SS> Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5

SS> How to steer away one of the units from IRQ 5 to avoid interrupt
SS> sharing/conflicts? In the documentation to both the tulip and maestro driver I
SS> have not found any option to control the IRQ. What unit takes care of
SS> allocating IRQ's if the card driver does not require one, the kernel
SS> or the BIOS?

 Linux kernel does not control it. What you can do is at your bios,
 and your hardware, plugging and unplugging the cards.

SS> The BIOS for this computer has very limited number of options, and as
SS> mentioned above the sound hardware is on the motherboard. Also only
SS> two PCI slots are available (one with the ethernet card, the other
SS> with a PCTV card, IRQ 3), so shuffling cards is not much to try.

The soundcards irq may be changed by a bios setting, I dont know. If
there is something " reset pci configuration, escd or pnp conf. " or
something like  that try to enable it , first. Then, go on trying to
change the irqs. You will need to make lots of resets. Usually, I turn
on a pc with no card added on it, then go on adding cards one by one,
so you see what is causing trouble.

Disable the usb, serial and parallel ports etc in your bios, if you
are not using them.

Sometimes, stupidly, changing the places of the cards solves some irq
troubles, but of course, you better try one by one, just to keep eye
on what is going on.

Having just 2 slots, is terrible enough... I have enough slots, but I
still am lacked on this !'^+ irq trouble so many times... 16 irqs are
not enough !

Wish you goodluck, hope these will help.

-- 
  Onur



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





RE: [expert] IRQ steering?

2000-12-30 Thread OPJOSE


Initially the BIOS handles setting up the IRQ's for your cards as the system comes up.

The OS can modify this allocation as needed, within certain limits.

The problem is that you are running up against one of the most often mis-understood 
limits.

Here goes:

Yes, as people here will indicate, you can CHANGE the IRQ utilized for a card, -BUT- 
in so doing you will not change the assignment of that one card. You will change the 
assignment of MULTIPLE devices or slots!

Huh?

PCI was initially designed to handle only three devices. As a result as manufacturers 
started adding PCI slots, they took to wiring two or more PCI slots together. Thus 
your AGP slot almost always shares an IRQ with the first PCI slot. 

Why?

Well in their infinite wisdom, they deemed that if you were using an AGP video card, 
you would NOT also be using a video card in slot one and vice versa.

Ugh, so you normally can use one or the other, but not both without resorting to some 
trickery called IRQ Steering.

On newer motherboards two or more PCI slots may share an IRQ allocation with 
integrated devices. Thus, in your case the PCI slot you put the ethernet card into 
WILL ALWAYS share the same IRQ with your motherboard's integrated audio.
NO MATTER WHAT YOU DO, this will be the case. You can change the allocation to say 11, 
but now your audio and eth0 will go to 11... ugh.

Your only choice is to move the ethernet card to another slot to avoid sharing 
IRQ's. ISA PNP cards don't suffer from this. In a way they are more flexible with 
resource allocation.

If you are using an ISA PNP card you might be able to change the IRQ it uses with 
software provided by the manufacturer... This software modifies the "hint" that the 
card reports to the bios during boot. The preferred IRQ is stored on the card itself, 
and the bios sets up the card to use the IRQ "hinted" at by the on board NVRAM (or in 
some cases other forms of non-volatile RAM).

Since you've already stated that you have limited slots available, your only recourse 
is to either move things around, remove a device/card, get a new non-conflicting 
device or card, or a new computer.

Welcome to the world of IBM based design architecture.

Needless to say this all needs a MAJOR overhaul, but who is going to set the standards?

-JMS



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Svante Signell
Sent: Friday, December 29, 2000 11:15 AM
To: [EMAIL PROTECTED]
Subject: [expert] IRQ steering?


No response so far, trying again.

Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
card) driver and sound (maestro, on motherboard) on my Compaq Presario
5640/5670 when other interrupts are available: 4,6,7,9,10,11?

Also the graphics card is allocated to IRQ5:
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
(prog-if 00 [VGA])
Subsystem: Guillemot Corporation Maxi Gamer Phoenix
Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5

How to steer away one of the units from IRQ 5 to avoid interrupt
sharing/conflicts? In the documentation to both the tulip and maestro driver I
have not found any option to control the IRQ. What unit takes care of
allocating IRQ's if the card driver does not require one, the kernel
or the BIOS?

The BIOS for this computer has very limited number of options, and as
mentioned above the sound hardware is on the motherboard. Also only
two PCI slots are available (one with the ethernet card, the other
with a PCTV card, IRQ 3), so shuffling cards is not much to try.







Re: [expert] IRQ steering?

2000-12-30 Thread Tom Berkley

The bios assigns the interrupt. Linux does not, so.., figure 
how your bios
assigns the irq (one way is by slot). It is likely that you have not opted for 
extended pci options in
your bios which include these assignments.

Tom Berkley

Svante Signell wrote:

> No response so far, trying again.
>
> Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
> card) driver and sound (maestro, on motherboard) on my Compaq Presario
> 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
>
> Also the graphics card is allocated to IRQ5:
> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
>(prog-if 00 [VGA])
> Subsystem: Guillemot Corporation Maxi Gamer Phoenix
> Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
>
> How to steer away one of the units from IRQ 5 to avoid interrupt
> sharing/conflicts? In the documentation to both the tulip and maestro driver I
> have not found any option to control the IRQ. What unit takes care of
> allocating IRQ's if the card driver does not require one, the kernel
> or the BIOS?
>
> The BIOS for this computer has very limited number of options, and as
> mentioned above the sound hardware is on the motherboard. Also only
> two PCI slots are available (one with the ethernet card, the other
> with a PCTV card, IRQ 3), so shuffling cards is not much to try.





Re: [expert] IRQ steering?

2000-12-30 Thread Bug Hunter


 If you have PCI cards, IRQ sharing will work.  

 Otherwise, you may have to force the card not to be PNP and then tell it
what IRQ to be on.  You usually have to run the DOS setup disk to get this
to happen.

On Fri, 29 Dec 2000, Svante Signell wrote:

> No response so far, trying again.
> 
> Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
> card) driver and sound (maestro, on motherboard) on my Compaq Presario
> 5640/5670 when other interrupts are available: 4,6,7,9,10,11?
> 
> Also the graphics card is allocated to IRQ5:
> 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
>(prog-if 00 [VGA])
> Subsystem: Guillemot Corporation Maxi Gamer Phoenix
> Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5
> 
> How to steer away one of the units from IRQ 5 to avoid interrupt
> sharing/conflicts? In the documentation to both the tulip and maestro driver I
> have not found any option to control the IRQ. What unit takes care of
> allocating IRQ's if the card driver does not require one, the kernel
> or the BIOS?
> 
> The BIOS for this computer has very limited number of options, and as
> mentioned above the sound hardware is on the motherboard. Also only
> two PCI slots are available (one with the ethernet card, the other
> with a PCTV card, IRQ 3), so shuffling cards is not much to try.
> 





[expert] IRQ steering?

2000-12-29 Thread Svante Signell

No response so far, trying again.

Anyone knows how IRQ 5 is chosen both for my eth0 (tulip, external
card) driver and sound (maestro, on motherboard) on my Compaq Presario
5640/5670 when other interrupts are available: 4,6,7,9,10,11?

Also the graphics card is allocated to IRQ5:
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) 
(prog-if 00 [VGA])
Subsystem: Guillemot Corporation Maxi Gamer Phoenix
Flags: VGA palette snoop, 66Mhz, fast devsel, IRQ 5

How to steer away one of the units from IRQ 5 to avoid interrupt
sharing/conflicts? In the documentation to both the tulip and maestro driver I
have not found any option to control the IRQ. What unit takes care of
allocating IRQ's if the card driver does not require one, the kernel
or the BIOS?

The BIOS for this computer has very limited number of options, and as
mentioned above the sound hardware is on the motherboard. Also only
two PCI slots are available (one with the ethernet card, the other
with a PCTV card, IRQ 3), so shuffling cards is not much to try.




[expert] IRQ steering?

2000-12-20 Thread Svante Signell

Anyone knows why is IRQ 5 chosen both for my eth0 (tulip, external
card) driver and sound (maestro, on motherboard) on my Compaq Presario
5640/5670 when other interrupts are free: 4,6,7,9,10,11?

How to steer away one of the units from IRQ 5 to avoid interrupt
sharing? In the documentation to both the tulip and maestro driver I
have not found any option to control the IRQ. What unit takes care of
allocating IRQ's if the card driver does not require one, the kernel
or the BIOS?

The BIOS for this computer has very limited number of options, and as
mentioned above the sound hardware is on the motherboard. Also only
two PCI slots are available (one with the ethernet card, the other
with a PCTV card, IRQ 3), so shuffling cards is not much to try.