Solved

Network Everywhere nc100 nic (pci)

Posted on 2000-04-10
33
429 Views
Last Modified: 2013-12-15
Why exactly would my network card not appear be detected by my copy of linux (turbolinux workstation 6)?
The driver disk that came with the card contains a tulip driver in a linux directory so i'm taken that as a good indication that the card should be able to run in linux.
Using the distro's included tulip.o (the version on disk brought up a bunch of compiler errors) i ran insmod.  However still no eth devices appeared to be popping up.

Please beware I'm basically a total newbie to linux so it could be something blatently obvious to most of you that I overlooked.

Just wanna get the net up and running under linux (over a proxy server).  That way I'll be able to stick to actually learning the os a bit instead of having to repetitively switch over to ie to surf the net.
0
Comment
Question by:Aikema
  • 20
  • 12
33 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
From another question, I believe you're using RH 6.0. It may be that the version of the tulip driver from the disto is too old. I don't know what version was furnished with the card, but the latest (v 0.91) is available from: http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html. There's more info about the tulip driver on that page and a link to the source. There's also a link to some diagnostic programs there.

You may get some warnings when compiling the driver, but they are probably okay.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
here's what a probe of my system turned up:

there seems to be an ethernet controller called labelled as Macronix MX98715 / MX98725 (rev 37).

TurboHWProbe Version 0.27 -  Survey
--------------------------------------------------------------------------------

------ Contents of /proc/cpuinfo -----------------------------------------------
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model            : 6
model name      : Celeron (Mendocino)
stepping      : 5
cpu MHz            : 400.916251
cache size      : 128 KB
fdiv_bug      : no
hlt_bug            : no
sep_bug            : no
f00f_bug      : no
coma_bug      : no
fpu            : yes
fpu_exception      : yes
cpuid level      : 2
wp            : yes
flags            : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx osfxsr
bogomips      : 399.77


------ Contents of /proc/version -----------------------------------------------
Linux version 2.2.13-12 (support@kernel.turbolinux.com) (gcc driver version 2.95.2 19991024 (release) executing gcc version 2.7.2.3) #1 Fri Dec 10 00:20:48 PST 1999

------ Contents of /etc/turbolinux-release -----------------------------------------
release 6.0 English WorkStation (Roadrunner)

------ Contents of /etc/printcap ---------------------------------------------
#
# /etc/printcap - Printer definition file.
# Generated by turboprintcfg v2.0.2
# Do not edit by hand unless you know what you
# are doing.  The file format is very important
# and needs to be strictly maintained.  See the
# manpage for printcap(5) for more information
# on the format of this file.
#

##PRINTTOOL3## SMB TEXT 300x300 letter {} Unknown Default {}
lp
      :sd=/var/spool/lpd/lp
      :mx#0
      :sh
      :if=/usr/bin/smbprint
      :af=/var/spool/lpd/lp/acct
      :lp=/dev/null


--------------------------------------------------------------------------------
Summary of device probe results:

