Article View: linux.kernel.netdev
Article #7498Re: [PATCH RFC 0/2] netconsole: allow replaying the printk buffer on demand
From: John Ogness
Date: Mon, 26 Oct 2026 13:09
Date: Mon, 26 Oct 2026 13:09
30 lines
10648 bytes
10648 bytes
On 2026-10-26, Breno Leitao <leitao@debian.org> wrote: >> In the per-console loglevel series Chris Down introduces [2] >> /sys/class/console/ to sysfs. This is where we would put all the >> upcoming per-console knobs. I would expect a replay trigger would fit >> well there. > > That makes sense from a design perspective. Thanks for the direction. > > So the next step would be to add a basic /sys/class/console/, similar to > [2], and put a `replay` entry in it. > > > That would be about three patches: > > 1. Create /sys/class/console/, similar to [2] but without any loglevel > handling. cdown can build on it when respinning the loglevel series. > 2. Add the per-console replay helper, similar to [3]. > 3. Add the first entry (/sys/class/console/replay), which triggers the > helper from patch 2. > > Is that what you have in mind? Yes. But perhaps someone else wants to provide some feedback about this? John >> [2] https://lore.kernel.org/lkml/84b8d91693e56f6026271bc40553bcb6657ab24d.1764272407.git.chris@chrisdown.name/ > > [3] https://lore.kernel.org/all/20261024-netcons-replay-upstream-v1-1-9613f38496e5@gmail.com/
Technical Details
Message-ID:
<87a4o0k3qa.fsf@jogness.linutronix.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351910-linux-kernel-netdev=dewy.ruReferences:
<20261024-netcons-replay-upstream-v1-0-9613f38496e5@gmail.com> <87fqxskdpl.fsf@jogness.linutronix.de> <at84qygscue8crQi@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351910-linux-kernel-netdev=dewy.ru From: john.ogness@linutronix.de (John Ogness) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH RFC 0/2] netconsole: allow replaying the printk buffer on demand Date: Mon, 26 Oct 2026 14:15:49 +0106 Organization: Usenet Network Message-ID: <87a4o0k3qa.fsf@jogness.linutronix.de> References: <20261024-netcons-replay-upstream-v1-0-9613f38496e5@gmail.com> <87fqxskdpl.fsf@jogness.linutronix.de> <at84qygscue8crQi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: usenet.network; logging-data="1312006"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:dWGAiHEuoCN6WCTFx4f0ZgtbOxg= sha256:AeJyeAfFggJHe50cPI0X5Q/Fj0dYdSJVL/ESTMvbW6g= sha1:ADtg/hqiT3LtdxlALUNWFMgHq0s= sha256:YynNlPb9WyxDbrJRB7yWGKCT+erEtGKTXbjm4ZgQFhY= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 45D02125BA8; Mon, 26 Oct 2026 16:15:49 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.418 X-Spam-Status: No, score=-2.418 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, INVALID_DATE_TZ_ABSURD=0.632, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=linutronix.de header.b=lEllKBMD; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=linutronix.de header.b=+4U4xjdp X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NH5FbbhfjDgF; Mon, 26 Oct 2026 16:15:45 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351910-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linutronix.de X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C345A125BA4; Mon, 26 Oct 2026 16:15:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 3A30B339E0; Mon, 26 Oct 2026 13:09:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793020194; b=dtcY6TDtzps77MuRvgymKrewkhv2HJycf4ABpgQyPjgPJh7Y5Mfw++Atk9FyraXbAv34 VYQrJcJSnneca31YZBDFHIkbb6aIFroGf+6NaYVLpvldQLyhh+/ELRGpCzx9h6VHAZ/yT xTOMesCBAxK6gfRzrt5xW5rd/mTWuCBjlYaqslqRR6EZPSH6gtrBZyamHDO8JKlOAn2gF F25GOA/EI/8YIruQ3tkWJnTtxSCcjhqWGGovrXGbO0b9HzMVY9yAYSmOnpqae+7ERFVg7 fe23aKlEhYIJtxeZuD4wVtGxk7EbbGXE5hqRTdNw97KPzNGVADWDeBCWVe3QWtizvgA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793020194; h=X-Original-To:Received:DMARC-Filter:From:DKIM-Signature: DKIM-Signature:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type; bh=gp7VP+Sir6E2FHA7V5/S6LXflY3MgarH/fCbeQrsJrQ=; b=RvOTDQiTrh7Qg/BbJE5BQ7mFxcqPIK6wWDA11IcNoD5M+LB2zuM1vF9tR4XHktVwPYHi lgPB4UV1NmccTD5otTe2Vr+9BWZBH1r/TsNMFXca+QfutEa2jVrVfdnK6DXj2nzYgmKLk EgsqF4tG+NQiAL31US+alAfz9P8x4ew0lPtoErbGMQZS8DIBJEdz5fHbRd0P4zDt4cu4w Lex/q7iTBoMJD2djgmHFOqawv3g5j44s8SNKnfnvXdr1e+Mla5gFhkWPEDYDSt3buWb9u ibqT0F0ug43v9yqiMN58WgBwiwHAkna7U5aXMn6sH9yLj4e1ZLoKm2DM7zxX8WomQiA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=lEllKBMD; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=+4U4xjdp; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1108B606A324; Mon, 26 Oct 2026 13:09:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=lEllKBMD; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=+4U4xjdp X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793020193; b=j5tse2tcR9ykHYPT25GYYP1uunjbjIX76GQenHemBywqqVbJINOrjla6PURb06W2s8b7 0KQERTOUIoB5R4uzUDcl89f29XsO8ksDqPSgMDpBPDrHaj78l2CCbnJZ741aZF8Hz5T+q LRIECdUGuUQ76Pqu/IFqTV9xWDeXVVRydv5ZmYL1FZJRXk7zvERIgUGs/05qXcZ2rRw1f bdQ3oUVepxoXh26msFQ4f71+u/UdoUrzDkIwAMqFW0j5+gdYsWFIIEl3MVEZTnIxIsur0 ZX0oGuXrQ5iwsiuiXwt+5JZUfG4ydO284lNxhUBMBJoWiyaJz6O1n5t0IjoEe2ZJ2wA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793020193; h=DMARC-Filter:From:DKIM-Signature:DKIM-Signature:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; bh=gp7VP+Sir6E2FHA7V5/S6LXflY3MgarH/fCbeQrsJrQ=; b=MlUoHBx5Oc2+mV6TOYgDWtxDMcNdwfogBHcAM+/ZCw23kVh2J65ZiWPVlJ4ww+UhNaVh 5FAG8mN1AGC6J8HaVDmYZgXcDRmVBewhKwj/sqDlrBUGR/tik15s1d0r99n7aFesw//AE bXlBkF8910kxFdn2ETx1M/N/LG9ZkDwOHEd/vXWGlefnnZj6ESvJL3rxBKxrViMXu5KmU o0twt36MVROnCPuULr4yrleCKrLEi0WtOixasnSTE8AvdKHUIGlswvp+S/oWmXQnThxts fdbaXFwdIRgwc2cr9BCaYXuVELy4v10/QDLVRe0JuZCbzfRtZraKLeSCSxFAmb765KA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=lEllKBMD; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=+4U4xjdp; arc=none smtp.remote-ip=193.142.43.55 X-Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C894606A31A; Mon, 26 Oct 2026 13:09:52 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7C894606A31A X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1793020190; 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=gp7VP+Sir6E2FHA7V5/S6LXflY3MgarH/fCbeQrsJrQ=; b=lEllKBMD3j5AQU/ymi7dm7LBf39LKBdUW9xtN8TBEtZvAYnfcvwkqiztMVErHzfYYeuRng H8EV5vmChV19qJkho0qbv1IJo7kNjWDDEsAtJ9O5wY+rmB8KD/sdqc7xd3+Q6QZyAnCbmR ZH16OxpixeOqpqzRlxxJbNJP/xEmgkP2sH/0t356l0msaFNMunG8+NLRAX1jD+L+S1nQtf 4pYh3iepK6ROHv/C+LEplHEcwkICKNeXFBlU8i+gLI7sLwKYqCx8iy20hn9cwlGw9g2CCL UAD0+p6GkozsR+0WlC8Iy1mbQINaCVc1nyxnrLfw7Ep6IvnB6+q0t/L74bGQYw== X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1793020190; 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=gp7VP+Sir6E2FHA7V5/S6LXflY3MgarH/fCbeQrsJrQ=; b=+4U4xjdp9taVuECH0lINOoZa2iar2hBEGD++XtCM9eGKm7CGVdxYLsiGenWM4pnhlh07Sg YrXXmtV8pZ9UBwDg== X-Cc: Sam Crossley <samuelcrossley@gmail.com>, Thomas Gleixner <tglx@kernel.org>, Petr Mladek <pmladek@suse.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Paolo Abeni <pabeni@redhat.com>, Randy Dunlap <rdunlap@infradead.org>, Sergey Senozhatsky <senozhatsky@chromium.org>, Shuah Khan <skhan@linuxfoundation.org>, Simon Horman <horms@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org X-In-Reply-To: <at84qygscue8crQi@gmail.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list