From owner-freebsd-arm@FreeBSD.ORG Thu Aug 8 13:04:47 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 98A34526 for ; Thu, 8 Aug 2013 13:04:47 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F6AB20C8 for ; Thu, 8 Aug 2013 13:04:47 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1V7PtQ-0005A7-AC; Thu, 08 Aug 2013 13:04:40 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r78D4cQv030122; Thu, 8 Aug 2013 07:04:38 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19iXReVRyFFapCxSxhfJnWs Subject: Re: System freezes when using scp From: Ian Lepore To: Krister Olofsson In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Thu, 08 Aug 2013 07:04:37 -0600 Message-ID: <1375967077.3320.117.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 13:04:47 -0000 On Thu, 2013-08-08 at 13:44 +0200, Krister Olofsson wrote: > Hi, > > I'm working with a board with FreeBSD 8.2 on Marvell MV78100 (Discovery > SOC) - an ARMv5TE and Marvell Gigabit Ethernet controller. > My problem is that when I copy files (size ca 50 Mb) with scp using > ethernet, the system > seems to freeze for a few seconds before the copy process starts. > The board has an external watchdog that has to be kicked but the script > doing this freezes and the system is rebooted by the watchdog. > > Any ideas how to tackle this? > > Regards, > Krister > > Configuration: > > # > # Custom kernel for PROJ, based on Marvell's DB-78xx > # > [...] Do you get the same kind of pause interactively ssh'ing to it? When you say "a few seconds" what do you mean? 3 seconds? 8? 30? I think a good first step is to figure out whether the problem is related to ssh, or network IO, or disk IO. You can take ssh out of the picture by using netcat to test, something like: On the arm: nc -l 8000 >/output/file On the sender: nc 8000