Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2567760iog; Sun, 19 Jun 2022 22:51:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uen9eXuM2T1lmcaxYFUE7SgabvL4EM2+8JYU+h4pcyMP2nl0Aa1ILfeaQQzgJZX6wLW0y/ X-Received: by 2002:a17:90b:3e88:b0:1e8:8d83:8782 with SMTP id rj8-20020a17090b3e8800b001e88d838782mr25005536pjb.0.1655704279810; Sun, 19 Jun 2022 22:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655704279; cv=none; d=google.com; s=arc-20160816; b=hOiz9gMt+YTN8Etw4H33D8bpKZ9Sjm93NzeDr9NikIp9TOsHp2Ac0hjekHZ8RKr7oT YKt7XmytOfw75pl3X/lzmj2a9W+NBoIDkr3D91YfHR0rGxRIe78Oyl2m99Kw8HLfrxfX uadll/scujJw1VPoeZdltnortXeTUsDBss0l0KW3aiwZEk8irDCEGt2sapkv5zmIr7eZ mMnSlnCDFgF0j4jVC1x/Z0SLKIUEBMlOGa+yBMW67bansyyWX+pei7znAHBDSD4uNbP3 z62YqYE/o6b/6EgMOEcV8PadUP1NSxMQHO90J7drC4ohZ94SJkf5DpWxXOH5veyrkURS YPwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tmO20+vl4kIvcbteq8fzQYnNYh54DQYjB9VAHNJDVLw=; b=S8KVBqBfXYl9Rq09N5zE4d2ZbMFkNbujk8QD43vuKbYvl/J3nL9SJG2BKF25FsuhVw G8EXxnHj9Lkc90Cai/GEF2/NXHp7dWnIBjfE+Y3/Bql+YQJ351Mi+Tb24cGMQ2Iv4Oe2 8bC1EgqnBDYVtp27e0KDsT527TLfNXiWyt6G98iXPDZpXcZ7A4qZptpM/K/quxnLqwrY OXRftlzHI7mCo818M8VFOv1Cv3RRth90m1TlJDdz0UuIL2QfW6zJG3EeKGg2DsM+QumF g+eD4P0wa9zQH565YJQCy0AO34QMunkvsJb/YkTv/NPZFvHF4+d3sPvzhjCU1i9vtWD5 Vb+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Z5Le1NRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ms22-20020a17090b235600b001ec9d364ec6si3761257pjb.50.2022.06.19.22.51.05; Sun, 19 Jun 2022 22:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Z5Le1NRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236619AbiFTFXf (ORCPT + 99 others); Mon, 20 Jun 2022 01:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiFTFXe (ORCPT ); Mon, 20 Jun 2022 01:23:34 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66BB764DE for ; Sun, 19 Jun 2022 22:23:33 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id p5so3418768pjt.2 for ; Sun, 19 Jun 2022 22:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=tmO20+vl4kIvcbteq8fzQYnNYh54DQYjB9VAHNJDVLw=; b=Z5Le1NRpPfN6Zo329cD7UKnAIkpo1jk3bfFLnzZncO2VeaMNDQ+vK0DUoQwdfYKetO 5uLjp060ytrvgRsKN3m8TaxMFsBhmFRTuG1Fg/edBljg1zkYtnalE5gdFuPhY7LJ1bu1 Wn8I2Pmtx7A1R92ySshsPpozT9LQJCIt8iJ6Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=tmO20+vl4kIvcbteq8fzQYnNYh54DQYjB9VAHNJDVLw=; b=vRIkAUdHvBGyqtJzhfLVd+N459JiBCIyd614820i6PsIwXd2adjhN/1+gOz6xP9I+W US7C7O72+BMyMBqdoUumxS4jurdXGOVYPm6IqDeBMRe52YgPkmB63cepzkHRLBOd9+wN Gk0o5JiRPqvRVbNIzgDFo7c+ullK06Ux0mOVP3mleyQo6Sf88ma+WoiV3jc2zNn3y+B9 x8ihY0so9164MxFJTIYdxYFpO9Bb7f7EHQhEyGuFlGKF58V0VBzM8cEgI+xqYRj173WI f4gaPV4pAtyW/kbMa8FM7Sl6SmoYUu9ejqsZ1WMGkTQxQ/agj1LmgI0p+upNwQ1P8RyA mWag== X-Gm-Message-State: AJIora9VTh/SKYD//EM9soBKNVZUEFnahiGL/iOVu7wBkdwBX/Jl6ZmM 3scG9Q/ldB/Ygq7en/elMko3qw== X-Received: by 2002:a17:90a:df91:b0:1e3:4dc8:46e7 with SMTP id p17-20020a17090adf9100b001e34dc846e7mr35691475pjv.106.1655702612933; Sun, 19 Jun 2022 22:23:32 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:b60c:9d67:b219:6c6f]) by smtp.gmail.com with ESMTPSA id c18-20020a170902b69200b00168eb15f4c1sm7619445pls.210.2022.06.19.22.23.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 22:23:32 -0700 (PDT) Date: Mon, 20 Jun 2022 14:23:28 +0900 From: Sergey Senozhatsky To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: John Ogness , Petr Mladek , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: Boot stall regression from "printk for 5.19" merge Message-ID: References: <20220619204949.50d9154d@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220619204949.50d9154d@thinkpad> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (22/06/19 20:49), Marek Beh?n wrote: [..] > causes a regression on arm64 (Marvell CN9130-CRB board) where the > system boot freezes in most cases (and is unusable until restarted by > watchdog), or, in some cases boots, but the console output gets mangled > for a while (the serial console spits garbage characters). Can you please try disabling console kthreads and see how the boot process goes? Just `return 0` from printk_activate_kthreads() (I think this should do the trick). > The stall example: > > ... > [ 1.108141] io scheduler mq-deadline registered > [ 1.108143] io scheduler kyber registered > [ 1.163484] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver > [ > > Or another: > > ... > [ 1.108155] io scheduler mq-deadline registered > [ 1.108156] io scheduler kyber registered > [ 1.162991] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver > [ 1.163361] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver > [ 1.180827] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver > [ > > The garbage example: > > ... > [ 0.920951] raid6: using neon recovery algorithm > [ 0.921228] iommu: Default domain type: Translated > % > > gb@k+cFL/[ 4.954974] DSA: tree 0 setup > [ 4.955286] cfg80211: Loading compiled-in X.509 certificates for regulatory database This is pretty suspicious. I don't see how console kthreads would corrupt the output. I suspect that something else is going on, some memory corruption, etc.