[realtek] Module loading at startup

Jonas Valkiunas jvalkiunas@ChicagoJava.com
Mon, 9 Oct 2000 15:20:01 -0500


All,


I have 2 nics in a firewall, a tulip and a realtek, running in a
RH6.2/2.2.17/x86 environment.  I compiled all 3 drivers w/ no problems
(pci-scan, tulip, rtl8139) and everything works well after I manually insmod
in that order.

The problem: upon boot eth0 (tulip) is loaded, but the realtek driver is
not.  Obviously pci-scan is loaded too, but I have to manually insmod
rtl8139 and restart networking in order to get everything back up in
harmony.

The question: why isn't the realtek driver loading upon startup?  Is it
practical to manually add a 'insmod /lib/'uname -r'/net/rlt8139' in a
startup script?  Keep in mind everything works fine if I manually load the
driver...

Following are some systems messages that might be helpful.

Thanks!
-Jonas


Here's a cat of /proc/pci: (after manual loading)
# cat /proc/pci
    Ethernet controller: LiteOn LNE100TX (rev 33).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.
Latency=66.
      I/O at 0xf400 [0xf401].
      Non-prefetchable 32 bit memory at 0xffbee800 [0xffbee800].
  Bus  0, device  19, function  0:
    Ethernet controller: Realtek 8139 (rev 16).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.
Latency=66.  Min Gnt=32.Max Lat=64.
      I/O at 0xf800 [0xf801].
      Non-prefetchable 32 bit memory at 0xffbeec00 [0xffbeec00].



# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:CC:3D:1D:D3
          inet addr:*.*.*.*  Bcast:*.*.*.*  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:333923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:247037 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x800

eth1      Link encap:Ethernet  HWaddr 00:50:BA:85:77:1F
          inet addr:*.*.*.*  Bcast:*.*.*.*  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:430235 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150249 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0xf800