Open ghost opened 9 years ago
Fwiw, I disable seccomp on arm. So I'll keep an eye on this.
This bug is back as of cjdns master, commit 13189fd
Fails for me with very similar errors on Raspberry Pi 2, Jessie image:
1448739768 CRITICAL Configurator.c:107 Got error [Seccomp.c:357 prctl(PR_SET_SECCOMP) -> [Invalid argument]
uname -a output:
Linux raspberrypi 4.1.12-v7+ #824 SMP PREEMPT Wed Oct 28 16:46:35 GMT 2015 armv7l GNU/Linux
Needs confirmation from someone else though - my RPi can be messed up without me knowing it.
@Shnatsel can you have a look whether the kernel was built with OABI_COMPAT?
There is CONFIG_SECCOMP=y
but no CONFIG_SECCOMP_FILTER=y
which might be a cause of a problem.
Someone wants to play kernel recompilation?
I am planning to recompile the kernel during the next week! Is there any reason to report this to the Raspbian community?
It is feature regression from RPi1 kernel AFAIK. it is hardly used feature so: 1. they might have forgot it, 2. removed it deliberate, It is worth asking.
This seems to be an issue specific to the semi-proptrietary RaspberryPi kernel which ships with raspbian rather than being a problem having anything to do with ARM in general. The same hardware runs cjdns with seccomp e.g. using http://downloads.openwrt.org/snapshots/trunk/brcm2708/generic/ instead of Raspbian. I thus renamed the issue to reflect that.
Here is the kernel config: https://github.com/raspberrypi/linux/blob/rpi-4.1.y/arch/arm/configs/bcm2709_defconfig
There is CONFIG_SECCOMP=y but no CONFIG_SECCOMP_FILTER=y which might be a cause of a problem.
Would be worth for someone having RPi2 to recompile Raspbian's kernel to include the second flag and check if it works, if it does then it should be reported to Raspbian's dev team.
For now the workaround is to disable seccomp and tests using: NO_TEST=1 Seccomp_NO=1 ./do
Problem still persists with RaspberryPi 3 B
: Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
.
Using NO_TEST=1 Seccomp_NO=1 ./do
it works.
@pguth, consider making a PR to https://github.com/cjdelisle/cjdns/tree/master/doc/install for a raspbian guide.
@ansuz Ok, did that: https://github.com/cjdelisle/cjdns/pull/1028
@lgierth commented on 13 May 2014
@cjdelisle commented on 13 May 2014
@lgierth commented on 17 May 2014
@lgierth commented on 24 Sep 2014
@lgierth commented 21 days ago