Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #69172 > unrolled thread
| Started by | Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> |
|---|---|
| First post | 2021-01-18 16:00 +0100 |
| Last post | 2021-03-08 16:40 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.kernel
Bug#980381: Segmentation fault on system call vectored (linux ppc64 on POWER9) Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 2021-01-18 16:00 +0100
Bug#980381: Acknowledgement (Segmentation fault on system call vectored (linux ppc64 on POWER9)) Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 2021-03-08 16:30 +0100
Bug#980381: marked as done (Segmentation fault on system call vectored (linux ppc64 on POWER9)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-08 16:40 +0100
| From | Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> |
|---|---|
| Date | 2021-01-18 16:00 +0100 |
| Subject | Bug#980381: Segmentation fault on system call vectored (linux ppc64 on POWER9) |
| Message-ID | <ByEaC-5RE-11@gated-at.bofh.it> |
Package: src:linux
Version: 5.10.4-1
Severity: normal
X-Debbugs-Cc: none
Dear Maintainer,
Linux 5.9 started to support a new system call ABI called system call vectored
(using POWER9 instruction scv).
glibc 2.33 (to be released) includes support for this instruction.
However, there is an issue in upstream kernel that may cause userspace programs
using this instruction to segfault.
In order to reproduce the issue, one needs to call scv thousands of times.
An easy way to reproduce this issue is to run glibc make check, i.e. on a
POWER9:
git clone git://sourceware.org/git/glibc.git
mkdir build
cd build
../glibc/configure --prefix=/usr --with-cpu=power9
make -j$(nproc)
make -j$(nproc) check
A couple of tests will segfault. The list changes between executions.
I was able to reproduce this issue only on POWER9 revision 2.2 (pvr 004e 1202).
I reproduced this also on:
Package: linux-image-5.9.0-5-powerpc64
Version: 5.9.15-1
Although I was able to reproduce this issue only on powerpc64, this issue
also affects ppc64el.
A fix for this issue has been proposed upstream at
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210111062408.287092-1-npiggin@gmail.com/
Notice the problem disappears if entry_flush and rfi_flush are disabled, but I
don't think that's recommended.
-- Package-specific info:
** Version:
Linux version 5.10.0-1-powerpc64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-3) 10.2.1 20201224, GNU ld (GNU Binutils for Debian) 2.35.1) #1 SMP Debian 5.10.4-1 (2020-12-31)
** Command line:
BOOT_IMAGE=/boot/vmlinux-5.10.0-1-powerpc64 root=UUID=47206b1a-d5ae-4032-8b3e-e70796cd06c6 ro disable_radix quiet
** Tainted: E (8192)
* unsigned module was loaded
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64
Kernel: Linux 5.10.0-1-powerpc64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--
Tulio Magno
[toc] | [next] | [standalone]
| From | Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> |
|---|---|
| Date | 2021-03-08 16:30 +0100 |
| Subject | Bug#980381: Acknowledgement (Segmentation fault on system call vectored (linux ppc64 on POWER9)) |
| Message-ID | <BQpZv-4eZ-3@gated-at.bofh.it> |
| In reply to | #69172 |
I tested linux-image-5.10.0-3-powerpc64 and confirmed this issue has been fixed. Thanks! -- Tulio Magno
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2021-03-08 16:40 +0100 |
| Subject | Bug#980381: marked as done (Segmentation fault on system call vectored (linux ppc64 on POWER9)) |
| Message-ID | <BQq9c-4ia-9@gated-at.bofh.it> |
| In reply to | #69172 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Mon, 08 Mar 2021 12:32:13 -0300 with message-id <87o8ftsltu.fsf@linux.ibm.com> and subject line Bug#980381: Fixed has caused the Debian Bug report #980381, regarding Segmentation fault on system call vectored (linux ppc64 on POWER9) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 980381: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980381 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web