On Thu, 17 May 2001, WEI QU wrote: > I have a linux box, RedHat Linux 6.2 (2.2.14), which is upgraded form > RedHat LInux 6.0 (2.2.5). After the upgrade, I install the second Network > card and modify the conf.modules and the two cards work correctly. > The two cards are: > First One) D-Link DE-220 (Non-PnP Mode) io=0x280 irq=11 > Second One) NE2000 compatible io=0x300 irq=10 > Both use ne drivers > > But when after my own kernel of 2.2.14 with ne2000 support in the kernel, > the new kernel both the two network card don't work, it find the first > card at io=300 and irq=3 and fail to recognize the second one. (I enable > loadable module in kernel configuration). A little clarity might be needed. The original kernel (2.2.5) had support as loadable modules or in the kernel? The same question for the new kernel (2.2.14). If you are loading support as modules then you will need to have something like alias eth0 ne alias eth1 ne options ne io=0x280, io=0x300 in /etc/conf.modules If you want to do the same with support built directly into the kernel then you need to tell the kernel about the cards as it will only autoprobe a single card. I *think* the following will work, (as per the Ethernet-HOWTO) but I've never done it myself. LILO: linux ether=11,0x280,eth0 ether=10,0x300,eth1 > The strange thing is if I remove the second card from the box, the first > card works again (io=0x280 irq=11) in my new kernel. As mentioned above it you've got support built into the kernel (not loading as a module) then it will only probe for a single card. I think you need to RTFM. Check out http://linuxdocs.org/HOWTOs/Ethernet-HOWTO.html this is where I checked the above. Its a little out of date now though, but still seems find for 2.2. If you have the capability its worth moving to 2.2.19 as there are some exploits for the earlier kernels, clearly if you're the only user though its not a problem! cheers! Jamie... =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Slowly and surely the UNIX crept up on the Nintendo user... *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/ED d-(++) s:+ a- C+++>++++$ U+++>$ P++++ L+++>+++++ E+(---) W++ N o? K? w(++++) O- M V? PS PE? Y PGP- t+ 5 X- R- tv- b++ DI++ D+++ G e++ h* r++>+++ y+++ ------END GEEK CODE BLOCK------ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org