[tulip] Compile errors and Unresolved dependencies for the Source RPM

cjayakumar@excite.com cjayakumar@excite.com
Wed, 12 Jul 2000 16:47:02 -0700 (PDT)


I bought a Linksys NetworkEverywhere 5-Port starter kit and installed the
NC100 Linksys card a week ago on my Mandrake 6.0 machine with a 2.2.9
kernel.  The tulip driver that was on the distribution didn't work, and so I
downloaded tulip.c, kern-compat.h, pci-scan.h and pci-scan.c.  The compile
went fine.  Then I insmoded pci-scan.o and tulip.o and got the ethernet card
to work for my DSL.

Two days, ago I downloaded Mandrake 7.1 and installed it fresh on the same
machine.  I'm trying to get the ethernet card to work.  The compile of
tulip.c errors out heavily in files in /usr/include/asm and in
/usr/include/linux.  

Then I downloaded Netdriver2-0.src.rpm and installed it by following the
instructions for it on the web page.  It seems that it has installed various
.o files in /lib/modules/2.2.15-4mdksecure/net including pci-scan.o which
was not present in the Mandrake 7.1 distribution (and which wasn't present
in Mandrake 6.0 either.)  The installation must have called /sbin/depmod -a
because it gave the following unresolved dependencies in all the files that
the source RPM has installed:
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/sundance.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/ne2k-pci.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/via-rhine.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/pci-scan.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/epic100.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/yellowfin.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/rtl8139.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/natsemi.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/hamachi.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/starfire.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/winbond-840.o
depmod: *** Unresolved symbols in /lib/modules/2.2.15-4mdksecure/net/tulip.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/net/eepro100.o
depmod: *** Unresolved symbols in
/lib/modules/2.2.15-4mdksecure/pcmcia/epic_cb.o
Obviously, neither the insmod'ing of pci-scan or tulip succeeds, as a list
of unresolved symbols is printed out in each case.

Here is the relevant part of /proc/pci:
  Bus  0, device  19, function  0:
    Ethernet controller: Unknown vendor Unknown device (rev 17).
      Vendor id=1317. Device id=985.
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable. 
Latency=64.  Min Gnt=255.Max Lat=255.
      I/O at 0xee00 [0xee01].
      Non-prefetchable 32 bit memory at 0xfebffc00 [0xfebffc00].

Here is what tulip-diag, after giving it the IO address had to say:
[root@localhost modules]# ./tulip-diag -aeD -p0xee00
tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip, unknown type adapter at 0xee00.
Digital Tulip, unknown type chip registers at 0xee00:
  fe590000 ffffffff ffffffff 00000000 00000000 fc00c810 ff970155 fffe4010
  fffe0000 fff597f8 00000000 fffe0000 00000000 00000200 00000000 c40ffec8
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc00c810.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
EEPROM size is 8.
 A simplifed EEPROM data table was found.
 The EEPROM does not contain transceiver control information.

Please help.  How did it work in Mandrake 6.0?  Is there some thing that I'm
missing somewhere?

Thanks,
Jay





_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html