/dev/lp0     PARALLEL   FAILED      No info available for this port.
/dev/lp1     PARALLEL <Port does not exist>                          
/dev/lp2     PARALLEL <Port does not exist>                          
/dev/psaux    PSAUX   PS/2 AUX de   PS/2 Mouse/MOUSE/                
/dev/hda       IDE    IDE device    SAMSUNG SV0432A/HARD DRIVE/      
/dev/hdb       IDE      FAILED      No info available for this port.
/dev/hdc       IDE    IDE device    SAMSUNG SCR-3232/CDROM/          
/dev/hdd       IDE      FAILED      No info available for this port.
/dev/hde       IDE      FAILED      No info available for this port.
/dev/hdf       IDE      FAILED      No info available for this port.
/dev/hdg       IDE      FAILED      No info available for this port.
/dev/hdh       IDE      FAILED      No info available for this port.
PCI0:0:0       PCI    PCI device    Intel 440LX - 82443LX PAC Host (r
PCI0:1:0       PCI    PCI device    Intel 440LX - 82443LX PAC AGP (re
PCI0:7:0       PCI    PCI device    Intel 82371AB PIIX4 ISA (rev 2)./
PCI0:7:1       PCI    PCI device    Intel 82371AB PIIX4 IDE (rev 1)./
PCI0:7:2       PCI    PCI device    Intel 82371AB PIIX4 USB (rev 1)./
PCI0:7:3       PCI    PCI device    Intel 82371AB PIIX4 ACPI (rev 2).
PCI0:11:0      PCI    PCI device    Cirrus Logic Unknown device (rev
PCI0:18:0      PCI    PCI device    Macronix MX98715 / MX98725 (rev 3
PCI0:19:0      PCI    PCI device    Unknown vendor Unknown device (re
PCI1:0:0       PCI    PCI device    ATI Unknown device (rev 122)./VGA
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

Detailed probe results:

---- Devprobe structure for device /dev/psaux ----
PROBE_INFO : value = 0x40 [PS/2 AUX device]

   LINUX DEVICE   :  "/dev/psaux"
   BUS            :  "PSAUX"
   MODEL          :  "PS/2 Mouse"
   CLASS          :  "MOUSE"
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device /dev/hda ----
PROBE_INFO : value = 0x20 [IDE device]

   BUS            :  "IDE"
   LINUX DEVICE   :  "/dev/hda"
   BUS            :  "IDE"
   MODEL          :  "SAMSUNG SV0432A"
   GEOMETRY       :  "524 cyl, 255 heads, 63 sectors"
   CLASS          :  "HARD DRIVE"
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device /dev/hdc ----
PROBE_INFO : value = 0x20 [IDE device]

   BUS            :  "IDE"
   LINUX DEVICE   :  "/dev/hdc"
   BUS            :  "IDE"
   MODEL          :  "SAMSUNG SCR-3232"
   CLASS          :  "CDROM"
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:0:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:0:0"
   BUS            :  "PCI"
   CLASS          :  "Host bridge"
   MODEL          :  "Intel 440LX - 82443LX PAC Host (rev 3)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:1:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:1:0"
   BUS            :  "PCI"
   CLASS          :  "PCI bridge"
   MODEL          :  "Intel 440LX - 82443LX PAC AGP (rev 3)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:7:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:7:0"
   BUS            :  "PCI"
   CLASS          :  "ISA bridge"
   MODEL          :  "Intel 82371AB PIIX4 ISA (rev 2)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:7:1 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:7:1"
   BUS            :  "PCI"
   CLASS          :  "IDE interface"
   MODEL          :  "Intel 82371AB PIIX4 IDE (rev 1)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:7:2 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:7:2"
   BUS            :  "PCI"
   CLASS          :  "USB Controller"
   MODEL          :  "Intel 82371AB PIIX4 USB (rev 1)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:7:3 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:7:3"
   BUS            :  "PCI"
   CLASS          :  "Bridge"
   MODEL          :  "Intel 82371AB PIIX4 ACPI (rev 2)."
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:11:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:11:0"
   BUS            :  "PCI"
   CLASS          :  "Multimedia audio controller"
   MODEL          :  "Cirrus Logic Unknown device (rev 1)."
   VENDOR ID      :  "1013"
   DEVICE ID      :  "6003"
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:18:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:18:0"
   BUS            :  "PCI"
   CLASS          :  "Ethernet controller"
   MODEL          :  "Macronix MX98715 / MX98725 (rev 37)."
   PROBE RESULT   :  "SUCCEED"
   USER COMMENT   :  "jA*jA*Everywhere/NC100 Fast Ethernet Adaptor"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI0:19:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI0:19:0"
   BUS            :  "PCI"
   CLASS          :  "Unknown class"
   MODEL          :  "Unknown vendor Unknown device (rev 2)."
   VENDOR ID      :  "134d"
   DEVICE ID      :  "7890"
   PROBE RESULT   :  "SUCCEED"
---------- End of Devprobe structure -------------

---- Devprobe structure for device PCI1:0:0 ----
PROBE_INFO : value = 0x2 [PCI device]

   LINUX DEVICE   :  "PCI1:0:0"
   BUS            :  "PCI"
   CLASS          :  "VGA compatible controller"
   MODEL          :  "ATI Unknown device (rev 122)."
   VENDOR ID      :  "1002"
   DEVICE ID      :  "4757"
   PROBE RESULT   :  "SUCCEED"
   USER COMMENT   :  "jA*jA* IIC"
---------- End of Devprobe structure -------------

--------- END OF HW DISCOVERY SURVEY--------------------------------------------      
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The Macronix ID sounds like a chipset ID, and that's supported by the "USER COMMENT" in the Devprobe output. The card looks to be ID'ng as an NC100, which sounds reasonable to me. Accordingly I'd expect to see the tulip module listed in the output of lsmod. Is it?

If you do "ifconfig -a" is there an eth0 device listed? The output should also show the IRQ & IOport.

Am I right about this being RH 6.0? If so, installing the current tulip driver is likely to help.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
running ifconfig brings up only the loopback

haven't tried the -a parameter
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
it's turbolinux workstation 6.0

i've run insmod tulip.o but it always appears inactive.

and since no eth0 devices appear to come up with ifconfig i haven't bothered running any browsers to check.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
that user comment was thrown in by me when the proggie asked me to id the device
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
that's weird
tried the old 'insmod tulip.o'
and then ifconfig -a
and the eth0 device popped up


trouble is now how do i use it?
i went into the distro's network configuration package and assigned the card it's ip address and a netmask of 255.255.255.0 like the two other computers on the network.
However it still cannot seem to contact any of these computers

eth0      Link encap:Ethernet  HWaddr 00:20:78:B0:0E:49
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:5 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0xe800

# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.2 : 56(84) bytes of data.
From 192.168.1.2: Destination Host Unreachable
   
network addr is 192.168.1.0
broadcast addr is 192.168.1.255

can't detect any blinking lights on the hub either
as a matter of fact judging by the lights on the hub the nic doesn't appear to
be on although i was using it in windows a moment ago

....and lo and behold as soon as I rebooted the system the nic light on the hub blinked back on

the light went back off again as soon as i typed insmod tulip.o
0
 

Expert Comment

by:shelby38
Comment Utility
I have this same card and I can't get it to work under Mandrake 7.0. I email the company's support and here is what they sent. I still could not get my to work I emailed the company agian but I haven't hear back yet. Try it and see if you have better luck then I did. I'm giving up on the card and buying a different one.

I have a 10/100 Linksys card in my server, not the NC100 verison and it works find with the tulip driver.

****************************************************************************
                       Network Everywhere.
                   Network Everywhere Fast Ethernet Adapter(NC100 v2)

                    Linux Driver Installation
                    ~~~~~~~~~~~~~~~~~~~~~~~~~

         Copyright (C) 2000 Network Everywhere. All rights reserved.
****************************************************************************


A. Get source Code and produce a binary code
=============================================
Step 1 : Get the source code from the following site;

      FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/tulip.c
      FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/kern_compat.h

Step 2 : Compile the source code by using
 
         "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
          -Wall -Wstrict-prototypes -O6 -c tulip.c
          '[ -f /usr/include/linux/modversions.h ] && echo
          -DMODVERSIONS`"
                 


B. Installation guide using Slackware 3.XX
==========================================

Step 1 : Copy tulip.o into the latest kernel's modules:
         cp tulip.o /lib/modules/2.0.XX/net/tulip.o
         Where the XX is the version number of the latest kernel.

Step 2 : Modify /etc/rc.d/rc.modules:
         Unmark the line /sbin/modprobe  tulip

Step 3 : Reboot system:
         reboot

Step 4 : when system boots, the driver will be load.

Step 5 : run netconfig to setup TCP/IP
         (run 'ifconfig' or 'netstat -i' to see if there is a
         interface 'eth0')



C. Installation guide using Redhat 5.XX
=======================================

Step 1 : Copy tulip.o into the latest kernel's modules:
         cp tulip.o /lib/modules/2.0.XX/net/tulip.o
         Where the XX is the version number of the latest kernel.

Step 2 : Update kernel's module dependencies:
         /sbin/depmod -a

Step 3 : Check /etc/conf.modules:
         alias eth0 tulip
         options tulip options=X debug=X

Step 4 : Valid media types selections for options=X are:
         0 Auto-select (default to the 10baseT link)
         1 10base2
         2 AUI
         3 100baseTx
         4 10baseT-FD
         5 100baseTx-FD
         6 100baseT4
         7 100baseFx
         8 100baseFx-FD
         9 MII 10baseT
        10 MII 10baseT-FD
        11 MII (autoselect)
        12 10baseT (no autoselect), v0.69 and later only
        13 MII 100baseTx
        14 MII 100baseTx-FD
        15 MII 100baseT4

Step 5 : Valid debug levels for debug=X are:
         1 normal output
         2 more verbose
         3 even more verbose
         4 even more verbose
         6 insanely verbose

Step 6 : Reboot system:
         /sbin/shutdown -r now

Step 7 : when system boots, the driver will be load.

Step 8 : run netconfig to setup TCP/IP
         (run 'ifconfig' or 'netstat -i' to see if there is a interface
         'eth0')
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
still continuing with the question for now but want to leave it open for the moment

The url u referred to does not appear to exist
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Since I don't know which version of tulip.o you have in /lib/modules/2.*, first do an lsmod and see if there is a copy of the tulip module loaded. If there is, see if you can unload it with "rmmod tulip" (and check lsmod to see that it's not loaded). Then try to load the 0.91 version with "insmod -v /path-to/tulip.o" and see if lsmod shows it loaded. Then see if the eth0 device is listed in "ifconfig -a".
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
ok.... running kernel 2.2.13 but tried compiling the driver anyways

managed to get through and download the files now

got a whole pile of errors tried to compile though.... totally overflowed even the scrollback
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
What compile command did you use? I think you ought to have used the second one ("compile command:") listed at the end of tulip.c. I know that it will compile correctly using that command on a 2.2.14 kernel with no warnings or errors.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
i believe that was the one i used.... the non-smp one
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
What kind of errors did you get? Was it fussing about missing header files or something else?
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
i think i caught a bit of stuff about a LOT of syntax errors in the files
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
That sounds like something not right with the downloaded file. If you used Netscape to fetch the file from http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html, hold the shift key down when you click on the link to the tulip driver so it will go directly to a file (tulip.c).

I wouldn't mind seeing a bit of the errors, if they re-occur with a fresh download.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:Aikema
Comment Utility
ok.... will do

could it be i'm downloading from win98 that's the problem?
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
a few of the errors generated: (scrollback buffer couldn't handle the entire list it seems)

/usr/include/asm/pgtable.h: In function `flush_tlb_mm':
/usr/include/asm/pgtable.h:59: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `flush_tlb_page':
/usr/include/asm/pgtable.h:66: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `flush_tlb_range':
/usr/include/asm/pgtable.h:73: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `set_pgdir':
/usr/include/asm/pgtable.h:557: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h:558: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h:560: dereferencing pointer to incomplete type
tulip.c: At top level:
/usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
/usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
/usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
/usr/include/linux/coda.h:563: storage size of `attr' isn't known
/usr/include/linux/fs.h:423: storage size of `f_owner' isn't known
tulip.c: In function `strnlen':
/usr/include/asm/string.h:392: warning: `__res' might be used uninitialized in this function
tulip.c: At top level:
/usr/include/linux/sched.h:288: storage size of `times' isn't known


In file included from /usr/include/linux/malloc.h:4,
                 from tulip.c:123:
/usr/include/linux/slab.h: At top level:
/usr/include/linux/slab.h:50: warning: parameter names (without types) in functi
on declaration
/usr/include/linux/slab.h:51: parse error before `size_t'
/usr/include/linux/slab.h:52: `kmem_cache_create_R2gigd1c0b4e6' declared as func
tion returning a function
/usr/include/linux/slab.h:53: parse error before `void'
/usr/include/linux/slab.h:58: parse error before `int'
/usr/include/linux/slab.h:60: parse error before `size_t'
In file included from /usr/include/linux/netdevice.h:131,
                 from tulip.c:126:
/usr/include/linux/skbuff.h:44: field `stamp' has incomplete type
In file included from tulip.c:126:
/usr/include/linux/netdevice.h:366: parse error before `off_t'
/usr/include/linux/netdevice.h: In function `dev_lock_wait':
/usr/include/linux/netdevice.h:408: dereferencing pointer to incomplete type
In file included from /usr/include/linux/vmalloc.h:7,
                 from /usr/include/asm/io.h:101,
                 from tulip.c:131:
/usr/include/asm/pgtable.h: In function `flush_tlb_mm':
/usr/include/asm/pgtable.h:59: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `flush_tlb_page':
/usr/include/asm/pgtable.h:66: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `flush_tlb_range':
/usr/include/asm/pgtable.h:73: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h: In function `set_pgdir':
/usr/include/asm/pgtable.h:557: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h:558: dereferencing pointer to incomplete type
/usr/include/asm/pgtable.h:560: dereferencing pointer to incomplete type
tulip.c: At top level:
/usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
/usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
/usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
/usr/include/linux/coda.h:563: storage size of `attr' isn't known
/usr/include/linux/fs.h:423: storage size of `f_owner' isn't known
tulip.c: In function `strnlen':
/usr/include/asm/string.h:392: warning: `__res' might be used uninitialized in t
his function
tulip.c: At top level:
/usr/include/linux/sched.h:288: storage size of `times' isn't known
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Sorry, I didn't get an email notification of your last commnet for some reason. It wasn't until I saw the other question in Linux Networking that I realized you'd responded. We need to see the beginning of the error listings. I suspect a missing header file, and that would be listed very early on. Try adding "2>&1 compile-log" to the end of the compile command. All of the compiler output will be in the file "compile-log" in the current dir. Look for the first error(s) and they will be where the problem is.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
ok.... will do
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
I uploaded the compile-log to http://trains.virtualave.net/linux/compile-log.txt

Also I just tried compiling the tulip-diag program that is available in source
form from the same site as the driver and it appeared to compile just fine.
Here are its results:


Before insmod distro-included tulip.o and enabling device:
[root@localhost tulip]# ./tulip-diag -ee
tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Macronix 98715 PMAC adapter at 0xe800.    
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
EEPROM size is 6.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:20:78:B0:0E:49.
EEPROM transceiver/media description for the Macronix 98715 PMAC chip.
Leaf node at offset 32, default media type 041f ((null)).
 0 transceiver description blocks:
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0101 2000 b078 490e 2000 0078 0003
  041f 0b00 008e 1b03 006d 0304 008e 1b05
  006d 0000 0000 0000 0000 0500 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0540 2078 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0014 0000 0000 0000 0000 0531 10d9 d178
 ID block CRC 0xe3 (vs. 00).
  Full contents CRC 0xd178 (read as 0xd178).


After:
[root@localhost tulip]# ./tulip-diag -ee
tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)    
Index #1: Found a Macronix 98715 PMAC adapter at 0xe800.
 Port selection is MII, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
EEPROM size is 6.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:20:78:B0:0E:49.
EEPROM transceiver/media description for the Macronix 98715 PMAC chip.
Leaf node at offset 32, default media type 041f ((null)).
 0 transceiver description blocks:
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0101 2000 b078 490e 2000 0078 0003
  041f 0b00 008e 1b03 006d 0304 008e 1b05
  006d 0000 0000 0000 0000 0500 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0540 2078 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0014 0000 0000 0000 0000 0531 10d9 d178
 ID block CRC 0xe3 (vs. 00).
  Full contents CRC 0xd178 (read as 0xd178).        
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
You may have something with the diagnostic. Note that in the first case the port selector is set to "10mpbs-serial, half-duplex", but after you run insmod it changes to "MII, half-duplex". Those are not necessarily the same thing. That chipset supports an MII interface, which I don't think you even have and which certainly wouldn't do you any good. Even without compiling the current version you may be able to get it to work by installing it with a suitable option to force the correct media selection. For a 10Mbs ethernet I think you'd use "insmod tulip.o options=12" from the table at http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html.

Looking at the compiler output, it looks to me that something is wrong with the system header files. The first errors refer to things that should be defined in /usr/include/sys/types.h. That include file is typically automatically included by any other header file that needs those definitions, but doesn't seem to have been processed by your compile. Without having a TurboLinux installation in front of me to look at it's hard to say why sys/sytes.h isn't being included. You could try forcing it in by adding "#include <sys/types.h> before the first "#include" in tulip.c and see what happens.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
hmn.... i remember seeing a source cd in with the linux distro even though the plain old install seemed to install a lot of it too.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
ok... didn't try compiling the source code for the drivers again yet but here's a few things i did pick up

I executed
../tulip-diag -mm

Which returned
....
Port Selection is MII, half-duplex
....
....
No MII transceivers found!

Then I removed the module inserted it again with your suggested code line and then immediately ran ./tulip-diag which gave me the port selection as a 10mpbs-serial, half-duplex.
However after going into the turbonetcfg program to enable the card, when I got back out and ran the program once again it returned the port selection as a MII, half-duplex once again..... looks like it may be this program that is flipping the port selection around.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Actually it sounds to me like turbonetcfg is removing and re-installing the module as it is configuring it. You should try setting the options in /etc/conf.modules (might be /etc/modules.conf of Turbo) and reboot. Hopefully the net config would honor what's in there. I think what you'd want would be:

alias eth0 tulip
options tulip options=12

for a 10Mbps ethernet.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
hmn.... while, unless I first do insmod tulip.o the program can't even seem to bring the card online at all by itself.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
If you put the definition in /etc/conf.modules and reboot, the system should load tulip.o itself. You can check to see if it did by "lsmod". If that doesn't work that way, then we've got an additional problem that might be related the PCI scan or IRQ allocation. Is the card listed in /proc/pci?
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
ok.... basically i got a few spare ethernet cards for my sysadmin at school.  Slipped in an Acer ALN-320.... it's working fine in windows already... and.... the linux install detected it (unlike the NE NC100)...... can't really imagine anymore problems now....

the file copying process is currently ongoing but when that's over with i've gotta try pinging one of our other puters... (ie. this one) and then if that works this question is toast
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
okies... its in and it seems to be working fine... tried pinging... did and lil' surfing on the machine and now that i've got the case back on its time to hit the sack

....so.... who gets the points?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
Comment Utility
I dunno, who do you want give them to? And it is possible to split points if you want to.
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
Comment accepted as answer
0
 
LVL 1

Author Comment

by:Aikema
Comment Utility
thanks for all the great tips and suggestions....

although i ended replacing the offending network card (instead of managing to enable it) your time was greatly appreciated
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
You're welcome. Replacing the card is the easiest solution, but I'll bet we could have eventually figured out how to make the other card work.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now