Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 15:20:33 -0400 (EDT)
From:      Mike D Tancsa <mdtancsa@sentex.net>
To:        questions@FreeBSD.ORG
Subject:   How to reset an fxp ethernet interface
Message-ID:  <199804221920.PAA29587@granite.sentex.net>

next in thread | raw e-mail | index | archive | help
I came across something I dont quite understand and not sure where to start
looking. I am in the process of adding a new FreeBSD box into the
production mix and was testing out the interfaces and cabling for it when I
discovered this behaviour that I am not sure if is switch related or driver
related.

machine A and B connected via a switching hub, both media: 100baseTX
<full-duplex>

transfer a file from B to A
49643600 bytes received in 15.58 seconds (3.04 MB/s)

Looks good.

Now, I want to test a different cable, to make sure the big file transfers
OK, without generating input or output errors on either side of the
interface. So I unplug the existing cable and plug in the new cable.

49643600 bytes received in 52.35 seconds (926.02 KB/s)

....And sometimes even slower. I tried an ifconfig down and up, and also
tried explicitly setting the media options again by doing
ifconfig inet 192.168.200.1  netmask 255.255.255.224 media 100basetx
mediaopt full-duplex

and again doing an ifconfig down and ifconfig up... Still, the same slow
performance.

But, when I do a 'sync;shutdown -r now' and the machine comes back up
again, the second cable performs flawlessly at the expected speed.

Does anyone know whats going on, or how I can reset the interface that
simulates a reboot without actually rebooting the machine ?

The machine is
FreeBSD 2.2.6-STABLE #0: Tue Apr 21 13:15:09 EDT 1998
    mdtancsa@temp-iolite.sentex.ca:/usr/src/sys/compile/IOLITE
CPU: Pentium (200.46-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 63954944 (62456K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82439TX PCI cache memory controller> rev 1 on pci0:0:0
chip1 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip3 <Intel 82371AB USB interface> rev 1 int d irq 15 on pci0:7:2
chip4 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 11 on pci0:10:0
fxp0: Ethernet address 00:a0:c9:4b:a5:f4
fxp1 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 10 on pci0:11:0
fxp1: Ethernet address 00:a0:c9:8c:f1:53
fxp2 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 15 on pci0:12:0
fxp2: Ethernet address 00:a0:c9:89:d9:7e
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>


Thanks,


        ---Mike

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?199804221920.PAA29587>