From owner-freebsd-stable Wed May 2 20:11:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from joliet.groenquist.com (cx707588-b.santab1.ca.home.com [65.5.150.38]) by hub.freebsd.org (Postfix) with ESMTP id 73B7D37B440 for ; Wed, 2 May 2001 20:11:28 -0700 (PDT) (envelope-from root@groenquist.com) Received: from localhost (root@localhost) by joliet.groenquist.com (8.11.3/8.11.2) with ESMTP id f433BLN00585; Wed, 2 May 2001 20:11:21 -0700 (PDT) (envelope-from root@groenquist.com) Date: Wed, 2 May 2001 20:11:21 -0700 (PDT) From: Matt Groener Reply-To: Matt Groener To: The Hermit Hacker Cc: Matt Groener , freebsd-stable@FreeBSD.ORG Subject: Re: fxp driver in -stable ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: port 0x9000-0x901f mem > > 0xf5800000-0xf58fffff,0xfc000000-0xfc000fff irq 11 at device 4.0 on pci2 > > fxp1: port 0x9020-0x903f mem > > 0xf5900000-0xf59fffff,0xfc001000-0xfc001fff irq 9 at device 5.0 on pci2 > > > > # ifconfig (only the fxp* ports) > > fxp0: flags=8843 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 status: active > > supported media: autoselect 100baseTX 100baseTX > > 10baseT/UTP 10baseT/UTP > > fxp1: flags=8802 mtu 1500 > > ether FF:FF:FF:FF:FF:FF (* deleted for paranoia *) > > media: autoselect status: no carrier > > supported media: autoselect 100baseTX 100baseTX > > 10baseT/UTP 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