Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 20:11:21 -0700 (PDT)
From:      Matt Groener <root@groenquist.com>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        Matt Groener <matt@groenquist.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: fxp driver in -stable ...
Message-ID:  <Pine.BSF.4.21.0105022007170.476-100000@joliet.groenquist.com>
In-Reply-To: <Pine.BSF.4.33.0105020356540.411-100000@mobile.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The errors I received were the classic errors which denote that there is a
negotiation mismatch between the card and the switch. I had the card set to
auto-negotiate (the default for the fxp driver); the switch was hard-set to
full-duplex 100Mb. The errors were "FCE" errors, and the symptom was
rediculously poor performance (20KB/sec). Once I set both card and switch
port to full-duplex 100Mb, the errors disappeared and I was able to get
"normal" performance (which for me is around 5-6MB/sec. average).

-matt


On Wed, 2 May 2001, The Hermit Hacker wrote:

> On Tue, 1 May 2001, Matt Groener wrote:
> 
> > I am currently running -STABLE with fxp card with no problems.
> > I am in the middle of a multiple hundreds of GB transfer (280GB)
> > with no problems so far. My only change was to force the "media"
> > and "mediaopt" functionality in ifconfig so that my Cisco switch
> > would stop erroring out (maybe your problem?)
> 
> What kind of "erroring out" were/are you seeing?
> 
> 
> >
> > My configs: (none of the unimportant data is real, sorry)
> > # uname -a
> > FreeBSD my.server.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Apr 30
> > 12:37:46 PDT 2001 root@my.server.com:/usr/obj/usr/src/sys/KERNCONF  i386
> >
> > # dmesg | grep fxp (this is a dual port card)
> > fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9000-0x901f mem
> > 0xf5800000-0xf58fffff,0xfc000000-0xfc000fff irq 11 at device 4.0 on pci2
> > fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x9020-0x903f mem
> > 0xf5900000-0xf59fffff,0xfc001000-0xfc001fff irq 9 at device 5.0 on pci2
> >
> > # ifconfig (only the fxp* ports)
> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         inet 192.168.9.81 netmask 0xfffff800 broadcast 192.168.15.255
> >         ether FF:FF:FF:FF:FF:FF (* deleted for paranoia *)
> >         media: 100baseTX <full-duplex> status: active
> >         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> >                          10baseT/UTP <full-duplex> 10baseT/UTP
> > fxp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> >         ether FF:FF:FF:FF:FF:FF (* deleted for paranoia *)
> >         media: autoselect status: no carrier
> >         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> >                          10baseT/UTP <full-duplex> 10baseT/UTP
> >
> > # /etc/rc.conf config line (wrapped)
> > ifconfig_fxp0="inet 192.168.9.81 netmask 255.255.248.0 media 100baseTX \
> >                mediaopt full-duplex"
> >
> > -matt
> >
> >
> > On Wed, 2 May 2001, The Hermit Hacker wrote:
> >
> > >
> > > Morning all...
> > >
> > > 	Earlier today, I posted asking about potential causes for a hang
> > > of a machine running -stable ...techies got a chance to get down to the
> > > office this evening, and it turns out that the fxp driver was "wedged",
> > > with a simple 'ifconfig down/up' rectifyin gthe situation ...
> > >
> > > 	Does anyone know of there were/are any problems with the driver
> > > from an April 14th (4.3-RC) kernel/world?  I'm cvsup'ng latest -STABLE
> > > kernel and world, and will be upgrading, but just wondering if anyone
> > > knows of any problems ...
> > >
> > > 	Basically, when they did a 'ping' from the machine, the error was
> > > something like 'No Buffer Space' (exact error we aren't sure of, as
> > > nothing in messages, and it scrolled off before we thought to write it
> > > down ;( ) ...
> > >
> > > 	Maybe a parameter I have to increase?  Or a DOS attack that
> > > flooded the NIC?
> > >
> > > Thanks ...
> > >
> > > Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> > > Systems Administrator @ hub.org
> > > primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-stable" in the body of the message
> > >
> >
> >
> >
> >
> >
> 
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org
> 
> 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105022007170.476-100000>