From owner-freebsd-net Fri Jan 5 14:33:29 2001 From owner-freebsd-net@FreeBSD.ORG Fri Jan 5 14:33:22 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from krell.webweaver.net (krell.webweaver.net [64.124.90.11]) by hub.freebsd.org (Postfix) with ESMTP id C3B6C37B400 for ; Fri, 5 Jan 2001 14:33:22 -0800 (PST) Received: from xwin.nmhtech.com (xwin.daemontech.net [208.138.46.161]) by krell.webweaver.net (Postfix) with ESMTP id 99CC120F04; Fri, 5 Jan 2001 14:33:22 -0800 (PST) Content-Length: 5453 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 05 Jan 2001 14:33:22 -0800 (PST) Sender: altera@xwin.nmhtech.com From: Nicole To: ppX Subject: Re: Problem with fxp0 card and slowing/dying transmits - still :( Cc: freebsd-net@FreeBSD.ORG, Tom Samplonius Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 05-Jan-01 ppX wrote: > ifconfig fxp0 media 100baseTX mediaopt full-duplex > is the correct way to set 100mbps fdx > > i've had similar problems and they where related to > full-duplex/half-duplex settings... > *SIGH* Yup.. Well I tried setting the switch manually to: 100Mbps/Half/Enabled (BackPressure) (It won't let me select no Flow control) ifconfiging to 100BT/X it says media: 100baseTX status: active Same problem. Yes the switch is a Intel 460T. However the other servers are on the same switch with the same nic card and don't seem to have the problem. Now.. I have the server set to 100Mb/Full duplex. But same problem :( Switch: 100Mbps/Full/Enabled (IEEE 802.3x) Server: media: 100baseTX status: active root@goodserver:/usr/sbin> scp sendmail.8.9.3 nicole@badserver.com: nicole@badserver's password: Filesize = 290448 sendmail.8.9.3 | 8 KB | 8.0 kB/s | ETA: 00:00:34 | 2% sendmail.8.9.3 | 152 KB | 76.0 kB/s | ETA: 00:00:01 | 53% sendmail.8.9.3 | 160 KB | 14.5 kB/s | ETA: 00:00:08 | 56% ^CKilled by signal 2. root@goodserver:/root> scp LSOF nicole@badsever.com: nicole@badservers's password: Filesize = 340877 LSOF | 8 KB | 8.0 kB/s | ETA: 00:00:40 | 2% LSOF | 152 KB | 76.0 kB/s | ETA: 00:00:02 | 45% LSOF | 160 KB | 14.5 kB/s | ETA: 00:00:11 | 48% ^CKilled by signal 2. Filesize = 1569116 root@goodserver:/var/mail> scp xxx nicole@badserver.com: nicole@badservers's password: xxx | 8 KB | 8.0 kB/s | ETA: 00:03:10 | 0% xxx | 152 KB | 76.0 kB/s | ETA: 00:00:18 | 9% xxx | 160 KB | 14.5 kB/s | ETA: 00:01:34 | 10% ^CKilled by signal 2. HELLLLP Way frustrated Nicole > > On Fri, 5 Jan 2001, Nicole wrote: > >> >> On 05-Jan-01 Tom Samplonius wrote: >> > >> > On Thu, 4 Jan 2001, Nicole wrote: >> > >> > ... >> >> The problem is that when trying to scp a file or send a large file to it >> >> via >> >> sendmail, (large = 253952 ) it seems to transmit >> >> along >> >> happily, then (at least for scp) at abt 1/2 way through, it seems to just >> >> start >> >> crawling. When I have let it run, it will go forever and will seem to >> >> eventually finish but will hang as the transfer speed keeps dropping >> >> through >> >> the >> >> floor. >> > ... >> > >> > Mismatched duplex settings can cause problems like this. When using a >> > switch, duplex settings on your server and switch must match. Most >> > FreeBSD ethernet card drivers default to autonegotiation, but can be >> > changed with an ifconfig option. Auto negotiation may not be trustworthy >> > as it requires a good and recent switch, and a good and recent card. You >> > should verify that autonegotiation actually picks the right duplex setting >> > before trusting it with your hardware. Auto negotation requires that both >> > the server and switch are set to auto. "auto negotation" is not the same >> > as "auto detect". >> > >> > And hubs are always half-duplex. >> > >> > Tom >> >> Yup.... Set to 100/TX via ifconfig - >> >> Ifconfig -a shows: >> fxp0: flags=8843 mtu 1500 >> media: 100baseTX status: active >> supported media: autoselect 100baseTX 100baseTX >> 10baseT/UTP 10baseT/UTP >> >> The switch is showing: 100Mbps/Half/BP-Off >> >> >> As opposed to another server on the same switch, set to auto. >> >> ifconfig -a >> media: autoselect (100baseTX ) status: active >> supported media: autoselect 100baseTX 100baseTX >> 10baseT/UTP 10baseT/UTP >> >> The switch shows: 100Mbps/Full/Enabled (IEEE 802.3x) >> >> >> Hmm Even if I force the switch to full duplex it does not seem to change >> the >> server to full duplex when using autonegotiate via ifconfig.. What is the >> right syntax to force full neg via ifconfig? >> >> >> Nicole >> >> >> >> >> nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ >> webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ >> nicole@deviantimages.com // \\ http://www.deviantimages.com/ >> >> ---------------------------(((---(((---------------------------------------- >> >> -- Powered by Coka-Cola and FreeBSD -- >> -- I don't speak for anybody but myself - that's enough trouble -- >> -- Back Up My Hard Drive? I Can't Find The Reverse Switch! -- >> >> ------------------------------------------------------------------------- >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-net" in the body of the message >> nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ nicole@deviantimages.com // \\ http://www.deviantimages.com/ ---------------------------(((---(((---------------------------------------- -- Powered by Coka-Cola and FreeBSD -- -- I don't speak for anybody but myself - that's enough trouble -- -- Back Up My Hard Drive? I Can't Find The Reverse Switch! -- ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message