[1357] in linux-net channel archive
SMC EtherPower PCI
daemon@ATHENA.MIT.EDU (Hersch@cris.com)
Sat Nov 11 17:42:21 1995
From: Hersch@cris.com
To: linux-net@vger.rutgers.edu
Date: Sat, 11 Nov 1995 03:51:56 -0500 (EST)
Cc: linux-kernel@vger.rutgers.edu
I'm having some problems trying to configure my SMC EtherPower
(PCI Ethernet Adapter). Seems like the system recognizes the
card but doesn't know how to handle it.
These are my relevant kernel settings (the ones set to Yes):
Networking Support
PCI BIOS Support
TCP/IP Networking
Dummy Net Driver
SLIP Support
CSLIP Compressed Headers
PPP Support
Western Digital/SMC Cards
WD80*3 Support
EISA, VLB, PCI and on board controllers
DEC 21040 PCI Support
The last one (DEC 21040) was added after uncommenting the line
in arch/i386/config.in that dealt with CONFIG_DEC_ELCP support.
That was done on the advice of the Ethernet HOW-TO, page 25.
This is making my network tools behave badly (i.e. ping and ifconfig
crash and coredump, respectively).
telnet and ftp are now behaving badly too. Using my slip connection
(established via dip/loopback) I can't ftp or telnet.
Both respond with:
Problem: block on freelist ar 01d4f208 isn't free
sock.c: Look where I am 0<0
I then have to CTRL-C out of the loop.
I'm running Linux 1.3.35.
32 Meg RAM
Adaptec 2940W SCSI adapter
The information I can provide is:
Results if ifconfig:
-----------------------------------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
eth0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-F7-00-00-00-00-00-00-00-00
inet addr:200.120.120.2 Bcast:200.120.120.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:0 Base address:0x0
My rc.inet1 file.
-------------------------------------------
#! /bin/sh
#
# rc.inet1 This shell script boots up the base INET system.
#
# Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93
#
HOSTNAME=`cat /etc/HOSTNAME`
# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the
# eth0 interface. If you're only using loopback or SLIP, don't include the
# rest of the lines in this file.
# Edit for your setup.
IPADDR="200.120.120.2" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK="200.120.120.0" # REPLACE with YOUR network address!
BROADCAST="200.120.120.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
GATEWAY="200.120.120.2" # REPLACE with YOUR gateway address!
# Uncomment ONLY ONE of the three lines below. If one doesn't work, try again.
# /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
# /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK}
# Uncomment these to set up your IP routing table.
/sbin/route add -net ${NETWORK} netmask ${NETMASK}
/sbin/route add default gw ${GATEWAY} metric 1
# End of rc.inet1
#
My /etc/hosts file:
-------------------------------------------
# For loopbacking.
127.0.0.1 localhost
200.120.120.2 info2.cris.com info2
200.120.120.1 info1.cris.com info1
# End of hosts.
cat /proc/net/dev:
At one point I was getting some info here. But alas,
I broke it worse while trying to fix it!
-------------------------------------------
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 0 0 0 0 0 0 0 0 0 0 0
dummy: No statistics available.
slip_proto: No statistics available.
eth0: No statistics available.
eth1: No statistics available.
eth2: No statistics available.
eth3: No statistics available.
I would appreciate any hints, advice and most of all solutions! :)
I was able to back up to a kernel I compiled without all the extra
network device drivers and ftp/telnet worked with nor problems.
Let me know if any other info or test is needed.
Thanks!
Herschel