*BSD News Article 66774


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!olivea!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!news2.new-york.net!newton.crisp.net!hpp
From: hpp@newton.crisp.net (Paul Hein)
Subject: Re: Help! SMC Etherpower 10/100 NIC with FreeBSD 2.1
X-Newsreader: TIN [version 1.2 PL2]
X-Nntp-Posting-User: (Unauthenticated)
Organization: CrispNet Internet Services
Message-ID: <DqGB3B.94L@news2.new-york.net>
References: <DqEByu.FEt@news2.new-york.net> <4loq8s$7qp@verdi.nethelp.no>
X-Trace: 830491173/10759
X-Nntp-Posting-Host: newton.crisp.net
Date: Fri, 26 Apr 1996 03:59:34 GMT
Lines: 75

Steinar Haug (sthaug@nethelp.no) wrote:
: [Pravin Humane]

: |   I recently installed FreeBSD 2.1.0-RELEASE on a P75 Intel endavor
: |   motherboard with SMC Ehterpower PCI network card 
: |   ( DC21140 based 10/100 Mbps) 
: |   
: |   Everything seems to be fine, except that whenever I telnet from
: |   this machine to a BSDI 1.1 with SMC elite Ultra( ISA card), it takes
: |   minutes to echo keystrokes. Same thing if I try to connect from BSDI 
: |   machine to FreeBSD.
: |   
: |   BSDI machine has been in operation for one year flawlessly and works
: |   great. ( It's a news server. )
: |   I can connect to FreeBSD machine from any other machines
: |   ( terminal servers or NE2000 based NIC machines ) without any problems.
: |   
: |   Is there any patch available for this driver?. I tried going through
: |   the source code ( if_de.c ) and the README file warns about beta 
: |   software. Does anyone know if this card works well with FreeBSD?.

: I've used the Etherpower 10/100 in both 10 Mbit/s and 100 Mbit/s modes,
: and it's always worked well for me with the standard if_de.c driver.

: Maybe you should try tcpdump to find out *why* your keystroke echos take
: such a long time?

: Steinar Haug, Nethelp consulting, sthaug@nethelp.no

I did try that but could not find any clues. Here is the tcpdump output
for telnet from ns1 ( FreeBSD with Etherpower ) to newton ( BSDI with
SMC elite Ultra ). This took whopping 18 seconds to get the login banner.
Note that both these machines are on same ethernet and they communicate
with other machines on the lan quite promptly.

Thanks again,
hpp

$ /usr/sbin/tcpdump 'host ns1 and newton'
/usr/sbin/tcpdump: listening on we0
04:11:39.093966 ns1.crisp.net.1131 > newton.crisp.net.domain: 20315+ (34)
04:11:39.095022 newton.crisp.net.domain > ns1.crisp.net.1131: 20315* 1/3/4 (203)
04:11:39.099833 ns1.crisp.net.1060 > newton.crisp.net.telnet: S 1530432001:1530432001(0) win 16384 <mss 1460,nop,wscale 0,nop,nop,opt-8:00003338eb3e8031,opt-170:01003a0000003a00000012000000c09feebf0000c057bf7e08004500002c5cdd00003c067a27c7e00c02c7e00c050017042424fc36015b388a02601210009d8f000002040400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000> [tos 0x10]
04:11:39.100266 newton.crisp.net.telnet > ns1.crisp.net.1060: S 620508673:620508673(0) ack 1530432002 win 4096 <mss 1024>
04:11:40.140142 newton.crisp.net.telnet > ns1.crisp.net.1060: S 620508673:620508673(0) ack 1530432002 win 4096 <mss 1024>
04:11:40.140514 ns1.crisp.net.1060 > newton.crisp.net.telnet: . ack 1 win 16384 [tos 0x10]
04:11:40.142961 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 1:28(27) ack 1 win 16384 [tos 0x10]
04:11:40.290154 newton.crisp.net.telnet > ns1.crisp.net.1060: . ack 28 win 4069
04:11:40.707015 newton.crisp.net.telnet > ns1.crisp.net.1060: P 1:16(15) ack 28 win 4069 [tos 0x10]
04:11:45.640142 newton.crisp.net.telnet > ns1.crisp.net.1060: P 1:38(37) ack 28 win 4096 [tos 0x10]
04:11:55.640157 newton.crisp.net.telnet > ns1.crisp.net.1060: P 1:38(37) ack 28 win 4096 [tos 0x10]
04:12:15.640173 newton.crisp.net.telnet > ns1.crisp.net.1060: P 1:38(37) ack 28 win 4096 [tos 0x10]
04:12:15.642067 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 28:107(79) ack 38 win 16384 [tos 0x10]
04:12:15.643476 newton.crisp.net.telnet > ns1.crisp.net.1060: P 38:62(24) ack 107 win 4096 [tos 0x10]
04:12:20.560794 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 28:107(79) ack 38 win 16384 [tos 0x10]
04:12:20.561156 newton.crisp.net.telnet > ns1.crisp.net.1060: . ack 107 win 4096 [tos 0x10]
04:12:30.559523 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 28:107(79) ack 38 win 16384 [tos 0x10]
04:12:30.559849 newton.crisp.net.telnet > ns1.crisp.net.1060: . ack 107 win 4096 [tos 0x10]
04:12:50.557032 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 28:107(79) ack 38 win 16384 [tos 0x10]
04:12:50.557343 newton.crisp.net.telnet > ns1.crisp.net.1060: . ack 107 win 4096 [tos 0x10]
04:12:55.650235 newton.crisp.net.telnet > ns1.crisp.net.1060: P 38:62(24) ack 107 win 4096 [tos 0x10]
04:12:55.666320 ns1.crisp.net.1060 > newton.crisp.net.telnet: . ack 62 win 16384 [tos 0x10]
04:12:55.740187 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 107:190(83) ack 62 win 16384 [tos 0x10]
04:12:55.910212 newton.crisp.net.telnet > ns1.crisp.net.1060: . ack 190 win 4096 [tos 0x10]
04:12:56.204147 newton.crisp.net.telnet > ns1.crisp.net.1060: P 62:65(3) ack 190 win 4096 [tos 0x10]
04:12:56.204732 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 190:193(3) ack 65 win 16384 [tos 0x10]
04:12:56.249933 newton.crisp.net.telnet > ns1.crisp.net.1060: P 65:77(12) ack 193 win 4096 [tos 0x10]
04:12:56.250915 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 193:199(6) ack 77 win 16384 [tos 0x10]
04:12:56.251210 newton.crisp.net.telnet > ns1.crisp.net.1060: P 77:89(12) ack 199 win 4090 [tos 0x10]
04:12:56.251814 ns1.crisp.net.1060 > newton.crisp.net.telnet: P 199:208(9) ack 89 win 16384 [tos 0x10]
04:12:56.252146 newton.crisp.net.telnet > ns1.crisp.net.1060: P 89:162(73) ack 208 win 4087 [tos 0x10]
04:12:56.266216 ns1.crisp.net.1060 > newton.crisp.net.telnet: . ack 162 win 16384 [tos 0x10]
04:12:57.342934 newton.crisp.net.telnet > ns1.crisp.net.1060: P 162:169(7) ack 208 win 4096 [tos 0x10]
04:12:57.466078 ns1.crisp.net.1060 > newton.crisp.net.telnet: . ack 169 win 16384 [tos 0x10]