Received: by 10.192.165.148 with SMTP id m20csp3828983imm; Mon, 23 Apr 2018 13:09:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx495Rke6dqxIpNCQ4KII2o0JkFjcHAOzSCKJbzgBlULK9vAspI4tsHkLUYBgiGlJ+u5palo2 X-Received: by 10.99.64.65 with SMTP id n62mr17961819pga.259.1524514152120; Mon, 23 Apr 2018 13:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524514152; cv=none; d=google.com; s=arc-20160816; b=QXSusGuhJzG1wUzYWXRVFQeXN9lPyYQCkS7qokphgqxadI3AmIQ+sYktxIDM0xeEqt XZpGQJpJOffOHvqd1MMXN5ZgbFe1dJTxo+fAonHf4baYELcEc+wwor/qKkXh0wfHHQGh BijL4xg7nvdjQ9HFAkrqVhzNNeea1Ti11VwUqxLNoe2eTJM96+lgLlX07pqZEiwLLbHJ UeskFbSCMc9igzR5o4ajmGXMTx5m4BEBfSld+OstZjS/R2qdXdiO6lTlLdYOHFMXovTP B9qxnm9GXls7epREecyWaZ6LWXk9lEf941ryBqIgFpCnse0V87BhDemop9BJHPdXtB72 SbHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=fCTCS0f/mFk+BY6NZdAmaxEJoY+D0dLhZF1566FK1MA=; b=GG/Aow3yyBsJ0+IU0ckffaRAP9JG/Weh8na1rxWgmwte4oLbH/JKoNQFUcq/e4wrfy PZn08J8XrEiBLWGWy7IJOWz1LOCBlkt0D4mLhUZXCg5CoMSekweM7Bsa+RiqskyFuRQt 83cesbVXGKT4KzSRDDCee7jX8XmcLhtpWhCCjG8DR60Vw+/UflAXkCVzwrmZuQqh8c9V rMJiCfNu4BmC9EtPqkky/4lmPjoHl8aIxtoZ282cmaphGQd8B059uoU0Jav3kt032ubc 533nl2be5T5C2Jp10mKk+64OuHvLschVfUSbMc8diX0a1q4n4imTRI/vZ+Gd/+A5Q834 iP5A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si10491859pgn.17.2018.04.23.13.08.57; Mon, 23 Apr 2018 13:09:12 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932440AbeDWUHp (ORCPT + 99 others); Mon, 23 Apr 2018 16:07:45 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:34254 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932306AbeDWUHn (ORCPT ); Mon, 23 Apr 2018 16:07:43 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2A3CCC11B1; Mon, 23 Apr 2018 20:07:42 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wpCI2ohrpHyk; Mon, 23 Apr 2018 20:07:42 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 94B9EC117C; Mon, 23 Apr 2018 20:07:26 +0000 (UTC) Subject: Re: [PATCH 4.16 000/196] 4.16.4-stable review To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, patches@kernelci.org, ben.hutchings@codethink.co.uk, lkft-triage@lists.linaro.org, stable@vger.kernel.org, Shuah Khan References: <20180422135104.278511750@linuxfoundation.org> <20180423180312.GA27081@kroah.com> From: Shuah Khan Message-ID: <4527fda9-f123-f8b7-8294-991a0a66af16@kernel.org> Date: Mon, 23 Apr 2018 14:07:00 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180423180312.GA27081@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/23/2018 12:03 PM, Greg Kroah-Hartman wrote: > On Sun, Apr 22, 2018 at 03:50:20PM +0200, Greg Kroah-Hartman wrote: >> This is the start of the stable review cycle for the 4.16.4 release. >> There are 196 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being applied, please >> let me know. >> >> Responses should be made by Tue Apr 24 13:50:16 UTC 2018. >> Anything received after that time might be too late. >> >> The whole patch series can be found in one patch at: >> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.16.4-rc1.gz >> or in the git tree and branch at: >> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.16.y >> and the diffstat can be found below. > > There is a -rc3 out now, to fix some issues reported with -rc1 and -rc2 > (I forgot to announce -rc2, sorry.): > https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.16.4-rc3.gz > > > I just tried rc1 - will try rc3. Has the lock problem seen already: ( I will try rc3 and if I setill see the problem, will start bisect) ================================ WARNING: inconsistent lock state 4.16.4-rc1+ #4 Not tainted -------------------------------- inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. swapper/3/0 [HC1[1]:SC1[1]:HE0:SE0] takes: (fs_reclaim){?.+.}, at: [< (ptrval)>] fs_reclaim_acquire.part.76+0x5/0x30 {HARDIRQ-ON-W} state was registered at: fs_reclaim_acquire.part.76+0x29/0x30 kmem_cache_alloc_node_trace+0x39/0x2a0 alloc_worker+0x2d/0xa0 create_worker+0xa0/0x2b0 workqueue_init+0x315/0x39a kernel_init_freeable+0x153/0x312 kernel_init+0xf/0x120 ret_from_fork+0x3a/0x50 irq event stamp: 164931 hardirqs last enabled at (164930): [< (ptrval)>] __do_softirq+0xe1/0x560 hardirqs last disabled at (164931): [< (ptrval)>] interrupt_entry+0xbd/0xf0 softirqs last enabled at (164928): [< (ptrval)>] irq_enter+0x75/0x80 softirqs last disabled at (164929): [< (ptrval)>] irq_exit+0x104/0x110 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(fs_reclaim); lock(fs_reclaim); *** DEADLOCK *** no locks held by swapper/3/0. stack backtrace: CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.16.4-rc1+ #4 Hardware name: System76, Inc. Wild Dog Performance/H87-PLUS, BIOS 0705 12/05/2013 Call Trace: dump_stack+0x67/0x98 print_usage_bug+0x24c/0x266 mark_lock+0x6c1/0x7a0 ? check_usage_backwards+0x230/0x230 __lock_acquire+0x1237/0x1e20 ? debug_check_no_locks_freed+0x190/0x190 ? debug_check_no_locks_freed+0x190/0x190 ? memzero_explicit+0xa/0x10 ? extract_buf+0x1b1/0x220 ? trace_event_raw_event_xfer_secondary_pool+0x1b0/0x1b0 ? _raw_spin_unlock_irqrestore+0x3e/0x50 ? match_held_lock+0x1b/0x210 ? lock_acquire+0xcd/0x220 lock_acquire+0xcd/0x220 ? fs_reclaim_acquire.part.76+0x5/0x30 ? lock_acquire+0xcd/0x220 fs_reclaim_acquire.part.76+0x29/0x30 ? fs_reclaim_acquire.part.76+0x5/0x30 __kmalloc+0x51/0x2e0 ? crng_reseed+0x229/0x440 crng_reseed+0x229/0x440 ? init_std_data+0x1c0/0x1c0 ? add_interrupt_randomness+0x27d/0x340 credit_entropy_bits+0x3b7/0x3d0 add_interrupt_randomness+0x27d/0x340 ? extract_entropy.constprop.41+0x1b0/0x1b0 ? rcu_read_lock_sched_held+0x7c/0x80 ? __handle_irq_event_percpu+0xf9/0x3c0 handle_irq_event_percpu+0x8b/0xe0 ? __handle_irq_event_percpu+0x3c0/0x3c0 ? lock_acquire+0xcd/0x220 ? handle_edge_irq+0x28/0x2c0 ? do_raw_spin_unlock+0x91/0x120 handle_irq_event+0x5a/0x90 handle_edge_irq+0xef/0x2c0 handle_irq+0x32/0x40 do_IRQ+0x60/0x130 common_interrupt+0xf/0xf RIP: 0010:__do_softirq+0xe7/0x560 RSP: 0018:ffff8803cfec7f58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffde RAX: 00000000ffffffff RBX: ffff8803cd6b26c0 RCX: ffffffff8112890c RDX: 0000000000000007 RSI: dffffc0000000000 RDI: ffff8803cd6b2f24 RBP: ffff8803cd6b2ef4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000202 ? common_interrupt+0xa/0xf ? trace_hardirqs_on_caller+0x18c/0x280 ? __do_softirq+0xe1/0x560 irq_exit+0x104/0x110 smp_apic_timer_interrupt+0xb8/0x300 apic_timer_interrupt+0xf/0x20 RIP: 0010:cpuidle_enter_state+0xc4/0x430 RSP: 0018:ffff8803cd6c7d90 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff12 RAX: 0000000000000000 RBX: ffffe8ffffcca660 RCX: ffffffff8112890c RDX: 0000000000000007 RSI: dffffc0000000000 RDI: ffff8803cd6b2f24 RBP: 0000000000011c2f R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002 R13: ffffffff82d17658 R14: ffffffff82d17640 R15: ffffffff82d17680 ? trace_hardirqs_on_caller+0x18c/0x280 do_idle+0x1a9/0x1f0 cpu_startup_entry+0xc2/0xd0 ? cpu_in_idle+0x20/0x20 ? _raw_spin_unlock_irqrestore+0x32/0x50 ? trace_hardirqs_on_caller+0x18c/0x280 start_secondary+0x282/0x2f0 ? set_cpu_sibling_map+0x840/0x840 secondary_startup_64+0xa5/0xb0 random: crng init done device: '0:44': device_add PM: Adding info for No Bus:0:44 device: 'lo': device_add PM: Adding info for No Bus:lo r8169 0000:03:00.0 eth0: link up IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. device: 'lxcbr0': device_add PM: Adding info for No Bus:lxcbr0 IPv6: ADDRCONF(NETDEV_UP): lxcbr0: link is not ready PM: Removing info for No Bus:lxcbr0 thanks, -- Shuah