From owner-freebsd-arm@freebsd.org Sun Mar 5 03:18:30 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F836CEDB56 for ; Sun, 5 Mar 2017 03:18:30 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D71911AE9 for ; Sun, 5 Mar 2017 03:18:29 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x22c.google.com with SMTP id v125so50019175qkh.2 for ; Sat, 04 Mar 2017 19:18:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=P7n5XtjpuPOslmycXdtnvLt468eC2xWS2eyVhowqwhM=; b=Au/6SWLhP6nHTQBoUnSXhQmAa+6OFV6qBdLw4nhPViQaNVbcZccliliocBy73AAlk3 WbXFD12Q5II+J6Y9pfHsgUQ885rCbzcNJ8ZTWoLJS/qNOtip5kAN4BTrNNFD7SYPaKub hm64q/hBT1UQqFhN+MWpO2LGRV6NieYxYKlyU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=P7n5XtjpuPOslmycXdtnvLt468eC2xWS2eyVhowqwhM=; b=ColvNiI4bB7drIn8Qp7WkgKPmpWSDthSfmA9ikNN7RIUpMpTXK+Xc8msMFqfjgDbEg IDgJR+VNgrTPeJUzl+z+me8oyDGF5k1xnczjwoj3XvJCf/1s7iO/27oQtpn6RQ0Z+pVV wzbQG6dQ0PxGuxXxFf0Z3A+5tYpwpzScq6M7bDDD1UwmveDeRqmFuNh2pRRtLY9BcaIA yr2wpMx4M7NXkG5VtvZbqavAnp/lsB5ZyvT6AdB+coQmb66YdruFWE24jshdmxbwdmZc xihMT5w07buBwRVy6zi6mtHxYN9CJ4BI01rwPQidJJieexfLp5qBJK+nExEiKlXcqqqB W4pw== X-Gm-Message-State: AMke39nn/OW4GQEXMn0lDwqpmVrGfGtYUiWfi+g+rEEQ6dCY5cdYzr8b/NRuVBULPYifQQ== X-Received: by 10.200.48.118 with SMTP id g51mr10606845qte.19.1488683908688; Sat, 04 Mar 2017 19:18:28 -0800 (PST) Received: from [192.168.0.11] ([186.236.217.98]) by smtp.googlemail.com with ESMTPSA id a54sm10770110qta.48.2017.03.04.19.18.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Mar 2017 19:18:28 -0800 (PST) Subject: Fwd: Simple program immediately killed when running on a NFS References: To: "freebsd-arm@freebsd.org" From: =?UTF-8?B?T3RhY8OtbGlv?= X-Forwarded-Message-Id: Message-ID: Date: Sun, 5 Mar 2017 00:18:01 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 03:18:30 -0000 Dears I'm trying to compile a simple hello world program on my RPI3. The program is on a directory mounted using NFS and stored in the amd64 machine. When I compile and try to run the program in the NFS mounted path it does not work, when I copy the same program to a local dir it works, and then when I copy the program from the local dir to the NFS dir it works !?!?!?! Someone can, please, explain it? Look at the historic program. On this same scenario, my beagleboneblack behaves without mistakes. root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # cc -o conftest conftest.c root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # ./conftest Killed root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # cp conftest /usr/home/ota/conftest root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # /usr/home/ota/conftest Hello world! root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # cp /usr/home/ota/conftest ./conftest root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # ./conftest Hello world! root@rpi3:/usr/ports/benchmarks/netperf/work/netperf-2.7.0 # mount /dev/mmcsd0s2a on / (ufs, local, noatime, journaled soft-updates, nfsv4acls) devfs on /dev (devfs, local, multilabel) /dev/mmcsd0s1 on /boot/efi (msdosfs, local, noatime) /dev/md0 on /tmp (ufs, local, noatime, soft-updates) /dev/md1 on /var/log (ufs, local, noatime, soft-updates) /dev/md2 on /var/tmp (ufs, local, noatime, soft-updates) squitch:/usr/ports on /usr/ports (nfs) Thanks a lot! []'s -OtacĂ­lio