Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1330000pxb; Thu, 28 Jan 2021 13:41:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL2km5Osrv8pL5kD3JRmL5gmUDPYvjiJrpFegYmgyTmyrLmKUPyt9CCezcLkeKCPFmQELK X-Received: by 2002:a17:906:e0cd:: with SMTP id gl13mr1523711ejb.17.1611870103194; Thu, 28 Jan 2021 13:41:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611870103; cv=none; d=google.com; s=arc-20160816; b=LORoSzcFlNC33XGiXtmzM7HCManl0XdIR09CO56Fc5sue/8bXPwNRQU1qu6B0aytL9 EaqqzsyVo2nuAkUUMR71Cv5ge9aHpwU+OfIWOiUhSz8GM2/Brr8oiBiHBRtQUeyfCB2o ctke8f3zXVhmdMXwoACqFPHvNlhCclQdCXcOq1e+fTEsSQELWWL2Fg2b7NxczJGsZLtL i1Qt8wF/H/VFKCt90Z0LVSplQLrn2v+qDZm/ecQmbAHrq/rUF25aSCkx2teI34D0u5bN o4yH305L79Y/YUD8p+OJn9XU3q3yzKLnXGtswfOHPaBNFQAdD8cBTGwxE35UaaesE4ws HUEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=IIzehXtZGVhpB1yHQMfVfz2P5f3f41/m1wLdY+MrNmM=; b=ZX7cd8Zkf6aLylMyBGKvniI7io85PhiajPX36WMcGIIyJ/wpbrXKWnhkmq1NLUTJWq co8n2aTs7hzBB4+3gxOnPqtOKn/O1k/9XZN5I8B5zY/8XrLy+I4iPrLNWBigGMM2cOKS sIiOJNRuGOHulSDzi3XDKuPB4a/C0frqjIjhctQuat9fE5f3pPmd2aXfsX5UIZfmNJeN 0TAl0cbMj0DDLZyHFMo900r/5Ki54M/+j6W5Vwrs5VEfpLEBU5SFiVviAjmRZpa7CBl8 l226YWSeIcaI3H4pVH2E/IapSYz9vyOSU24I7iws7kVI+aEUqGrQf7DzswrdImCbnMBV Tqvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qcvkyvR6; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=DkxrxorF; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si2151405eje.569.2021.01.28.13.41.18; Thu, 28 Jan 2021 13:41:43 -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=@linutronix.de header.s=2020 header.b=qcvkyvR6; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=DkxrxorF; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231489AbhA1VjK (ORCPT + 99 others); Thu, 28 Jan 2021 16:39:10 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:37504 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbhA1VjG (ORCPT ); Thu, 28 Jan 2021 16:39:06 -0500 From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1611869903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IIzehXtZGVhpB1yHQMfVfz2P5f3f41/m1wLdY+MrNmM=; b=qcvkyvR6VnVEjI1jv4KEwpmNS4636JQ+mwxNTSRMcue7o/s7JMWveSFLNlVCoFFAf8Jtt3 3xO6lzAoWXwGasRwUSHC+0IP7G4pMAHr+LQECEmllfHBaIvclmf8ahREBDIwKSvrSwqgKQ cSfbqdioGnKlAfzMd72R2/toWRRvC1YAX/LfLLIkB2bqrI8AD6DvuR2bYAeqMh3t1WLWGw //GDJNSqtfp3VlTKQTUN/YPOCbcQ+EK8ygoJ652qwniJAzWJctkXQYbnLZeIYdcTCOs/9W +YiC5FOEoa0Xm7d9CFCNnG9l/OhZmy5PqdHFx5UEurgQLy5W5Ri4EiMROsuzgQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1611869903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IIzehXtZGVhpB1yHQMfVfz2P5f3f41/m1wLdY+MrNmM=; b=DkxrxorF8qRUTwTJrxxkNkdnEiqEO8c8IGVntc1RgdF1Sbv4erynjXpMfaDBIXsB5hUzxh vUFJ/LiXae9RWGDw== To: Petr Mladek Cc: Sergey Senozhatsky , kernel test robot , LKML , lkp@lists.01.org, lkp@intel.com, zhengjun.xing@linux.intel.com Subject: Re: [printk] b031a684bf: INFO:rcu_tasks_detected_stalls_on_tasks In-Reply-To: <871re5m0a2.fsf@jogness.linutronix.de> References: <20210122081311.GA12834@xsang-OptiPlex-9020> <87bldaaxcc.fsf@jogness.linutronix.de> <87czxpmhe1.fsf@jogness.linutronix.de> <877dnxm5ju.fsf@jogness.linutronix.de> <871re5m0a2.fsf@jogness.linutronix.de> Date: Thu, 28 Jan 2021 22:44:22 +0106 Message-ID: <87v9bglp2p.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-28, John Ogness wrote: > [ 903.189448][ T356] [ 778.825864] [ 655.250559] [ 531.607066] [ 407.120936] tasks-torture:torture_onoff task: online 0 failed: errno -5 So I at least found out what these multi-timestamp messages are (thanks to reading /dev/kmsg). lkp is directing all its test output to /dev/kmsg. This is why we see messages like: 2021-01-28 21:15:15 rmmod rcutorture The final line of its test is "dmesg | grep torture:". So it is dumping dmesg output into /dev/kmsg! This causes the timestamp to be included in the text of the new messages so we later see 2 timestamps. After 2 minutes it has reached the messages it fed into /dev/kmsg and feeds them in again (thus a 3rd timestamp). Here is a snippet from /dev/kmsg when it starts feeding dmesg into /dev/kmsg. If the first number is >= 8, it is coming from userspace. 1,24066,323390711,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24067,323444452,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24068,323461363,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 13,24069,323469754,-;2021-01-28 21:15:15 rmmod rcutorture 12,24070,323469775,-; 1,24071,323481652,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24072,323495879,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24073,323503276,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24074,323510766,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 1,24075,323519658,-;tasks-torture:torture_onoff task: online 0 failed: errno -5 13,24076,323522146,-;[ 158.513122] tasks-torture:torture_onoff task: online 0 failed: errno -5 12,24077,323522157,-; 13,24078,323526545,-;[ 158.519672] tasks-torture:torture_onoff task: online 0 failed: errno -5 12,24079,323526556,-; 13,24080,323529365,-;[ 158.534695] tasks-torture:torture_onoff task: online 0 failed: errno -5 12,24081,323529374,-; 13,24082,323531951,-;[ 158.549755] tasks-torture:torture_onoff task: online 0 failed: errno -5 12,24083,323531961,-; I don't know why it is doing the message text with loglevel 5 (NOTICE) followed by a blank line with loglevel 4 (WARNING), but they are definitely coming from userspace. Anyway, enough with that madness. I now will return my focus to the rcu stall, and see how printk could be responsible. John Ogness