From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8BF9C15800F for ; Tue, 14 Feb 2023 22:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52FA7E07D8; Tue, 14 Feb 2023 22:04:27 +0000 (UTC) Received: from covici.com (debian-2.covici.com [166.84.7.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07D19E07A5 for ; Tue, 14 Feb 2023 22:04:26 +0000 (UTC) Received: from ccs.covici.com (ccs.covici.com [70.109.51.194]) (authenticated bits=0) by covici.com (8.15.2/8.15.2/Debian-22) with ESMTPSA id 31EM8mkY3703490 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 14 Feb 2023 17:08:49 -0500 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.17.1.9/8.17.1) with ESMTPS id 31EM4OOg603099 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 14 Feb 2023 17:04:24 -0500 Received: (from covici@localhost) by ccs.covici.com (8.17.1.9/8.17.1/Submit) id 31EM4OGE603098; Tue, 14 Feb 2023 17:04:24 -0500 Date: Tue, 14 Feb 2023 17:04:24 -0500 Message-ID: From: John Covici To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] my 5.15.93 kernel keeps rebooting In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Covici Computer Systems Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Archives-Salt: f56eae9c-05af-48c7-a142-b9bf9e81d024 X-Archives-Hash: 5621148b1f53a2bc024d525bb5c11b3e On Tue, 14 Feb 2023 16:25:55 -0500, Rich Freeman wrote: > > On Tue, Feb 14, 2023 at 2:54 PM John Covici 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