arcconf should check kernel config for legacy vsyscall support, it fails (segfault) if it's not present Reproducible: Always Steps to Reproduce: 1. compile kernel without vsyscall 2. install arcconf 3. run arcconf Actual Results: segfault Expected Results: program runs using vanilla 5.13 kernel on gcc 10.3
Hi. Are we talking here about 'CONFIG_X86_VSYSCALL_EMULATION'?
Hi. I am not able to reproduce. My System has disabled SYSVCALL. CONFIG_GENERIC_TIME_VSYSCALL=y # CONFIG_X86_VSYSCALL_EMULATION is not set # CONFIG_LEGACY_VSYSCALL_EMULATE is not set # CONFIG_LEGACY_VSYSCALL_XONLY is not set CONFIG_LEGACY_VSYSCALL_NONE=y 'arcconf' works perfectly fine with my Adaptec controller.
Closing, as I need more info.
I was able now to reproduce. Will add the check.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eecd3bfcaabc16c9e691299200fc6319e991f790 commit eecd3bfcaabc16c9e691299200fc6319e991f790 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-08-16 19:15:12 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-08-16 19:15:36 +0000 sys-block/arcconf: add check for vsyscall VSYSCALL is needed, as otherwise arcconf will directly segfault upon calling. Closes: https://bugs.gentoo.org/802834 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> sys-block/arcconf/arcconf-3.07.23971.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)