Bringing up 2nd NIC card

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Fri Mar 29 11:59:05 2002


David,

I believe the correct location is /lib/modules/2.4.10-12a/kernel/net
Right now I only have access to machines running 2.2 kernels, some I'm
kinda going from memory here.

I'd bet that stack overflow resulted in a kernel panic and a reboot.
If it were me, I'd try to compile the module from the kernel source
using 'make menuconfig' then selecting the RealTek option as a module,
quit saving changes, 'make dep' , 'make modules', 'make modules_install'.
That'll build them and put them in the right place.

-ken

On Fri, Mar 29, 2002 at 10:44:31AM -0800, David McInnis wrote:
> Ok, got that but when I did the 
> 
> /etc/rc.d/init.d/network restart
> 
> I got Kernel stack overflow in process e4054000, r1=e4054570
> 
> Are they in the correct location?  I have the driver.o files in the 
> 
> /lib/modules/2.4.10-12a/net directory.
> 
> David
> 
> 
> 
> -----Original Message-----
> From: yellowdog-general-admin@lists.terrasoftsolutions.com
> [mailto:yellowdog-general-admin@lists.terrasoftsolutions.com] On Behalf
> Of Ken Schweigert
> Sent: Friday, March 29, 2002 10:31 AM
> To: yellowdog-general@lists.terrasoftsolutions.com
> Subject: Re: Bringing up 2nd NIC card
> 
> David,
> 
> In your /etc/modules.conf file put something like:
>   alias eth1 rtl8139
> 
> You will also need to create a /etc/sysconfig/network-scripts/ifcfg-eth1
> with the appropriate interface and IP address.
> 
> Also, do a 'depmod -a' to recreate your dependancy file.  If you don't
> see any errors you should be able to do 'modprobe rtl8139' and it will
> load pci-scan and then rtl8139.
> 
> Then just do a '/etc/rc.d/init.d/network restart' and you should be
> in business.
> 
> Hope this helps.
> 
> -- 
> -Ken Schweigert, Aspiring Network Administrator
> Byte Productions, LLC
> http://www.byte-productions.com
> 
> 
> 
> On Fri, Mar 29, 2002 at 10:21:08AM -0800, David McInnis wrote:
> > I am running YDL 2.1 with kernel 2.4.10-12a.
> > 
> > I have a network running on the integrated NIC that comes with my G4.
> > 
> > I have added a second NIC (MacSense by xsense that uses the Realtek
> > (rtl8139) chipset.) to this machine.
> > 
> > I went to Web and found a driver, downloaded the source and compiled
> > driver.  This compilation yielded 2 files:  pci-scan.o and rtl8139.o.
> > 
> > I then do:
> > 
> > insmod pci-scan.o
> > insmod rtl8139.o
> > 
> > to bring up the interface.  Hey, it works.
> > 
> > My problem is this. Where do I need to call these in order for the
> > interface to come up at boot?  I want both (the current eth0 and the
> new
> > eth1) to be activated at boot.  Will they be inserted in that order (I
> > have tried to insert rtl8139.o without the pci-scan.o and it fails)?
> > 
> > Currently I have them in /lib/modules/2.4.10-12a/net.
> > 
> > Thanks,
> > 
> > David McInnis
> > 
> > 
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general@lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 

-- 
-Ken Schweigert, Aspiring Network Administrator
Byte Productions, LLC
http://www.byte-productions.com