tar returns error 256?

Rob Landley rob at landley.net
Fri Jun 26 20:23:32 UTC 2009


On Tuesday 23 June 2009 09:09:48 Klatt Uwe wrote:
> Hello again,
>
> Here comes the strace result:
>
>   ...
>   rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 16) = 0
>   rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 16) = 0
>   rt_sigprocmask(SIG_BLOCK, [CHLD], [RT_0], 16) = 0
>   fork()                                  = 1026
>   waitpid(1026, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 1026
>   rt_sigaction(SIGINT, {SIG_DFL}, NULL, 16) = 0
>   rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 16) = 0
>   rt_sigprocmask(SIG_SETMASK, [RT_0], NULL, 16) = 0
>   --- SIGCHLD (Child exited) @ 0 (0) ---
>   rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 16) = 0
>   rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 16) = 0
>   rt_sigprocmask(SIG_BLOCK, [CHLD], [RT_0], 16) = 0
>   fork()                                  = 1028
>   waitpid(1028, 0x7fa4955c, 0)            = ? ERESTARTSYS (To be restarted)
>   --- SIGHUP (Hangup) @ 0 (0) ---
>   +++ killed by SIGHUP +++
>
> With strace my program crashes...
> strace -f doesnt work because of mipsel arch.
>
> First fork() ist following command:
>   system("mv file1 /tmp/file2");
>
> Second fork() is the system call with gzip command:
>   system("tar -cj -ffile3 /tmp/file2");
>
> Any hints?

I have a mipsel linux system running under qemu here, could you email me your 
test file and the command line that's failing so I can reproduce this?

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list