Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 1995 22:24:32 +0100 (MET)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        hardware@freebsd.org (Hardware Mailing list)
Subject:   Bad harware or not ?
Message-ID:  <199510302124.WAA00511@keltia.freenix.fr>

next in thread | raw e-mail | index | archive | help
Hello,

I have a  SMC WD8013EP (boot messages  below). Since between 2.0 and 2.0.5,
it begun to show input  errors (Ierrs in  "netstat -i" output). I filled  a
bug report thinking it was a problem in the "ed" driver a while ago.

I have tested:
- using AUI with a RJ45 tranceiver,
- changing my  thin ethernet cable (I've  not tried changing the terminators
  as I don't have many of them),
- eliminating  some "experimental options"   in my kernel  (AUTO_EOI_1 and
  such),

--> No changes. 

But I don't really know where lies the problem... 

Does anyone has an idea ? Is the card missing interrupts or something else ? 

FTP from this machine to another is acceptable, mostly 400-500 KB/s

ncftp>put cvs-951029.tar.gz 
Sending file: cvs-951029.tar.gz 
100%  0                                               1267419 bytes. ETA:  0:00
cvs-951029.tar.gz: 1267419 bytes sent in 2.37 seconds, 522.72 K/s.

FTP from another machine to this one is unacceptable, I  get between 30 and
60 KB/s...

netstat -i before the transfert:

201 [21:35] roberto@keltia:~> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08         4025    46     4108     0     3
                                            ^^^^^^^^^^^^^^^^^^^
ed0   1500  FR-ATL-NET  keltia              4025    46     4108     0     3

ncftp>get cvs-951029.tar.gz 
Receiving file: cvs-951029.tar.gz 
100%  0                                               1267419 bytes. ETA:  0:00
cvs-951029.tar.gz: 1267419 bytes received in 25.91 seconds, 47.77 K/s.

netstat -i after the transfert:

202 [22:16] roberto@keltia:~> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08         5091    83     4529     0     3
                                            ^^^^^^^^^^^^^^^^^^^
ed0   1500  FR-ATL-NET  keltia              5091    83     4529     0     3

Relevant info:

PC 486DX-33, 32 MB, EISA with a BT747S and a AHA-1740A. 
The other end is a sparcbook running SunOS 4.1.3.

------------------------------------------------------------
FreeBSD 2.2-CURRENT #5: Sun Oct 29 22:44:15 MET 1995
    roberto@keltia.freenix.fr:/src/src/sys/compile/KELTIA
CPU: i486DX (486-class CPU)
real memory  = 33554432 (32768K bytes)
avail memory = 31379456 (30644K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa
ed0: address 00:00:c0:4d:ed:08, type WD8013EP (16 bit) 
------------------------------------------------------------
#
# KELTIA
#
#	$Id: GENERIC,v 1.11 1994/11/08 07:39:26 jkh Exp $
#

machine		"i386"
cpu			"I486_CPU"
ident		"KELTIA"
maxusers	20

options		INET					#InterNETworking
options		FFS						#Berkeley Fast Filesystem
options		MFS						#Berkeley Fast Filesystem
options		PROCFS					#Berkeley proc Filesystem
options		UNION			        #Union filesystem
options		"CD9660"				#ISO FS
options		"COMPAT_43"				#Compatible with BSD 4.3
options		"SCSI_2_DEF"			#hack for the mp1624
options		UCONSOLE				#for xconsole

options		"AUTO_EOI_1"
options		"AUTO_EOI_2"
options		DUMMY_NOPS
options     TEST_LABELLING
options		"COMPAT_LINUX"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"SHMMAXPGS=128"          # 512 KB of sharable memory

options		"CHILD_MAX=128"
options		"OPEN_MAX=128"

options		KTRACE

config		kernel	root on sd0 swap on sd0 and sd1 and sd2 dumps on sd0

controller	isa0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
controller	scbus0 at bt0
controller	ahb0 at isa? bio irq ? vector ahbintr
controller	scbus1 at ahb0

# BT: conner + CD
disk		sd0 at scbus0 target 0 unit 0
device		cd0 at scbus0 target 6
# 1740: seagate + streamer + DAT
disk		sd2 at scbus1 target 2
tape		st0 at scbus1 target 5
tape		st1 at scbus1 target 4

controller	snd0
device sb0	at isa? port 0x220 irq 5 drq 3 vector sbintr
device opl0	at isa? port 0x388

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		lpt0	at isa? port? tty irq 7 vector lptintr

device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device   bpfilter 4  #Berkeley packet filter
pseudo-device	pty	32
pseudo-device	speaker
pseudo-device   vn          #Vnode driver (turns a file into a device)
pseudo-device	disc		#Discard device
pseudo-device	tun	1		#Enable user-level PPP see ppp(8)
pseudo-device   snp 3       #Snoop device - to look at pty/vty/etc..

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia.freenix.fr 2.2-CURRENT #5: Mon Oct 30 00:03:29 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510302124.WAA00511>