GNU bug report logs -
#20757
"unable to fork" on armhf
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20757 in the body.
You can then email your comments to 20757 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 07 Jun 2015 08:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 07 Jun 2015 08:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have an armhf marsboard that I'm trying to run guix on top of debian. I
started by flashing a debian wheezy image, stripping out most of the
packages, and upgrading to jessie. I installed using the 0.8.2 armhf binary.
`guix pull` failed with the error "unable to fork: Invalid argument", and
likewise `guix build hello` also failed.
I ran `sudo strace -o log /root/.guix-profile/bin/guix-daemon
--build-users-group=guix-builder &` and `strace -o hello guix build hello`.
I've attached the guix-daemon log to the email and the hello log is at
https://flashner.co.il/~efraim/hello
uname -a:
Linux marsboard 3.0.36+ #67 SMP PREEMPT Sat Dec 13 10:01:50 HKT 2014 armv7l
GNU/Linux
ldd --version:
ldd (Debian GLIBC 2.19-18) 2.19
cat /proc/cpuinfo:
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 503.83
processor : 1
BogoMIPS : 503.83
Features : swp falf thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : RK30board
Revision : 0000
Serial : 0000000000000000
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[log (application/octet-stream, attachment)]
[Message part 3 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 07 Jun 2015 19:45:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> I have an armhf marsboard that I'm trying to run guix on top of debian. I
> started by flashing a debian wheezy image, stripping out most of the
> packages, and upgrading to jessie. I installed using the 0.8.2 armhf binary.
> `guix pull` failed with the error "unable to fork: Invalid argument", and
> likewise `guix build hello` also failed.
>
> I ran `sudo strace -o log /root/.guix-profile/bin/guix-daemon
> --build-users-group=guix-builder &`
Could you add -f so that child processes are traced?
sudo strace -f -o log /root/.guix-profile/bin/guix-daemon \
--build-users-group=guix-builder &
The main process doesn’t do the interesting bits.
TIA!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 07 Jun 2015 21:47:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> writes:
> I have an armhf marsboard that I'm trying to run guix on top of debian. I
> started by flashing a debian wheezy image, stripping out most of the
> packages, and upgrading to jessie. I installed using the 0.8.2 armhf binary.
> `guix pull` failed with the error "unable to fork: Invalid argument", and
> likewise `guix build hello` also failed.
This is probably because your kernel lacks the necessary features to
create the build containers needed by guix-daemon. The above error is
printed if the 'clone' system call fails when invoked with the following
flags:
CLONE_NEWPID | CLONE_NEWNS | CLONE_NEWIPC | CLONE_NEWUTS
You need PID namespaces, private mount namespaces, private network
namespaces, IPC namespaces, and UTS namespaces. You will also need
CONFIG_DEVPTS_MULTIPLE_INSTANCES.
We should document this better, but I guess you need at least the
following options enabled in your kernel build-time configuration:
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Mon, 08 Jun 2015 07:18:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 20757 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 07 Jun 2015 21:44:08 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>
> > I have an armhf marsboard that I'm trying to run guix on top of debian. I
> > started by flashing a debian wheezy image, stripping out most of the
> > packages, and upgrading to jessie. I installed using the 0.8.2 armhf
> > binary. `guix pull` failed with the error "unable to fork: Invalid
> > argument", and likewise `guix build hello` also failed.
> >
> > I ran `sudo strace -o log /root/.guix-profile/bin/guix-daemon
> > --build-users-group=guix-builder &`
>
> Could you add -f so that child processes are traced?
>
> sudo strace -f -o log /root/.guix-profile/bin/guix-daemon \
> --build-users-group=guix-builder &
the log file came out a bit big, so I've hosted it here:
https://flashner.co.il/~efraim/log
> The main process doesn’t do the interesting bits.
>
> TIA!
>
> Ludo’.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Mon, 08 Jun 2015 12:26:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> the log file came out a bit big, so I've hosted it here:
> https://flashner.co.il/~efraim/log
The culprit is:
clone(child_stack=0xbe835ef8, flags=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWPID|CLONE_NEWNET|SIGCHLD) = -1 EINVAL (Invalid argument)
3.0.36 is not so old so Mark probably came to the right conclusion: That
the kernel must be rebuilt with all these name space-related options.
Thanks,
Ludo’.
Merged 20735 20757.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Mon, 08 Jun 2015 12:26:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 14 Jun 2015 13:15:03 GMT)
Full text and
rfc822 format available.
Message #22 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Any update on this? Did you try rebuilding your kernel with the needed
configuration options enabled?
Thanks,
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 14 Jun 2015 13:54:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 20757 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 14 Jun 2015 09:13:17 -0400
Mark H Weaver <mhw <at> netris.org> wrote:
> Any update on this? Did you try rebuilding your kernel with the needed
> configuration options enabled?
>
> Thanks,
> Mark
I haven't had a chance yet to rebuild my kernel yet, but I hope to tonight
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Mon, 15 Jun 2015 11:54:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 20757 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 14 Jun 2015 16:52:51 +0300
Efraim Flashner <efraim <at> flashner.co.il> wrote:
> On Sun, 14 Jun 2015 09:13:17 -0400
> Mark H Weaver <mhw <at> netris.org> wrote:
>
> > Any update on this? Did you try rebuilding your kernel with the needed
> > configuration options enabled?
> >
> > Thanks,
> > Mark
>
> I haven't had a chance yet to rebuild my kernel yet, but I hope to tonight
>
I recompiled the kernel, still getting failed to fork. I'm missing something
board specific about using the new kernel. I'll figure it out soonish.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Tue, 14 Jul 2015 13:35:03 GMT)
Full text and
rfc822 format available.
Message #31 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> I recompiled the kernel, still getting failed to fork. I'm missing something
> board specific about using the new kernel. I'll figure it out soonish.
Did you have a chance to look further into it?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 19 Jul 2015 20:55:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 20757 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, 14 Jul 2015 15:33:58 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>
> > I recompiled the kernel, still getting failed to fork. I'm missing
> > something board specific about using the new kernel. I'll figure it out
> > soonish.
>
> Did you have a chance to look further into it?
>
> Thanks,
> Ludo’.
Unfortunately I haven't had a chance to look at it more yet. I've been having
trouble with getting the board to accept my kernel for booting, so now I'm
looking at using one of the other images available (ubunutu, suse) and seeing
if they have the required kernel settings enabled. Given the problems I've
been having, when I do get it to work I plan on following their instructions
for getting the board to boot from a thumbdrive/sdcard and using that as a
target for guixsd. The two things I see as potential blockers down that road
is figuring out uboot, and I'll also have to make a separate rockchip.scm
with the 3(?) programs I needed to compile from source to get the video
working correctly.
Currently I'm on vacation for almost another 3 weeks, and I left the arm
board at home, so I can't work on it too much atm.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Fri, 11 Sep 2015 17:32:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 20757 <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> On Sun, 14 Jun 2015 16:52:51 +0300
> Efraim Flashner <efraim <at> flashner.co.il> wrote:
>
>> On Sun, 14 Jun 2015 09:13:17 -0400
>> Mark H Weaver <mhw <at> netris.org> wrote:
>>
>> > Any update on this? Did you try rebuilding your kernel with the needed
>> > configuration options enabled?
>> >
>> > Thanks,
>> > Mark
>>
>> I haven't had a chance yet to rebuild my kernel yet, but I hope to tonight
>>
>
> I recompiled the kernel, still getting failed to fork. I'm missing something
> board specific about using the new kernel. I'll figure it out soonish.
Hi! Any update? Or should we close the bug until we have more clues?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20757
; Package
guix
.
(Sun, 13 Sep 2015 04:18:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 20757 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Fri, 11 Sep 2015 19:31:09 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>
> > On Sun, 14 Jun 2015 16:52:51 +0300
> > Efraim Flashner <efraim <at> flashner.co.il> wrote:
> >
> >> On Sun, 14 Jun 2015 09:13:17 -0400
> >> Mark H Weaver <mhw <at> netris.org> wrote:
> >>
> >> > Any update on this? Did you try rebuilding your kernel with the needed
> >> > configuration options enabled?
> >> >
> >> > Thanks,
> >> > Mark
> >>
> >> I haven't had a chance yet to rebuild my kernel yet, but I hope to
> >> tonight
> >>
> >
> > I recompiled the kernel, still getting failed to fork. I'm missing
> > something board specific about using the new kernel. I'll figure it out
> > soonish.
>
> Hi! Any update? Or should we close the bug until we have more clues?
>
> Thanks,
> Ludo’.
Lets close it for now. I haven't had anytime to work on it still, and its not
a guix bug that an unrelated kernel didn't have the configuration set the way
we'd like.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[Message part 2 (application/pgp-signature, inline)]
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sun, 13 Sep 2015 09:34:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Sun, 13 Sep 2015 09:34:03 GMT)
Full text and
rfc822 format available.
Message #45 received at 20757-done <at> debbugs.gnu.org (full text, mbox):
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> Lets close it for now. I haven't had anytime to work on it still, and its not
> a guix bug that an unrelated kernel didn't have the configuration set the way
> we'd like.
OK, done.
Ludo’.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sun, 13 Sep 2015 09:34:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Sun, 13 Sep 2015 09:34:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 11 Oct 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.