Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp101696iog; Sun, 12 Jun 2022 20:27:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK+e/eELZsh+iHZ4wH77B0gwcdEZTL5FCjGL1J4H9mgF+ujg8oMk+YdqK82vObstx8LJqD X-Received: by 2002:a50:ec12:0:b0:42d:cbcf:a629 with SMTP id g18-20020a50ec12000000b0042dcbcfa629mr62325525edr.224.1655090857405; Sun, 12 Jun 2022 20:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655090857; cv=none; d=google.com; s=arc-20160816; b=STTyUmTEK7R9oVMPSWzSN7hPqaXaTPg6i99yBXFCE7y2vUtBjLUNinAnYvWnapseGf xtQK2HoeG1Xqs3w2Hjmp9aaUxd3+IPcilhF28/xlaiqeDn4QNfk/AD0tb8QshzekxylY L1A3AUoC8J7y6fULjdmMl3gHVgOFMVwz+sZtKwnaMafb6vdQHmRvDyS4r5+HGGnh8hTQ QgjvcJpWbLLYdoQHD/Rt/eBeQ8YOUMXWtBlaYqoOvdpMHSW0NAr2oukZP3HUt7+ODp7x oijhDJwIt06RZUkaApKpdNno+2sNsIxFeMdr4kgf6tjB+n29/ZnTbfFB0/MbBuLxkVlW WaLQ== 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=L4pUhakLpeWdRTQcLyq5yzn64tbD6Lu4RAFJSVoJmmo=; b=tl85/KzGK7dJMt30tj2P075aRXbri0hDKhcj1woy/YjhEPrlnXs0HpLwrfy30nptzY HIQnMx8/4UywrlYCtj0O+eMMKZdk1XO5/+kRqQGnryXxO3TBcf0DDRYrd32oF7vIatRP h4H0jccHonW9cqp+DinkL7iYmP2WW0qhOcLrDt6dz1Kbr0kLat46hdRqwvxLHini8mdI J/gYw2DL127H0+dePGwJNCNvwsnFBOEHm5i3Jl4x2kKxtVnIOIAFpMeqDyuwoMr5nEq7 vvmjRBVrJrrLgr4A00lhWGWlb3bWMhT2uYxB1Ca0Wu0IRYLicWY2NVmEgviaoCg9Z2Vu 7Zrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TPSgRqSx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v15-20020a50a44f000000b0042dce43ded6si6351613edb.180.2022.06.12.20.27.13; Sun, 12 Jun 2022 20:27:37 -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=@linutronix.de header.s=2020 header.b=TPSgRqSx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230422AbiFMCX4 (ORCPT + 99 others); Sun, 12 Jun 2022 22:23:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235542AbiFMCXz (ORCPT ); Sun, 12 Jun 2022 22:23:55 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BBE55F89 for ; Sun, 12 Jun 2022 19:23:52 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655087030; 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=L4pUhakLpeWdRTQcLyq5yzn64tbD6Lu4RAFJSVoJmmo=; b=TPSgRqSxJKpUzMpRDYleQ+mW3mGgo2s7Z6qJlxG0rDJaxuUCiy4IJ7yCEQfSCtsVj7tvu9 WVWVNOjTbBWN1cLTJa0xaA4sERf/1/MLNxpRxXETrtwP8Uue73f3uOvhC2r1YLl9dHSzeu d9vC9L1doE5A611uE+RClgTZzdveCUbt1Stdyd66VN8J4ia+dGBd+Xp4QZfXCUR3Jer5mN AhHohhx4EYiDNIR+GYjwKIkKMB/blVxQCCP+rslP6cHoa1mw67ZQpYtx0Ytv0oYIUBGUvA AsBAsS30junXnmCxU3BqCN6KiagBWANSZ/4jyqj0hcLKYrCeOYJeLMl5ETXgiA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655087030; 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=L4pUhakLpeWdRTQcLyq5yzn64tbD6Lu4RAFJSVoJmmo=; b=oq26gIIX/4R1s70Vh5UkPEYUPdDHS1kl8SGMOhIP6rqLLgnvjq3GF/kVztoroIA5H3JgUy DaJGTklOUb5xc8Ag== To: Peter Geis Cc: Petr Mladek , Sergey Senozhatsky , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." Subject: Re: [BUG] Threaded printk breaks early debugging In-Reply-To: References: <87y1y48spg.fsf@jogness.linutronix.de> <87zgihlbst.fsf@jogness.linutronix.de> Date: Mon, 13 Jun 2022 04:29:50 +0206 Message-ID: <87sfo9l2rt.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,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 2022-06-12, Peter Geis wrote: > The buffer isn't an issue here, everything is available in dmesg when > userspace becomes available. Instead some messages bound for the > serial console are never output. OK. Good to know. > We run a serial console at 1.5m baud which is significantly higher > than most SoCs which default to 115200. I have noticed some timing > differences since the introduction of the threaded console. A > significant amount of information is dumped very early in the boot > process (between 0 and 4 seconds into boot), as most drivers are > probing during this time. It also happens to be when the earlycon > console hands over to the normal console. There is no abnormal > debugging enabled, the output is a standard (non-quiet) boot log. The > question is why is direct mode not triggering during a panic? Just to be clear, you are not losing any intermediate messages. Only the tail end of the kernel log was never printed. Is this correct? This may be the same issue being discussed here [0]. John Ogness [0] https://lore.kernel.org/all/87v8t5l39z.fsf@jogness.linutronix.de