From: Mikael Pettersson <mikpelinux@gmail.com>
To: Anatoly Pugachev <matorola@gmail.com>
Cc: Mikael Pettersson <mikpelinux@gmail.com>,
David Miller <davem@davemloft.net>,
Sparc kernel list <sparclinux@vger.kernel.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels
Date: Sat, 29 Jul 2017 14:02:44 +0200 [thread overview]
Message-ID: <22908.31076.708982.410201@gargle.gargle.HOWL> (raw)
In-Reply-To: <CADxRZqzcDswmJA=nESkkqS7PFym4NGFxAXTUrFybzvx9ALdNfw@mail.gmail.com>
Anatoly Pugachev writes:
> On Fri, Jul 28, 2017 at 11:45 AM, Mikael Pettersson
> <mikpelinux@gmail.com> wrote:
> > It's an rpmbuild --rebuild of Fedora's strace-4.18-1.fc24.src.rpm, but according to the
> > build log the following should do it:
> >
> > export CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=ultrasparc'
> > ./configure --build=sparcv9-unknown-linux-gnu --host=sparcv9-unknown-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/u
> > sr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --local
> > statedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
> > make -j2
> > make -j2 -k check VERBOSE=1
>
> cant' reproduce it here on debian sparc64 LDOM:
DaveM was also unable to reproduce it.
I'll be investigating a possible kernel miscompile next.
>
> used git version of strace ( https://github.com/strace/strace )
>
> strace$ make -j24 check VERBOSE=1
> ...
> ============================================================================
> Testsuite summary for strace 4.18.0.134.805d
> ============================================================================
> # TOTAL: 443
> # PASS: 389
> # SKIP: 40
> # XFAIL: 0
> # FAIL: 14
> # XPASS: 0
> # ERROR: 0
>
>
> while in kernel logs (journalctl -k -f):
>
> Jul 29 12:49:22 ttip kernel: mmap: remap_file_page (77341) uses
> deprecated remap_file_pages() syscall. See
> Documentation/vm/remap_file_pages.txt.
> Jul 29 12:49:22 ttip kernel: capability: warning: `caps' uses
> deprecated v2 capabilities in a way that may be insecure
> Jul 29 12:49:22 ttip kernel: capability: warning: `caps' uses 32-bit
> capabilities (legacy support in use)
> Jul 29 12:49:22 ttip kernel: ------------[ cut here ]------------
> Jul 29 12:49:22 ttip kernel: WARNING: CPU: 18 PID: 78388 at
> arch/sparc/kernel/sys_sparc32.c:150
> compat_SyS_sparc_sigaction+0x3c/0x60
> Jul 29 12:49:22 ttip kernel: Modules linked in: tcp_diag inet_diag
> xfrm_user xfrm_algo nfnetlink netlink_diag xt_tcpudp xt_multiport
> xt_conntrack tun iptable_filter iptable_nat nf_conntrack_ipv4
> nf_defrag_ipv4 nf_nat_ipv4 xfs camellia_sparc64 des_sparc64
> des_generic aes_sparc64 n2_rng md5_sparc64 rng_core flash
> sha512_sparc64 sha256_sparc64 sha1_sparc64 nf_nat_pptp
> nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat
> nf_conntrack libcrc32c crc32c_generic ip_tables x_tables autofs4 ext4
> crc16 mbcache jbd2 crc32c_sparc64
> Jul 29 12:49:22 ttip kernel: CPU: 18 PID: 78388 Comm: sigaction Not
> tainted 4.13.0-rc2-00220-g0a07b238e5f4 #376
> Jul 29 12:49:22 ttip kernel: Call Trace:
> Jul 29 12:49:22 ttip kernel: [000000000046c074] __warn+0xb4/0xe0
> Jul 29 12:49:22 ttip kernel: [000000000046c120] warn_slowpath_null+0x20/0x40
> Jul 29 12:49:22 ttip kernel: [000000000044b7bc]
> compat_SyS_sparc_sigaction+0x3c/0x60
> Jul 29 12:49:22 ttip kernel: [00000000004061d4] linux_sparc_syscall32+0x34/0x60
> Jul 29 12:49:22 ttip kernel: ---[ end trace 1ad5184278304e6d ]---
> Jul 29 12:49:25 ttip kernel: pc[83378]: segfault at 70000974 ip
> 0000000070000974 (rpc 000000007000096c) sp 00000000ffdd9438 error
> 30001 in pc[70010000+2000]
--
next prev parent reply other threads:[~2017-07-29 12:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 19:45 Mikael Pettersson
2017-07-28 5:10 ` David Miller
2017-07-28 8:45 ` Mikael Pettersson
2017-07-28 18:27 ` David Miller
2017-07-28 18:37 ` David Miller
2017-07-29 10:52 ` Anatoly Pugachev
2017-07-29 12:02 ` Mikael Pettersson [this message]
2017-07-31 17:14 ` Mikael Pettersson
2017-07-31 21:48 ` Anatoly Pugachev
2017-07-31 21:51 ` David Miller
2017-07-31 22:01 ` Anatoly Pugachev
2017-07-31 22:06 ` David Miller
2017-08-01 7:29 ` Mikael Pettersson
2017-08-01 20:58 ` Sam Ravnborg
2017-08-02 21:36 ` Sam Ravnborg
2017-08-02 23:27 ` David Miller
2017-08-03 20:02 ` Mikael Pettersson
2017-08-03 21:57 ` David Miller
2017-08-04 5:44 ` Sam Ravnborg
2017-08-04 8:02 ` Mikael Pettersson
2017-08-04 16:48 ` David Miller
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=22908.31076.708982.410201@gargle.gargle.HOWL \
--to=mikpelinux@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=matorola@gmail.com \
--cc=sparclinux@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®