Installing and configuring two identical PCI network cards on Debian
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installing and configuring two identical PCI network cards on Debian
Hello,
I am using a stock Debian 6.0.1 "Squeeze" GNU/Linux system and need to install and configure 3 network cards. I need all 3 network cards up and running.
The problem I am having is that 2 of these network cards are identical PCI cards and the kernel only lets me configure one. I don't have the option of changing them.
Assuming you get this working, --- how does it work? My question is this -- Are devices plugged into one NIC separate from devices in the other NIC? Suppose you have two independent LANs. Is this possible? Will it work? Can it be done?
Sure you can have independent LANs on different cards.
To the original question: google for "region #1 not an MMIO resource, aborting", some suggest to compile to use PIO instead MMIO into the kernel or buy two cards using other chips.
I have tested both cards, meaning that they both work.
I turned off the machine and moved the cards around, booting it up every time I changed things, including turning off the onboard network card which doesn't use the r8169 module directly.
Then one time I rebooted the machine I got all 3 Ethernet cards working.
There is definitely an IRQ conflict but I seriously have no idea why it suddenly worked or how to make sure the next time I shut down the machine it doesn't change.
I haven't tried the kernel recompile and this shows that there is something else in play.
What is there to play with? It works. Don't play with kernel.
I suspect you swapped the two cards and the way the board timing went it configured the cards without a conflict. I guess you can do a cold boot or two and see if stable.
I'm not planning on playing with the kernel at all. Like you, I think the reboots and board timing eventually landed on the configuration I needed. However I would like to know if there is anything one can do to force the IRQ, I/O settings so that I can repeat this install without having to pray and reboot when I use two identical Ethernet cards.
There is definitely an IRQ conflict but I seriously have no idea why it suddenly worked or how to make sure the next time I shut down the machine it doesn't change.
This sounds like the BIOS is assigning the IRQs. See if there is an
option in the BIOS to let the OS assign the IRQs. If so, Linux will
assign them consistently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.