Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 09:57:15 -0300
From:      =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, rmacklem@uoguelph.ca
Subject:   Re: Simple program immediately killed when running on a NFS
Message-ID:  <55c83b2d-2f1f-697e-25ff-2c6c4c2e6fea@bsd.com.br>
In-Reply-To: <4c54882b-1cde-911f-84b1-c184013b6810@bsd.com.br>
References:  <f1578a63-2a90-6bd1-4444-d96c1829e0dc@bsd.com.br> <f2925b68-c55c-db8d-f9c0-a4b03e30a62e@bsd.com.br> <D4B1E8F1-E209-46B0-9E64-65BE171040A2@cs.huji.ac.il> <f2dd0367-5c8d-efe0-8965-4648b33cd016@bsd.com.br> <CBD53C6B-63A1-4F73-81C7-B708CAE247EF@cs.huji.ac.il> <4c54882b-1cde-911f-84b1-c184013b6810@bsd.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 05/03/2017 09:43, Otacílio escreveu:
> Em 05/03/2017 09:08, Daniel Braniss escreveu:
>>
>>> On 5 Mar 2017, at 13:16, Otacílio <otacilio.neto@bsd.com.br 
>>> <mailto:otacilio.neto@bsd.com.br>> wrote:
>>>
>>> was killed: text file modification
>>
>> sounds like nfs issue,(hence involving Rick),  but just in case, are 
>> the dates in sync between the serve and client?
>> with the hello world program, try running it again
>>
>> danny
>>
>>
>>
> Server (amd64) is ntpd disabled while client (RPI3) is using :
>
> ntpd_enable="YES"
> ntpd_sync_on_start="YES"
>
> on rc.conf
>
>
> -Otacilio
>
I edited the server /etc/rc.conf adding

ntpd_enable="YES"
ntpd_sync_on_start="YES"

and started ntpd with:

root@squitch:/home/ota # /etc/rc.d/ntpd start

Restart nfsd:

root@squitch:/home/ota # service nfsd stop
Stopping nfsd.
Waiting for PIDS: 42689 42690.
root@squitch:/home/ota # service lockd stop
Stopping lockd.
Waiting for PIDS: 93028.
root@squitch:/home/ota # service statd stop
Stopping statd.
root@squitch:/home/ota # service nfsd start
NFSv4 is disabled
Starting nfsd.
root@squitch:/home/ota # service mountd reload
root@squitch:/home/ota # service lockd start
Starting statd.
Starting lockd.

And mount and compile hello.c on RPI3, but no luck:

root@rpi3:~ # mount squitch:/usr/ports /usr/ports
root@rpi3:~ # mount squitch:/usr/src /usr/src
root@rpi3:~ # cd /usr/ports/
root@rpi3:/usr/ports # cp /usr/home/ota/hello.c ./
root@rpi3:/usr/ports # cc -o hello hello.c
root@rpi3:/usr/ports # ./hello
Killed
root@rpi3:/usr/ports #

-Otacilio




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55c83b2d-2f1f-697e-25ff-2c6c4c2e6fea>