NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbmips/48564: 'tar' on evbmips-mips64el (LOONGSON) corrupts files extracted to NFS



The following reply was made to PR port-evbmips/48564; it has been noted by 
GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-evbmips/48564: 'tar' on evbmips-mips64el (LOONGSON) corrupts
 files extracted to NFS
Date: Sat, 26 Apr 2014 14:11:15 -0500 (CDT)

 On Sat, 26 Apr 2014, David Holland wrote:
 
 >  Does this happen only with tar extracting files, or do any other
 >  things that emit files exhibit the same behavior? Other versions of
 >  tar?
 
 I have only observed it with 'tar' as installed from the release sets.
 (Trying to run 'etcupdate' on my NFS-root installation was always
 proposing bizarre and bogus changes to the various configuation files
 and 'rc' scripts.  Mounting a local disk partition on "/tmp" made it
 work.  'etcupdate' needs a "-d" switch to select an arbitrary
 destination/rootdir.  'postinstall' needs a "-t" switch to select an
 alternate temporary directory, but those are issues for other PRs... ;)
 
 A plain 'cp src dst' where "dst" is on NFS works fine.  I did not explore
 output redirection, which I should do when I next have opportunity.  So
 far, all other writes to NFS-resident files (such as with 'vi') work.
 
 I have not tried other versions of 'tar'.  It may be a challenge to
 build other 'tar's due to the tendency of the native compiler to die
 from bus error, segfault, etc.  Perhaps I should look into the "distcc"
 trick to farm the compiling out to the cross toolchain on my build host.
 
 >  Also, if you're in a position to try, can you ktrace it to find out
 >  what size chunks tar is using to write the affected files?
 
 The machine is tied up at the moment, but when I next get a chance, I'll
 see if I can do this.
 
 >  (and what's the nfs server? netbsd?)
 
 The NFS server is NetBSD/i386-6.1_STABLE (soon to be switched to amd64).
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index