Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1188472iol; Sun, 12 Jun 2022 08:29:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1TbAPoZsIecVfGNstixKTzm1j6XTTuCkKH5FYBwPKC68+kG7RRG7mFPBaT0L8BKRq90UK X-Received: by 2002:a17:902:6b4c:b0:168:aa50:ddc with SMTP id g12-20020a1709026b4c00b00168aa500ddcmr17943506plt.59.1655047765934; Sun, 12 Jun 2022 08:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655047765; cv=none; d=google.com; s=arc-20160816; b=DEvmcySbk5U4EePdq1epnt6hC/jALLVwosS52zHmTDxoz3H42DWvc5SA8JRN0EYI23 QF94N0fhJ3m2eks86JQ8aIzlYeC+cOU4qbNoOtpr59qmYmQEY3+8v1GgjewsxbTmgQpM +CHK/t0QuexbVb7WKo2v23TkyNw2RHXTCIO9M8qnR+Z7kRt1pJXvkWWDAonUF13+YRMM BN53P3s8OCwir/0EfItUS/MHvPQI5WrVUjYJBzwkdRoUjMkTkwrCFvZeCTgYg0+2L05F ax66Hap9K5IAEbTaFnC+vRjUVUu9qIlqzYTQAR2rL0dZyAhtcsUQ2qZj095uHmbHwZhS dBDg== 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=jZK9seyLhEtguREoqjcxM6GoxzolaKvu9wYtMvBrtBY=; b=TjzpOpEHOHIRJPGE+GsMnfhZkv83V1iE9Qc0fNVLpROJ3bVgIB3DJ6+kObzI3Nrehc pApS/AtIbttXpOdStrYOpXQ8e4cadHmLZhnqPz1ahV+d4RRcBh9F6qtLHjlSgT7BR8dj 308xikfir3Xwn3YLb+xsWOunVag8hqfmrguPRnLoOQbgi6upYygWxYZEPhP/HlfhkTJ+ uRzNuDTvCuuZsGOnGpoQqXPLtoifD7e85ny5Yeop5fpNcd8wUsWN023dvJ6fhRTV3tlK Gg3yKoc+wAhezu3Jacz5Cn25qW0sDUy9FLPlkDt1GsN1Tu0uwvn21IIXgt0BdPfE+WYM ZTDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZqoHvd7C; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a170902b59200b00158f04afd74si6042984pls.146.2022.06.12.08.29.13; Sun, 12 Jun 2022 08:29:25 -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=@gmail.com header.s=20210112 header.b=ZqoHvd7C; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233341AbiFLNbM (ORCPT + 99 others); Sun, 12 Jun 2022 09:31:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233302AbiFLNbK (ORCPT ); Sun, 12 Jun 2022 09:31:10 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585A32A42B for ; Sun, 12 Jun 2022 06:31:09 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id u99so5949452ybi.11 for ; Sun, 12 Jun 2022 06:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jZK9seyLhEtguREoqjcxM6GoxzolaKvu9wYtMvBrtBY=; b=ZqoHvd7CG5KBmX1FLe+L8i01SEWKpCro85xP1dfO7EacPV8GIBBrZOMK7iuVRFVLVz +jYGoyps1ep5Sa2Jm+hL8kSYMBMiBKkQW5sbeFvpQ26TZlIj0vXu/WlQ1GgBqclK4gPo mf/hOTJAWp+YCGDDKjjmkzb2ycDw/S/Xw5HCE2HgbNkzj9avH1+tF3cRO20MmyamiqD3 0pbopRR3bGNm+6fZX+jXRb/fxIDRPKkCGrm0mVQHo+S7rjy27t0shoUZpZiPnF9/MlzR YVHi0Onn/Hg+89vRd7Tx8SDiLSWIxyAiWrxJApmcueW/0ed1m4s3/OFmKvRnYAA1P6EE /nZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jZK9seyLhEtguREoqjcxM6GoxzolaKvu9wYtMvBrtBY=; b=CcLimHwNI/VagWtE94q5UgGWDZ8By/w62hqZGWY927rlhp+VpFyzgChBG2eQ6jYkF0 V6+TLwNEpqrsNKL8ZfCMZJ69di2DcMGaTWsi82EOCquoVhC09wiPNwqx18rOQCeL5smQ KtwRo18Iab56Pg/ONa3v+JaLNTzderrxEdmnFoIwJhVhm0hOzUOOgzPjmuwofuZBEnuF Jt3SzSIr5xIRWK8qDSyX9pAVOAmPRX+aO2xlD5Exmrk2bx2KIpcMJeb/VT3HjpCAc9cV AkbouHKDcpPGMW7H8ZKFHZwDXJM3aAH8D37O63HthmaSBX8xr1CSk00qum3Opn4pZ9VS OPcw== X-Gm-Message-State: AOAM53074bJTHRDk1+NABFdon1Ge/dpFLcEQdLsKqg7e84Ue06y5NtgX fqCRZUmDhTR+pRKsGuyHDUUMh8Eg7gzcymEeZl5rJcs3 X-Received: by 2002:a25:a066:0:b0:664:411a:1071 with SMTP id x93-20020a25a066000000b00664411a1071mr16726400ybh.366.1655040668484; Sun, 12 Jun 2022 06:31:08 -0700 (PDT) MIME-Version: 1.0 References: <87y1y48spg.fsf@jogness.linutronix.de> In-Reply-To: From: Peter Geis Date: Sun, 12 Jun 2022 09:30:57 -0400 Message-ID: Subject: Re: [BUG] Threaded printk breaks early debugging To: Sergey Senozhatsky Cc: John Ogness , Petr Mladek , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Sat, Jun 11, 2022 at 10:57 PM Sergey Senozhatsky wrote: > > On (22/06/10 11:34), Peter Geis wrote: > > > On 2022-06-10, Peter Geis wrote: > > > > However I've run into an issue debugging early boot issues. Anything > > > > that causes the kernel threading system to die (for example here, a > > > > NPE) causes the boot console to halt before it outputs the error. > > > > > > A null pointer exception should trigger a panic, which will cause printk > > > to enter direct mode for the oops. It should be just as effective as > > > before introducing the printing kthreads. > > > > This might be a side effect of the fact that this is on a low powered > > arm64 board. I noticed with threading enabled during large bursts the > > console drops an excessive amount of messages. It's especially > > apparent during the handover from earlycon to the normal console. > > How many CPUs does it have? Four and all are online when the error occurs.