Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3857763pxb; Tue, 10 Nov 2020 01:40:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7Gz2T69kN8+a9ZVGZel6xJE6qrMrXGTT9sv0YTdlciaTefFbkZF26+MmlWeUrnw+SH9F5 X-Received: by 2002:aa7:c948:: with SMTP id h8mr19176366edt.171.1605001250084; Tue, 10 Nov 2020 01:40:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605001250; cv=none; d=google.com; s=arc-20160816; b=G6rsZCzUWpvTIQgjEdTXn72I7C0ahLWLlhASBLrtydz0FvtYX3Z1SXboz3BIBFT3Hz dZlQQZ4kJPFkqh7FoL5TntQkhmXt5qXB/TKZ/E34rx+GPef+EmOymbjIBck2fsUWd9mi zeRTslfx5BuHaB/5c0ECumNGJaQbNF7+7G1Iagjdf6RT3nmnPuvtpSyFDu1AAihT/vRL R9DhYZjs79Gh57ncchp1bGi5gW9uiTIzm0JDJY+nYnpnyBTk1Wo4MIgjNjTcNo11G9FA 7COlyYmUC13J8QoWFAkLThAI4bN5XScYtieMI99eQ/Y+ZlBQivdApduDIHllvZKIir8u UBFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bfWtz30M4Df6llqsfLteu96WqJOEmb6LFXGtQv/XtXI=; b=XnTT/v1WqlbcufCcLMSnDpYVRaRmTHvpfOcjNyb+dznHXdaxpOp2zQ4Q1s5S7LiIyD eNbFVgMs6grClMudibVDqH5T1YD9HMixV1qVLcOkoBo3Ch8xikRE8oFduEwtMA6vxxEv di/lgonqpYA00wzRIFiwKhYKF5kl4wcbkv3SEEcSJ1pD2HGJuuHYNzfs+7u8nrzCty5U GtX5YNa3WkCjng/bagSn5iJmDYU28XMktqePljWpToDCzHO8EBwQLRly30jWCHtExJ2q xMXwvVXk+c9z64CIncUERTttEtnzJsPm9XR6Jm2unqloPwg3veaJvH6XuaGicP7ai1z7 TYsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nvvyLzRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 93si4330985edm.34.2020.11.10.01.40.25; Tue, 10 Nov 2020 01:40:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nvvyLzRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729962AbgKJJgs (ORCPT + 99 others); Tue, 10 Nov 2020 04:36:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727991AbgKJJgs (ORCPT ); Tue, 10 Nov 2020 04:36:48 -0500 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEDC7C0613D1 for ; Tue, 10 Nov 2020 01:36:47 -0800 (PST) Received: by mail-qk1-x744.google.com with SMTP id l2so10822720qkf.0 for ; Tue, 10 Nov 2020 01:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bfWtz30M4Df6llqsfLteu96WqJOEmb6LFXGtQv/XtXI=; b=nvvyLzRwIG+rOKTeTflDPhpcXbCeypREmlPxN9GpkmkxyXvi4F07ofbJXpiJBegN/F BuOuBKn37szJz0fjOpI6MvfUpdLszDm5rZhWUIaSY3twCjS88znMXVHIElMX4FRbxtFl BDYKM90GtU5QMBaslyDlK7czXXW0anCfSJy32cSgeJl9dwui02ukvquhpkV3jX4spG1w RQSWuIcqOeSaUVrC5Cbxpi1+sA5+RVK1wXt2b5+IquiWSrnoIhBQFusL3nwODWDKvGSZ V9L1oDs3R7KbhXh6HZ4YCWq+d8FgFjk+StvXQz9J1GNzJNVkXWdrX1v+7VF/4kfnG79b it8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bfWtz30M4Df6llqsfLteu96WqJOEmb6LFXGtQv/XtXI=; b=eyuz1R00qd1vGlMbjTkv/tFAYP2unAWXIh85EMEmGWJuxL4nmnxDrI3VPIKMerfdwL r+UdihXgzbFVrey/twxIgF5zPcYuE6AAQ05g1GEEEWHz+EHEdwneVmTHrr2mVSjxuvml hhKvuvDQtq5vILfHQyhAv3/JxL/8i+p23oH75kVHo20KtnX5Hbe1JZsq3m06MuzJbUhU rUG/iO2o5UX1bs2jsR3CkzcAq+92N144cEDqpA/l25Ah0d07aqHyhhKzor/UMoZJPKer so6wFzXd03iAWkD2d+LAxmVn2mKNaZmHUKEfE7CmTmkeYD1z7GUFrVsN1CUYL80xcXN7 rKRQ== X-Gm-Message-State: AOAM530GyR386sMUeVqeh5kNQcfS12fhe5KYb4Hf7k7oXDIrRemk93k1 1T87BT8jxePeh+RbRDMtvtjpeIVMCXs4rvEzgAdY8A== X-Received: by 2002:a37:9747:: with SMTP id z68mr17607148qkd.424.1605001006715; Tue, 10 Nov 2020 01:36:46 -0800 (PST) MIME-Version: 1.0 References: <20201105170604.6588a06e@canb.auug.org.au> In-Reply-To: From: Dmitry Vyukov Date: Tue, 10 Nov 2020 10:36:35 +0100 Message-ID: Subject: Re: linux-next: Tree for Nov 5 To: Anders Roxell Cc: Stephen Rothwell , Alexander Potapenko , Marco Elver , Andrew Morton , Jann Horn , Linux Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 10:25 AM Anders Roxell wrote: > > On Tue, 10 Nov 2020 at 10:17, Dmitry Vyukov wrote: > > > > On Tue, Nov 10, 2020 at 8:50 AM Anders Roxell wrote: > > > > > > On Thu, 5 Nov 2020 at 07:06, Stephen Rothwell wrote: > > > > > > > > Hi all, > > > > > > > > Changes since 20201104: > > > > > > When building an arm64 allmodconfig and booting up that in qemu I see > > > > > > [10011.092394][ T28] task:kworker/0:2 state:D stack:26896 pid: > > > 1840 ppid: 2 flags:0x00000428 > > > [10022.368093][ T28] Workqueue: events toggle_allocation_gate > > > [10024.827549][ T28] Call trace: > > > [10027.152494][ T28] __switch_to+0x1cc/0x1e0 > > > [10031.378073][ T28] __schedule+0x730/0x800 > > > [10032.164468][ T28] schedule+0xd8/0x160 > > > [10033.886807][ T28] toggle_allocation_gate+0x16c/0x220 > > > [10038.477987][ T28] process_one_work+0x5c0/0x980 > > > [10039.900075][ T28] worker_thread+0x428/0x720 > > > [10042.782911][ T28] kthread+0x23c/0x260 > > > [10043.171725][ T28] ret_from_fork+0x10/0x18 > > > [10046.227741][ T28] INFO: lockdep is turned off. > > > [10047.732220][ T28] Kernel panic - not syncing: hung_task: blocked tasks > > > [10047.741785][ T28] CPU: 0 PID: 28 Comm: khungtaskd Tainted: G > > > W 5.10.0-rc2-next-20201105-00006-g7af110e4d8ed #1 > > > [10047.755348][ T28] Hardware name: linux,dummy-virt (DT) > > > [10047.763476][ T28] Call trace: > > > [10047.769802][ T28] dump_backtrace+0x0/0x420 > > > [10047.777104][ T28] show_stack+0x38/0xa0 > > > [10047.784177][ T28] dump_stack+0x1d4/0x278 > > > [10047.791362][ T28] panic+0x304/0x5d8 > > > [10047.798202][ T28] check_hung_uninterruptible_tasks+0x5e4/0x640 > > > [10047.807056][ T28] watchdog+0x138/0x160 > > > [10047.814140][ T28] kthread+0x23c/0x260 > > > [10047.821130][ T28] ret_from_fork+0x10/0x18 > > > [10047.829181][ T28] Kernel Offset: disabled > > > [10047.836274][ T28] CPU features: 0x0240002,20002004 > > > [10047.844070][ T28] Memory Limit: none > > > [10047.853599][ T28] ---[ end Kernel panic - not syncing: hung_task: > > > blocked tasks ]--- > > > > > > if I build with KFENCE=n it boots up eventually, here's my .config file [2]. > > > > > > Any idea what may happen? > > > > > > it happens on next-20201109 also, but it takes longer until we get the > > > "Call trace:". > > > > > > Cheers, > > > Anders > > > [1] http://ix.io/2Ddv > > > [2] https://people.linaro.org/~anders.roxell/allmodconfig-next-20201105.config > > > > Hi Anders, > > Hi Dmitry, > > > > > Does it happen during boot or afterwards? > > During boot, since it runs a lot of boot selftests. > > > 10047 are seconds after boot, right? > > No > > > So this is like 3 hours after boot, no? > > This is a boot log where I actually get to the boot prompt. > https://people.linaro.org/~anders.roxell/output-next-20201109-nokfence.log > > > Also, is there anything useful before that part of the log? > > oh I missed to say that this is the full boot log with the kernel > panic http://ix.io/2Ddv Thanks! The last messages before the hang are: [ 1367.791522][ T1] Running tests on all trace events: [ 1367.815307][ T1] Testing all events: I can imagine tracing somehow interferes with kfence. Alex, Marco, please take a look. Maybe you will be able to reproduce it by enabling these boot tests.