On Wed, 19 Jan 2000, James (Jim) Hatridge wrote about, ioports?:
> Hi all!,
>
> Paint me dumb but I can't figure out which ioport my network card is on.
I would not dare to do that.
> When it probes for my ethercard at 0x0300 it does not find it. Ioports
> does not show 0300, which one should I be using? Thanks! BTW, I'm using
> SuSE 5.2 and my system has two printer ports.
I guess by the io address its a PCI card right.?? PCI cards when detected
at bootime are entered into /proc/pci, so do;
cat /proc/pci and see if the card is entered there.
A card will only be entered into /proc/ioports when the card is initialised
by its driver.
If i remember i wrote to you about your card and which driver supports your
card.
Now there were at least 3 possablitys as i remember, all of which should be
included as modules in a distribution install, at least Redhat and
slackware supprot cards in this way, i belive all others as well, i do not
have a SuSe system to check on.
After doing what i said, look at the chipset on the card and check it
against the possable drivers, then you will need to find out what name the
driver has in module form, some drivers are named in the documentation i
sent you, which was an excerpt from
/usr/src/linux/Documentation/Configure.help
Redhat has a file in /boot called modules which describes network cards and
there drivers, possably SuSe has some simalar file.
Take a look in ./linux/Documentation/modules.txt and
././Documentation/networking your card will be described somewhere there.
Once that has been accived go to /lib/modules/$kernel_version_number/net
and make sure the module is there, then issue;
modprobe module_name
If you get Device or resource busy, then the cahnces are thats not the
correct driver, ( i am talking PCI cards at the minute) pci cards do not
need parameters via modprobe or insmod, try the next possable module for
that card, if you find the correct module there will be no error message
in fact no message at all, just a prompt after the command has exited.
If no error is the case then you have found the correct module for your
card.
If you have a ISA card, then you possably will have to tell modprobe where
to find the card an example being.
modprobe ne io=0x300
It should then allocate the IRQ itself providing there is no other ISA card
using that IRQ.
You can also pass the IRQ to modprobe but it should not be nessasary;
modprobe io=0x300 irq=10
>
> hatridge@Opus:/home/hatridge > cat /proc/ioports
[snipped as it is of no relavance at this time]
>
> TIA!
>
> Jim Hatridge
> [EMAIL PROTECTED]
> Proud Linux User #88484
> ------------------------------------------------------------------------
> Jim's Beowulf Project
> Looking for giveaway computers and parts
> I need it all!
> Email Jim for details on
> how you can help build a poor man's super computer.
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Happy New Year