Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 00:13:50 GMT
From:      Richard Tobin <richard@cogsci.ed.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   collisions with vr interface
Message-ID:  <200103060013.AAA13098@sorley.cogsci.ed.ac.uk>

next in thread | raw e-mail | index | archive | help
I have a machine with a VIA VT6102 Rhine II ethernet card.  I connect
it directly (via a crossed UTP cable) to a machine with a generic
10Mbit/s NE2000 card.  The result is almost unusable: the NE2000 end
reports many collisions, typical ping output is

64 bytes from 192.168.1.10: icmp_seq=0 ttl=255 time=0.501 ms
64 bytes from 192.168.1.10: icmp_seq=1 ttl=255 time=0.465 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=255 time=0.441 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=255 time=0.440 ms
64 bytes from 192.168.1.10: icmp_seq=4 ttl=255 time=0.439 ms
64 bytes from 192.168.1.10: icmp_seq=5 ttl=255 time=93.763 ms
64 bytes from 192.168.1.10: icmp_seq=6 ttl=255 time=0.442 ms

(ie usually fine but sometimes delays).  The Rhine end reports no
collisions.  The NE2000 has worked well connected to other machines
(including 100Mbit/s capable ones).   The Rhine machine talks happily
to my laptop (fxp interface) at 100MBit/s full duplex.

My first thought was that this would be a half/full duplex problem,
but ifconfig reports "media: 10baseT/UTP" (no mention of duplex).

If I try 
  ifconfig vr0 mediaopt half-duplex
I get
  ifconfig: SIOCSIFMEDIA: Device not configured

If I try
  ifconfig vr0 -mediaopt full-duplex
it makes no difference.

The relevant boot lines from /var/log/messages are:

 vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe800-0xe8ff mem 0xdf000000-0xdf0000ff irq 10 at device 9.0 on pci0
 vr0: Ethernet address: 00:50:ba:e7:b1:33
 miibus0: <MII bus> on vr0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

and:

 ed0 at port 0x300-0x31f iomem 0xd8000 irq 11 on isa0
 ed0: address 00:c0:df:00:10:58, type NE2000 (16 bit) 

The Rhine machine is running 4.2, the NE2000 machine 4.1.1.

Any suggestions?

-- Richard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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