🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7542

Re: [PATCH RFC 0/2] netconsole: allow replaying the printk buffer on demand

#7542
From: Breno Leitao
Date: Mon, 26 Oct 2026 15:32
18 lines
9618 bytes
Hello Chris,

On Mon, Oct 26, 2026 at 10:39:34PM +0800, Chris Down wrote:
> Breno Leitao writes:
> > So the next step would be to add a basic /sys/class/console/, similar to
> > [2], and put a `replay` entry in it.
> 
> Feel free to incorporate an abridged version of my patch with my From: in
> your series if you like and we can take whichever one lands first.

Thanks Chris.

Your patch does a bit more than the series needs: it also adds the
loglevel entries to sysfs. Would you be OK if I trimmed those out for
now, kept only the basic sysfs support, and preserved your authorship?

--breno
Technical Details
Message-ID: <at9sdzpT1y7ygAbR@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351970-linux-kernel-netdev=dewy.ru
References: <20261024-netcons-replay-upstream-v1-0-9613f38496e5@gmail.com> <87fqxskdpl.fsf@jogness.linutronix.de> <at84qygscue8crQi@gmail.com> <at9mJoA8ZQfUCFGw@chrisdown.name>

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-351970-linux-kernel-netdev=dewy.ru
From: leitao@debian.org (Breno Leitao)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH RFC 0/2] netconsole: allow replaying the printk buffer on
 demand
Date: Mon, 26 Oct 2026 08:32:00 -0700
Organization: Usenet Network
Message-ID: <at9sdzpT1y7ygAbR@gmail.com>
References: <20261024-netcons-replay-upstream-v1-0-9613f38496e5@gmail.com>
 <87fqxskdpl.fsf@jogness.linutronix.de>
 <at84qygscue8crQi@gmail.com>
 <at9mJoA8ZQfUCFGw@chrisdown.name>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1338317"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:cjLvVrXQeSBxGnz1XMdlEN1jofA= sha256:Ygj9a4lxmiv7oxTSxFDkKq/iLHd4PIAw9BiC1crvM5o=
	sha1:7bN76DD+jMcRAh7eRMkvlMXncfE= sha256:qddtfJAs3KDIL0cDa7b4uhqoQwHRvNb8x+V+/fNLsqw=
