From owner-freebsd-arm@FreeBSD.ORG Thu Aug 8 11:44:03 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 AC9D52B8 for ; Thu, 8 Aug 2013 11:44:03 +0000 (UTC) (envelope-from krister.olofsson@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 30C8A2AF9 for ; Thu, 8 Aug 2013 11:44:03 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id a12so2437823wgh.18 for ; Thu, 08 Aug 2013 04:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yrVsChpJ/bwEpfFENNnScmcz9jYuOBU1m7fFNoj9RuY=; b=JQadzB/x/fwS22iZHh45RpsteCkCWLrIbUR/7uL/g9DiHMPX3QvTSkPUJ/UtSft5L+ ZViZ7kSmDYAjgUJIUBPCNA1ea6n24/d1U3x2oe1ZSWfT9BzKGGjShcFyc0f27zDotVu8 CIgquq2Kh0FQNrUiX/O2hXACOae0BxfQ455BwAaQwCf1/Dy5jfCb7up5lDbwHY3nJ6ld K+Qg5J48Yahzc6mbFDcWcQWxPL2olZoP5uoBY0BmKuz4W6FMPlBZN/lZcezskoG3EWnp kf/ZohhQ0AneHheBBlm4u4e//iB6ZPydXmr47EX31vXbKnTfVkni7LCihEFJwLBuE01c 56Yw== MIME-Version: 1.0 X-Received: by 10.180.185.49 with SMTP id ez17mr4836980wic.12.1375962241361; Thu, 08 Aug 2013 04:44:01 -0700 (PDT) Received: by 10.216.28.5 with HTTP; Thu, 8 Aug 2013 04:44:01 -0700 (PDT) Date: Thu, 8 Aug 2013 13:44:01 +0200 Message-ID: Subject: System freezes when using scp From: Krister Olofsson To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 11:44:03 -0000 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 # ident DEV include "../mv/discovery/std.db78xxx" options SOC_MV_DISCOVERY makeoptions MODULES_OVERRIDE="" #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols makeoptions WERROR="-Werror" options SCHED_ULE #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options NFSCLIENT #Network Filesystem Client options NFSLOCKD #Network Lock Manager options NFS_ROOT #NFS usable as /, requires NFSCLIENT #options BOOTP #options BOOTP_NFSROOT #options BOOTP_NFSV3 #options BOOTP_WIRED_TO=mge0 options GEOM_PART_BSD options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options MUTEX_NOINLINE options RWLOCK_NOINLINE options NO_FFS_SNAPSHOT options NO_SWAPPING # Uncomment the next 3 lines and comment the 4th, to enable ramdisk rootfs #options MD_ROOT #options MD_ROOT_SIZE=29696 #options ROOTDEVNAME=\"ufs:md0\" options ROOTDEVNAME=\"ufs:/dev/ad0s1\" # Debugging #options ALT_BREAK_TO_DEBUGGER #options DDB #options DIAGNOSTIC #options INVARIANTS #Enable calls of extra sanity checking #options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #options KDB #options WITNESS #Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed #options WITNESS_KDB options HZ=2000 device pci # Pseudo devices device loop device md device pty device random # Serial ports device uart # Networking device ether device mge # Marvell Gigabit Ethernet controller device mii device e1000phy device bpf # USB options USB_DEBUG # enable debug msgs device usb device ehci device umass device scbus device pass device da # I2C (TWSI) device iic device iicbus device ds133x # SATA device ata device atadisk