From: Paul Boddie <paul@boddie.org.uk>
To: help-guix@gnu.org
Subject: Re: Bootstrapping on a new platform
Date: Fri, 8 Dec 2017 17:19:14 +0100 [thread overview]
Message-ID: <201712081719.15396.paul@boddie.org.uk> (raw)
In-Reply-To: <201712081440.15176.paul@boddie.org.uk>
On Friday 8. December 2017 14.40.14 Paul Boddie wrote:
> On Friday 8. December 2017 11.28.38 Ludovic Courtès wrote:
> >
> > Could you search in the strace output for the ‘clone’ call that failed
> > with EINVAL? It’s probably the one from nix/libstore/build.cc.
[...]
> I'm tracing the daemon here. Should I also be tracing something else?
Sorry, I found that I should be running strace using the -o, -f and -ff
options:
strace -o /tmp/guix -f -ff /usr/local/bin/guix-daemon \
--build-users-group=guixbuild
This gave me the following in the parent process log (/tmp/guix.793):
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x404c5f28) = 797
close(4) = 0
accept(3, 0xbfff7224, [110]) = ? ERESTARTSYS (To be restarted if
SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=797, si_uid=0,
si_status=0, si_utime=51, si_stime=524} ---
waitpid(-1, NULL, WNOHANG) = 797
This resembling what I showed before. Meanwhile in the child process log
(/tmp/guix.797) the clone call with EINVAL is this one:
clone(child_stack=0xbffedfa4, flags=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|
CLONE_NEWPID|CLONE_NEWNET|SIGCHLD) = -1 EINVAL (Invalid argument)
Again, this is using the 4.9.67 kernel.
Paul
next prev parent reply other threads:[~2017-12-08 16:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 23:17 Bootstrapping on a new platform Paul Boddie
2017-12-03 6:46 ` Manolis Ragkousis
2017-12-03 9:54 ` Efraim Flashner
2017-12-04 18:24 ` Paul Boddie
2017-12-08 10:28 ` Ludovic Courtès
2017-12-08 13:40 ` Paul Boddie
2017-12-08 16:19 ` Paul Boddie [this message]
2017-12-11 11:03 ` Ludovic Courtès
2017-12-11 16:36 ` Paul Boddie
2017-12-12 16:10 ` Ludovic Courtès
2017-12-12 16:29 ` Paul Boddie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712081719.15396.paul@boddie.org.uk \
--to=paul@boddie.org.uk \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.