Content-Disposition: inline
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 178A8125BAF; Mon, 26 Oct 2026 18:38:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.389
X-Spam-Status: No, score=-3.389 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=debian.org
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 pouz8CHSiCuZ;
	Mon, 26 Oct 2026 18:38:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351970-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=debian.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id BFDDD125BA9; Mon, 26 Oct 2026 18:38:44 +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 D1A10259B0; Mon, 26 Oct 2026 15:32:25 +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=1793028745;
	b=yj9bie8lkKiaOTzb/i8R+aLYOpB0cIe2j8XA/EhBxe+pZlcllSmSjQwD7iqW2/dHQcyZ
	 3T2xK8kGmmRughWrs04HDBpwCXj6s82n3/EZblpU9xucGTaWiSsrLDZGi5KblMoydUJQt
	 1oKUR9m9ojr9fQM9OiCmCTIlXYN6RDZeb56K08d1d4Zk0sY3MglBCQTBe/v2g/geOJUp1
	 VBeiFtLEImhamaGsDmrGL7narsADREakMSC7kQHXA6MXEafXKbKT8CoTxXY3NfpxL/aJO
	 6+WraMslbuZK2tyM1ivADgkXXaCxQ0qxcEn4VuucPaqSFMQGtc4cmE3r4f8ZcxPsTeQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793028745;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:
	 X-Debian-User;
	bh=xsbZnMuIwZGVt5Zv5ZprAj+CulDRMl9ek0Cr3wabECE=;
	b=QVUUKOpiut1w9KMilHNUEVaan0WiTJGXV/fHiAP5GcqQaTBMVVG1YhuMLLs9DSaPbQ0N
	 DSmagIqVFPj4+7Q2vtVjLIoVNDW/AQkTeacKsv2z+1BEZTGuyRj3GIaekAHjAltjR4+bG
	 BgQoFLgcRUR5bq9ORWYW02374kevOk6PNo53eHZ9hXGd43psINIRG4gEfqlKltrA/RwgX
	 zbRwJMzJC7hfBHqGOdoIGrY7P69l/ur5CzEz1w5KGe/qS4S9NZ7qXeM0mcXyNNiuW/DGv
	 1hATFVeq171T2xW77BLkrsLQ2QWpyKbeAkNn0fpZKcccRhh4ReZDOx+HvNK70x4Hz5g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=IoRI1Jhi;
	dmarc=pass header.from=debian.org;
	spf=pass smtp.mailfrom=debian.org;
	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 4015C606A325;
	Mon, 26 Oct 2026 15:32:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=IoRI1Jhi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=82.195.75.108
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793028744;
	b=vK4ggNY0TbedSxdaUhLs71maSBdFCwiR8TZzd5sCBeFvjg8iyzNAfP2gGr44Rka7njax
	 OeeXlIDzTIXDRAjTpBxPbno/w/PtOUhXblF/7O/biRLTrvZJwp/0AFv56PbeMfcTfd5By
	 hLcSFUhFNAFyRWbE5aZyF/jlFuIlUJo7waUN06V1nE1l/noE7xmbOA6nxpGgXI1qfC/Zf
	 JuetcKRri7SoNS0QLQ06wlI0Vwnx1W4vIUJbGST1IK8ziiPJgrrC14bMJBKtyng52UIjZ
	 63t1SMVNvlpm9Rwpoq9gTch7J3QmMNddKOUXMX/U34Y1KSrDZvdpu7SQjOXqUEI4a2A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793028744;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To:X-Debian-User;
	bh=xsbZnMuIwZGVt5Zv5ZprAj+CulDRMl9ek0Cr3wabECE=;
	b=aioJUOENummFgWbxmJkECtTRt4L8LAjzNEt3ter0Ia1VRrAiSobwIcWqt2GkmM+DtXm6
	 lk8fAwZH2Cer3nn7kYJlz+0a1qvUfU5/nrqgGWs33tBFzLv41Et1DdWFNnzXMzipgxLpE
	 771fy2wl8ZNSq8jQ87j46PpaHHHHEP81J6e6TS1KNlvdfLQ3wEiZAM0bYVcbpWQwxxMjQ
	 C+608f6qY6lHFOjkhP+/sp35JbzvB7d0qcnVIo/1fDBbe24Yqh+H81XQfSaGX3aMsOtb5
	 0mIYlBGDiqLLHdtbAvVcX8t82N8vaLin+dxVZu7f9YyWoo7snQB9a3UZa+YcgJQbWLA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=debian.org;
	spf=pass smtp.mailfrom=debian.org;
	dkim=pass header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=IoRI1Jhi;
	arc=none smtp.remote-ip=82.195.75.108
X-Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B46DC606A31A;
	Mon, 26 Oct 2026 15:32:23 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B46DC606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=debian.org
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:Reply-To:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=xsbZnMuIwZGVt5Zv5ZprAj+CulDRMl9ek0Cr3wabECE=; b=IoRI1JhiV7krpPaiUcxvPCmXe3
	MHJ2c8wAUT8DD1SCTpRiFg5MO8oddSvRs1ceA6w6L9f9kt50vm0hN1TXTC/PVh4aToQJVjJHL4uUB
	msUFJYVS823574Ow0sELheq2lw7LdPQt5li8A2fj+19yN7wOlqtv5HvLcM3zeVP6eKctNFVcCBmg4
	PMY2j6JjeyzOy5P+bsbRBBnIXinzGIEOvf+GPqz1SAM5+p3wqZONII2C0tRlr11xZOcRApuhOcYBK
	1nCVJymXCF+bTTB4Z/X4KURwy5QkwfxMCU2kyYdKmzDmJArNNaV5cbEVQvqMlZaAtRgwkLpD9kDJi
	/s+6R8yg==;
X-Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <leitao@debian.org>)
	id 1xLMgA-000m23-2K;
	Mon, 26 Oct 2026 15:32:06 +0000
X-Cc: John Ogness <john.ogness@linutronix.de>, 
	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-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
X-In-Reply-To: <at9mJoA8ZQfUCFGw@chrisdown.name>
X-Debian-User: leitao