<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/networking/netconsole.rst, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-03-11T21:07:57Z</updated>
<entry>
<title>net: netconsole: Add continuation line prefix to userdata messages</title>
<updated>2024-03-11T21:07:57Z</updated>
<author>
<name>Matthew Wood</name>
</author>
<published>2024-03-08T00:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b3953585953a42cd29045c80b20b2bdd6633225'/>
<id>urn:sha1:2b3953585953a42cd29045c80b20b2bdd6633225</id>
<content type='text'>
Add a space (' ') prefix to every userdata line to match docs for
dev-kmsg. To account for this extra character in each userdata entry,
reduce userdata entry names (directory name) from 54 characters to 53.

According to the dev-kmsg docs, a space is used for subsequent lines to
mark them as continuation lines.

&gt; A line starting with ' ', is a continuation line, adding
&gt; key/value pairs to the log message, which provide the machine
&gt; readable context of the message, for reliable processing in
&gt; userspace.

Testing for this patch::

 cd /sys/kernel/config/netconsole &amp;&amp; mkdir cmdline0
 cd cmdline0
 mkdir userdata/test &amp;&amp; echo "hello" &gt; userdata/test/value
 mkdir userdata/test2 &amp;&amp; echo "hello2" &gt; userdata/test2/value
 echo "message" &gt; /dev/kmsg

Outputs::

 6.8.0-rc5-virtme,12,493,231373579,-;message
  test=hello
  test2=hello2

And I confirmed all testing works as expected from the original patchset

Fixes: df03f830d099 ("net: netconsole: cache userdata formatted string in netconsole_target")
Signed-off-by: Matthew Wood &lt;thepacketgeek@gmail.com&gt;
Reviewed-by: Breno Leitao &lt;leitao@debian.org&gt;
Link: https://lore.kernel.org/r/20240308002525.248672-1-thepacketgeek@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: netconsole: add docs for appending netconsole user data</title>
<updated>2024-02-09T10:23:45Z</updated>
<author>
<name>Matthew Wood</name>
</author>
<published>2024-02-04T23:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa7b608d69ea9dfd65ef3694b22a2017d54e3d5b'/>
<id>urn:sha1:aa7b608d69ea9dfd65ef3694b22a2017d54e3d5b</id>
<content type='text'>
Add a new User Data section to the netconsole docs to describe the
appending of user data capability (for netconsole dynamic configuration)
with usage and netconsole output examples.

Co-developed-by: Breno Leitao &lt;leitao@debian.org&gt;
Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;
Signed-off-by: Matthew Wood &lt;thepacketgeek@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Documentation: netconsole: add support for cmdline targets</title>
<updated>2023-10-14T00:26:38Z</updated>
<author>
<name>Breno Leitao</name>
</author>
<published>2023-10-12T11:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eeb84d89f2e561ac5b97e0142c029908ddf00d5'/>
<id>urn:sha1:7eeb84d89f2e561ac5b97e0142c029908ddf00d5</id>
<content type='text'>
With the previous patches, there is no more limitation at modifying the
targets created at boot time (or module load time).

Document the way on how to create the configfs directories to be able to
modify these netconsole targets.

The design discussion about this topic could be found at:
https://lore.kernel.org/all/ZRWRal5bW93px4km@gmail.com/

Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;
Link: https://lore.kernel.org/r/20231012111401.333798-5-leitao@debian.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netconsole: Append kernel version to message</title>
<updated>2023-07-18T09:04:59Z</updated>
<author>
<name>Breno Leitao</name>
</author>
<published>2023-07-14T11:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c62c0a17f9b7398022f9eebe547878033264f81f'/>
<id>urn:sha1:c62c0a17f9b7398022f9eebe547878033264f81f</id>
<content type='text'>
Create a new netconsole runtime option that prepends the kernel version in
the netconsole message. This is useful to map kernel messages to kernel
version in a simple way, i.e., without checking somewhere which kernel
version the host that sent the message is using.

If this option is selected, then the "&lt;release&gt;," is prepended before the
netconsole message. This is an example of a netconsole output, with
release feature enabled:

	6.4.0-01762-ga1ba2ffe946e;12,426,112883998,-;this is a test

Cc: Dave Jones &lt;davej@codemonkey.org.uk&gt;
Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;
Link: https://lore.kernel.org/r/20230714111330.3069605-1-leitao@debian.org
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
<entry>
<title>Documentation: networking: correct spelling</title>
<updated>2023-01-31T12:00:47Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2023-01-29T23:10:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a266ef69b890f099069cf51bb40572611c435a54'/>
<id>urn:sha1:a266ef69b890f099069cf51bb40572611c435a54</id>
<content type='text'>
Correct spelling problems for Documentation/networking/ as reported
by codespell.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: linux-doc@vger.kernel.org
Cc: Jiri Pirko &lt;jiri@nvidia.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Eric Dumazet &lt;edumazet@google.com&gt;
Cc: Jakub Kicinski &lt;kuba@kernel.org&gt;
Cc: Paolo Abeni &lt;pabeni@redhat.com&gt;
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20230129231053.20863-5-rdunlap@infradead.org
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs: networking: convert netconsole.txt to ReST</title>
<updated>2020-04-30T19:56:36Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-04-30T16:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9d6ef25ecab3e10966981bc58d014576da74272'/>
<id>urn:sha1:d9d6ef25ecab3e10966981bc58d014576da74272</id>
<content type='text'>
- add SPDX header;
- add a document title;
- mark code blocks and literals as such;
- mark tables as such;
- add notes markups;
- adjust identation, whitespaces and blank lines;
- add to networking/index.rst.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
