Hi, On Thu, 17 May 2001, Jamie Harris wrote: > 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 > Thanks, it works! I add the following line in the lilo.conf as a per image section option (for the kernel in which I compile the network support in it) append = "ether=11,0x280,eth0 ether=10,0x300,eth1" cheers, wei > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > *** 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