public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Covici <covici@ccs.covici.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] my 5.15.93 kernel keeps rebooting
Date: Tue, 14 Feb 2023 17:04:24 -0500	[thread overview]
Message-ID: <m3bklvrjiv.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <CAGfcS_=8zKBDNf-8a4=BREfCut6BAUc8yNPTy6MY+HJA-WpOeQ@mail.gmail.com>

On Tue, 14 Feb 2023 16:25:55 -0500,
Rich Freeman wrote:
> 
> On Tue, Feb 14, 2023 at 2:54 PM John Covici <covici@ccs.covici.com> wrote:
> >
> > On Tue, 14 Feb 2023 14:08:34 -0500,
> > Rich Freeman wrote:
> >>
> > > will be displayed on the console briefly.  You can also enable a
> > > network console, which will send the dmesg output continuously over
> > > UDP to another device.
> >
> > OK, how would I set up logging to a network and what would I have to
> > do on another computer -- which in my case is Windows?
> 
> The docs are at:
> https://www.kernel.org/doc/Documentation/networking/netconsole.txt
> 
> (you can also google for linux netconsole for some wiki articles on it)
> 
> I have on my command line: netconsole=@/,6666@10.1.0.52
> 
> That IP is the host I want the log traffic to go to.  (Read the docs
> if you have a more complicated networking setup - I assume that will
> just run ARP and send stuff out without using a gateway/etc.)
> 
> Then on a receiving linux host I'd run (I think - it has been a while):
> nc -u -l -p 6666
> 
> Now, you mentioned Windows.  I've never used it, but nmap has a
> program available in a windows version called ncat that might do the
> job: https://nmap.org/ncat/
> 
> You just want to make sure you have it listening on port 6666 for UDP.
> Make sure you use UDP or you won't receive anything.
> 
> If it is working you should get a ton of log spam when your host boots
> - anything that shows up in dmesg will show up in the network console.
> It is sent in realtime.
Sounds great -- I notice you ommitted the ip address,  my network
device is brought up by a systemd unit file, will I need to specify
the device, then?  I was thinking of netconsole=@192.168.0.1/eno1 --
would this be correct, assuming the ip address is correct?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


  reply	other threads:[~2023-02-14 22:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 14:08 [gentoo-user] my 5.15.93 kernel keeps rebooting John Covici
2023-02-14 19:08 ` Rich Freeman
2023-02-14 19:54   ` John Covici
2023-02-14 21:25     ` Rich Freeman
2023-02-14 22:04       ` John Covici [this message]
2023-02-15 14:50   ` [gentoo-user] " Grant Edwards
2023-02-15 15:19     ` John Covici
2023-02-16 17:37       ` Laurence Perkins
2023-02-17 19:03         ` John Covici
2023-02-17 20:13           ` Mark Knecht
2023-02-17 21:30             ` John Covici
2023-04-16 10:09         ` John Covici
2023-04-16 10:28         ` John Covici
2023-02-15 16:42     ` Grant Edwards
2023-02-16 11:50     ` John Covici
2023-02-16 12:11       ` Rich Freeman
2023-02-16 14:08         ` John Covici
2023-02-16 14:17           ` Mark Knecht
2023-02-16 14:33           ` Rich Freeman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3bklvrjiv.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox