Help with multiple networkc cards

Hello.
 I try to set up smothwall and I have one problem

I have 2 netwok-cards and both seems to be based on wd8003 chip. (both works with the wd driver under the 2.2 kernel.

When I try to setup smothwall ANd have card a in my burk
I can get the network working with IRQ=3 io=0x290

if I have Card B I can get it to work with IRQ=10 and IO=300

The problem is that I can't get it to work with both those network cards in the machine at the same time. Anyone that have an idea?

If I Have the first card detected at irq=3 io=0x290
and try

modprobe wd irq=10 io=0x300 it says resource bussy.

hulkenAsked:
Who is Participating?
 
YensidModConnect With a Mentor Commented:
This question is PAQed and 100 points refunded.

YensidMod
Community Support Moderator
0
 
ahoffmannCommented:
AFAIK the 2.2.x ernel series had problems with multiple wd8003 cards
0
 
hulkenAuthor Commented:
I seems like it worked if I make a copy of the wd.o with another name and then load it with right parameters.

0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
ahoffmannCommented:
hmm, will be high risk.
Read the sources if can be used this way, mainly check global variables.
0
 
wqclatreCommented:
It seems to work.. I'm not a c programmer so I don't understand the source...
0
 
hulkenAuthor Commented:
Hmmm that was strange? It was me that added the last comment? Where the hek does wqclatre come from?
0
 
ahoffmannCommented:
hulken, do you have access to the eebugs TA?
Leave a note there for the support people, seams to be a problem with the database.
0
 
st_steveCommented:
Have you tried asking smoothwall to probe automatically and determine its IRQ and IO addresses? I think you need to log in as "setup" which will give you a "menu-driven interface" (instead of "root" - which gives you command line shell).

In networking menu, there is an option to probe for network cards.
0
 
hulkenAuthor Commented:
Yes I have tried, but it won't detect it more than once. If you read the documentation it says that if you use more than one nic that are the same you have to add it manually with all parameters. (the module mus be loaded for both cards at the same time).

0
 
ApparatusCommented:
Hi,

Try appending this to lilo as below or simply typing it in at the boot: prompt.

ether=3,0x290,eth0 ether=10,0x300,eth1

or if you use lilo to boot:

you have the following in your /etc/lilo.conf file. Add the last line that starts with append=.

image=/some_image
root=/dev/hda1
label=some_label
read-only
append="ether=3,0x290,eth0 ether=10,0x300,eth1"

don't forget to have lilo reconfigure itself with the following commond:

lilo -D <replace this with the text you have in some_label>

optionally try editing the /etc/modules.conf file as described in Ethernet-HOWTO at www.tldp.org

- Apparatus
0
 
CleanupPingCommented:
hulken:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
pjedmondCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Delete question and refund points because the author appears to have come up with an answer, and the solution proposed by Apparatus will not work if the response to the modprobe indicates that the resources attempting to be allocated in his solution are busy.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

pjedmond
EE Cleanup Volunteer
0
 
pjedmondCommented:
In fact the correct answer to this particular question now is probably to get the latest version of smoothwall:)

Also on second thoughts, I think that this question ought to be PAQ, with points refunded as the solution proposed by the author is actually quite clever, and appears to work...and could plausibly be used as a proposed solution for a similar type of problem in the future
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.