From owner-freebsd-questions Wed Nov 7 23:15: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 7B47337B425 for ; Wed, 7 Nov 2001 23:14:49 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id fA87EhT96254; Wed, 7 Nov 2001 23:14:43 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: , , Subject: RE: trouble ftp'ing kdebase-2.2.1.tar.bz2 source file Date: Wed, 7 Nov 2001 23:14:42 -0800 Message-ID: <003001c16825$095db7a0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <200111071919.fA7JJE213903@h216-170-019-170.adsl.navix.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Dave, Sorry for the top-post but I've seen this problem before and it's a rare one - but it will have you ripping your hair out in frustration trying to solve it. It's also a very subtle one so I'm going to take a while to explain it. What's going on is that something on your network is corrupting packets. It could be a bad connection, failed hub, duplex problem, bad NIC, interaction between NIC and hub, internal machine bus problem, whatever. In the few times I've seen this it's always been fixed by replacing the NIC with a different model, so I'd start by replacing the NIC in the FreeBSD system with one from a different manufacturer, this will hit enough variables that it will probably make the problem go away. Now, the reason that none of the other files are blowing up is a bit more complex. Basically, there's a bunch of CRC and other error checking that's done on network packets, to enable the systems to discard really bad ones, and repair ones that aren't damaged that much. What's happening with your kdebase-2.2.1 file is that at the point of failure, a packet is being recieved that has a data pattern that is being corrupted in such a way that the packet is _still_passing_ all of the lower-level CRC checking. So, the packet gets to the highest level of the IP stack carrying information that's totally bogus, and the socket isn't expecting this because it's supposed to be impossible, and so cannot handle it and blows up and the FTP app comes to a screeching halt. This is also why your not seeing it under Windows, because that stack uses different logic and is probably catching the packet - also if the corruption is occuring in the NIC or the driver to the NIC instead of on the wire (most likely) then everything works fine there. Sometimes playing with the MTU is a quick and dirty way of verifying this - try setting the MTU on the BSd and Winx boxen to 512 (instead of the normal 1500 used on Ethernet) and if this is the problem this will most likely fix it or cause the halt to occur elsewhere in a transmission between both systems. But the MTU has to be set on both systems and this also doesen't always work. Also, last thing, make positive that the BIOS settings on the BSD box are NOT setting the PCI or ISA buss any faster than the standard. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Dave Cantrell >Sent: Wednesday, November 07, 2001 11:19 AM >To: freebsd-questions@FreeBSD.ORG; kde@mail.kde.org >Subject: trouble ftp'ing kdebase-2.2.1.tar.bz2 source file > > >I do not appear to be able to ftp the kdebase-2.2.1.tar.bz2 file from >either the main kde source site (or any of the mirror sites) to my FreeBSD >4.4 box. I can grab the file from any of the WinXx boxen at my disposal, >but still cannot ftp the file to my FreeBSD box from any of them either. > >The ftp session ALWAYS stalls at exactly the same point, 4876kb (or more >exactly 4993024 bytes). I receive no error messages, the session just >stalls until I CTRL-C and kill the session. > >At first I thought it was the file size, but before and since then I have >ftp'd numerous files larger than the 12 meg of kdebase. I then thought >about some sort of quota's, but as far as I know, there is no such thing on >my 1-user system, I sure didn't explicitly set them up :-); besides the >same thing happens when I try to ftp it alone, in the middle or at the end >of a larger ftp session. > >I have checked the archives, and no one else appears to have had problems >grabbing the kde-2.2.1 source files (compiling/installing is another >matter). I have had absolutely no problem (like this) with any other >file, ever, including ftp'ing all the other kde-2.2.1 source files from the >same sites. > >Any ideas on what is causing this problem, would be appreciated, otherwise >I'll just have to say at 2.2 until 2.2.2 comes out :-( > >drc >-- >Dave Cantrell | Contrary to popular belief, UNIX is User Friendly. >phaedrus@alltel.net | It's just choosy with whom it makes friends. >Lincoln, Nebraska, USA | And currently we have only a nodding acquaintance. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message