Finding I/0 and IRQ for NIC Card

Finding I/0 and IRQ for NIC Card

Post by Sugapabl » Sun, 28 Dec 2003 00:15:35



Debian (Woody), Sony Vaio P200

I have a Kingston KNE20 NIC card in my machine and I need to install the
ne module to use it.  The ne module requires I specify the I/O
(io=0xNNN) and it might want the IRQ as well (although it might be able
to figure it out on it's own).

How do I find the I/O?  I did lspci -vvv and looked in /proc/pci and got
nothing.

--
[ Sugapablo                             ]
[ http://www.sugapablo.com <--music     ]
[ http://www.sugapablo.net <--personal  ]

 
 
 

Finding I/0 and IRQ for NIC Card

Post by John-Paul Stewar » Sun, 28 Dec 2003 00:41:06



> Debian (Woody), Sony Vaio P200

> I have a Kingston KNE20 NIC card in my machine and I need to install the
> ne module to use it.  The ne module requires I specify the I/O
> (io=0xNNN) and it might want the IRQ as well (although it might be able
> to figure it out on it's own).

> How do I find the I/O?  I did lspci -vvv and looked in /proc/pci and got
> nothing.

If you need to specify I/O address and IRQ to the driver, it's not a PCI
card...hence no info from lspci or /proc/pci.  

If it's a really old ISA card it might have jumpers on it for setting
IRQ and I/O address.  You can figure out what it's set for just by
looking at the jumpers and the card's manual.  If it's one of the later
ISA cards the I/O address is set via software and is harder to figure
out.  

You might be lucky and be able to get the info at boot time.  Some cards
have BIOSes which identify themselves at boot up.  During BIOS startup
(before LILO or Grub take over) you might see a message such as
"Kingston KNE20 at IRQ xx I/O yyy".  

If you don't get such messages from yours, start trying common I/O
addresses.  If the module loads successfully (i.e., prints no messages)
then you've found the right one.  Common ones to try for ISA network
cards are (IIRC) 0x240, 0x280, 0x300, 0x330, 0x340.

Of course, if this isn't an ISA card either, then none of this applies.
You'll have to tell us more about it.

 
 
 

Finding I/0 and IRQ for NIC Card

Post by Sugapabl » Sun, 28 Dec 2003 01:25:48



> If you need to specify I/O address and IRQ to the driver, it's not a PCI
> card...hence no info from lspci or /proc/pci.  

It was just suggestion made previously to me from other sources.

Quote:> If it's a really old ISA card it might have jumpers on it for setting
> IRQ and I/O address.  You can figure out what it's set for just by
> looking at the jumpers and the card's manual.  If it's one of the later
> ISA cards the I/O address is set via software and is harder to figure
> out.  

No jumpers on the card.  I believe the settings are set via software and
some program called qstart which runs in MS-DOS.  Lot of good that
doesme since the machine in question does not have DOS on it.

Quote:> You might be lucky and be able to get the info at boot time.  Some cards
> have BIOSes which identify themselves at boot up.  During BIOS startup
> (before LILO or Grub take over) you might see a message such as
> "Kingston KNE20 at IRQ xx I/O yyy".  

Haven't seen any such boot messages.

Quote:> If you don't get such messages from yours, start trying common I/O
> addresses.  If the module loads successfully (i.e., prints no messages)
> then you've found the right one.  Common ones to try for ISA network
> cards are (IIRC) 0x240, 0x280, 0x300, 0x330, 0x340.

I've tried all those and more trying to "hit on it".

Quote:> Of course, if this isn't an ISA card either, then none of this applies.
> You'll have to tell us more about it.

No, it's an ISA card.  KNE20_12LC

--
[ Sugapablo                             ]
[ http://www.sugapablo.com <--music     ]
[ http://www.sugapablo.net <--personal  ]

 
 
 

Finding I/0 and IRQ for NIC Card

Post by Henrik Carlqvis » Sun, 28 Dec 2003 02:04:42



> No jumpers on the card.  I believe the settings are set via software and
> some program called qstart which runs in MS-DOS.  Lot of good that
> doesme since the machine in question does not have DOS on it.

Then you will have to boot DOS from a floppy to run the program. Try to
find an old DOS bootable floppy somewhere.

Quote:>>  Common ones to try for ISA network cards are (IIRC) 0x240, 0x280,
>>  0x300, 0x330, 0x340.
> I've tried all those and more trying to "hit on it".

It was a long time since I used ISA cards and fortunately it was also a
long time since I used NE2000 compatible ISA cards. The NE2000 compatible
cards that I used had jumpers to select settings and when loading the
driver (at that time the driver was usually compiled into the kernel)
there was no need to give any settings as the driver found the settings
by itself. If your module now is unable to find the settings I would
guess that the card is in PnP mode. Maybe you could get it to work with
isapnp?

If you find your time valuable you should be aware that problems with buggy
NE2000 compatible cards have their own chapter in the Ethernet-HOWTO.
Maybe you would be better off with another card.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc2(at)uthyres.com Examples of addresses which go to spammers:

 
 
 

1. Finding IRQ and I/O of ISA nic card

Hi all
I am setting up a linux router/firewall on a floppy, running on an old
486. I have two nic cards installed - one pci, the other isa. The pci
is working dandily but I need to find the ISA's IRQ and I/O addy in
order for it to work. Checked /proc/interrupts and /proc/ioports but
no entry for it. The card says on it supports PnP. Thanks in advance.
-Johnny

2. Joystick help needed (2.4.x)

3. ISA NIC setup - how to set/find irq/io values?

4. multiple interface for one NIC device

5. 2 NIC Cards and IRQ

6. please help with PCMCIA/SCSI/CDROM problem

7. NIC and Video Card share IRQ

8. Need source for diskette drivers

9. 2 NIC cards and IRQ

10. 2 NIC Cards and IRQ

11. NIC Card at IRQ 216 ???

12. Which to live up - No IRQ Found or Want IRQ 5 got 11?

13. PCI NIC card in same box as ISA NIC card ?