Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp725697imu; Wed, 23 Jan 2019 04:44:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN61S8m4HT/7eUp2bhDfDxV5dtc3Oz8JtsZIpBjLWoL0GEHPL/2tPG06OPF223dL27BJdEjR X-Received: by 2002:a63:f1f:: with SMTP id e31mr1834302pgl.274.1548247447817; Wed, 23 Jan 2019 04:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548247447; cv=none; d=google.com; s=arc-20160816; b=R4lLKKxG5wkODqC7CVnCplOeRAWCMAt41r+RH0GVYoqSYvwql21YVUrViUeG4YUkgk Zh56xxN4c4/79h6c3GfxFHQFBeUJpgpzP9BPTiIvdWSwcs+oXmw3qwlOEr/Tgy8EKI6+ NTcSIvJ415jGrrMJSWPj0qTg1QatTFNtYZ6UFmi2gL5M33wResyX+C8W4THvyb4P/Ayr wZDqjFh+fnpAOMHXWdweWH9JSjdrwijOPfrp5JE/1Gbg3pXa8Mzc5erKbjBHtC7hfHxi oUKLWQH2l88RYALHYS3kVTXBWqeaiM/g3qRzBlEzggR2U6Sy0wkFvIAX865rFEuu7Fsf BloA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:message-id:in-reply-to:mime-version :references:subject:cc:to:from:date; bh=Vqs3H0gTwkhd9Lsez3OhKCXGEaWNmSXchEfooIE06rQ=; b=uDTxcgFrIUzCxiI6XssLPPr88Lq6C70oroVmp1G2BtA2tJEYI39wvFiUG0Rzps3zhP WrtID5qRL6ICPBw8Fnfx7ybhZz4Go44t0WojZHCowC89Qaju+hiN+yQYf+Onu4TFgM1q PTXrkHyy3mtriARw6KOtxD8ZIpVZ1UzfylgOdMBnXIrKA2UMf/QjUt6MnHQHI7PHTzCX HM1B4qUrxhmTxU+cqxh3KDQ91+P9ae82w0a6ikZPOjROKt5Y/tvAbE0+161/VUkfXJl0 KSn48C+Y8fO8IOx0MNRBzZnzyav0uGptSzU2tlhhS5o1mSzPAGaJ2COqOtvLEDN8ZLl0 IYpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si5187080plk.360.2019.01.23.04.43.52; Wed, 23 Jan 2019 04:44:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727440AbfAWMk4 (ORCPT + 99 others); Wed, 23 Jan 2019 07:40:56 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40200 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727153AbfAWMk4 (ORCPT ); Wed, 23 Jan 2019 07:40:56 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0NCd2BV062520 for ; Wed, 23 Jan 2019 07:40:55 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2q6qqha6bh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 23 Jan 2019 07:40:54 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 23 Jan 2019 12:40:52 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 23 Jan 2019 12:40:49 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0NCemvL66781392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Jan 2019 12:40:49 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D301E42042; Wed, 23 Jan 2019 12:40:48 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 955DA42041; Wed, 23 Jan 2019 12:40:48 +0000 (GMT) Received: from osiris (unknown [9.152.212.95]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 23 Jan 2019 12:40:48 +0000 (GMT) Date: Wed, 23 Jan 2019 13:40:47 +0100 From: Heiko Carstens To: Thomas Gleixner Cc: Peter Zijlstra , Ingo Molnar , Martin Schwidefsky , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Stefan Liebler Subject: Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggered References: <20181127081115.GB3625@osiris> <20181129112321.GB3449@osiris> <20190121122131.GG4020@osiris> <20190123092443.GA3424@osiris> MIME-Version: 1.0 In-Reply-To: X-TM-AS-GCONF: 00 x-cbid: 19012312-0008-0000-0000-000002B4E138 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19012312-0009-0000-0000-00002221113B Message-Id: <20190123124047.GE3424@osiris> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-23_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901230095 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, 2019 at 01:33:15PM +0100, Thomas Gleixner wrote: > Heiko, > > On Wed, 23 Jan 2019, Heiko Carstens wrote: > > It doesn't look like it does. One occurrence was the one below when > > using commit 7939f8beecf1 (which is post 5.0-rc2) for building the > > kernel: > > > > WARNING: CPU: 14 PID: 23505 at kernel/futex.c:1483 do_futex+0xa9a/0xc50 > > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 14 PID: 23505 Comm: ld.so.1 Not tainted 5.0.0-20190116.rc2.git0.7939f8beecf1.300.fc29.s390x+git #1 > > Hardware name: IBM 3906 M04 704 (LPAR) > > Call Trace: > > ([<0000000000112e60>] show_stack+0x58/0x70) > > [<0000000000a671fa>] dump_stack+0x7a/0xa8 > > [<0000000000143f52>] panic+0x11a/0x2d0 > > [<0000000000143db0>] __warn+0xf8/0x118 > > [<0000000000a662f8>] report_bug+0xd8/0x150 > > [<00000000001014ac>] do_report_trap+0xc4/0xe0 > > [<0000000000101680>] illegal_op+0x138/0x150 > > [<0000000000a87270>] pgm_check_handler+0x1c8/0x220 > > [<00000000001e9aea>] do_futex+0xa9a/0xc50 > > ([<00000000001e9c4e>] do_futex+0xbfe/0xc50) > > [<00000000001ea13c>] compat_sys_futex+0xe4/0x170 > > [<0000000000a86e84>] system_call+0xd8/0x2c8 > > Ok. That's another one which I can't spot yet. > > Is that only on S390? > What's the test which explodes? Kernel build? No, it's the tst-robustpi8 glibc 2.28 selftest. Let me quote myself from earlier in this thread: " ... tst-robustpi8 And indeed, if I run only this test case in an endless loop and do some parallel work (like kernel compile) it currently seems to be possible to reproduce the warning: while true; do time ./testrun.sh nptl/tst-robustpi8 --direct ; done within the build directory of glibc (2.28). See https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/tst-robustpi8.c;h=cbea3d6d77abb00be05ec7b466d8339c26dd2efb;hb=3c03baca37fdcb52c3881e653ca392bba7a99c2b which includes this one: https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/tst-robust8.c;h=9c636250d4cb0bcd6d802910e8f9ea31568bb73f;hb=3c03baca37fdcb52c3881e653ca392bba7a99c2b "