Bonjour,
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
A good tool would be an "interactive" shutdown: press a key to access the next displayed page of messages.
Thank you.
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
On 24/03/18 21:48, Ed Greshko wrote:
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
I recently had the same need. A video (using a phone) was not fast enough.
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
HTH
Le 24/03/2018 à 13:59, Eyal Lebedinsky a écrit :
On 24/03/18 21:48, Ed Greshko wrote:
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
I recently had the same need. A video (using a phone) was not fast enough.
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
How do you set up this?
On 03/24/18 20:59, Eyal Lebedinsky wrote:
On 24/03/18 21:48, Ed Greshko wrote:
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
I recently had the same need. A video (using a phone) was not fast enough.
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
None of my systems have serial ports. Luckily, my phone has a good camera. My DSLR is even better but I didn't need it.
But these days I wouldn't have to use either method. I have a setup to record video off of HDMI so I would simply reconfigure my HW.
On Sat, 24 Mar 2018 22:18:36 +0800 Ed Greshko ed.greshko@greshko.com wrote:
On 03/24/18 20:59, Eyal Lebedinsky wrote:
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
None of my systems have serial ports. Luckily, my phone has a good camera. My DSLR is even better but I didn't need it.
Never tried that: netconsole - would that be an option?
"netconsole is a kernel module that sends all kernel log messages (i.e. dmesg) over the network to another computer, without involving user space (e.g. syslogd). Name "netconsole" is a misnomer because it's not really a "console", more like a remote logging service." https://wiki.archlinux.org/index.php/Netconsole
HTH
On 25/03/18 02:20, Wolfgang Pfeiffer wrote:
On Sat, 24 Mar 2018 22:18:36 +0800 Ed Greshko ed.greshko@greshko.com wrote:
On 03/24/18 20:59, Eyal Lebedinsky wrote:
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
None of my systems have serial ports. Luckily, my phone has a good camera. My DSLR is even better but I didn't need it.
Never tried that: netconsole - would that be an option?
"netconsole is a kernel module that sends all kernel log messages (i.e. dmesg) over the network to another computer, without involving user space (e.g. syslogd). Name "netconsole" is a misnomer because it's not really a "console", more like a remote logging service." https://wiki.archlinux.org/index.php/Netconsole
In my experience the network is taken down before the end of the messages so you miss some.
I also use remote logging to my server wherever available (syslogd does this).
HTH
Le 24/03/2018 à 16:20, Wolfgang Pfeiffer a écrit :
On Sat, 24 Mar 2018 22:18:36 +0800 Ed Greshko ed.greshko@greshko.com wrote:
On 03/24/18 20:59, Eyal Lebedinsky wrote:
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
None of my systems have serial ports. Luckily, my phone has a good camera. My DSLR is even better but I didn't need it.
Never tried that: netconsole - would that be an option?
"netconsole is a kernel module that sends all kernel log messages (i.e. dmesg) over the network to another computer, without involving user space (e.g. syslogd). Name "netconsole" is a misnomer because it's not really a "console", more like a remote logging service." https://wiki.archlinux.org/index.php/Netconsole
On my f27 there is a netconsole service but, it starts before the network service and so fails to be launched... As it is a sysv service, I don't know how to confgure this service to start after network.
On Sun, 25 Mar 2018 09:27:01 +0200 François Patte francois.patte@mi.parisdescartes.fr wrote:
On my f27 there is a netconsole service but, it starts before the network service and so fails to be launched... As it is a sysv service, I don't know how to confgure this service to start after network.
An option then might be to start the network on boot-up as soon as possible, and on shutdown to take it down as late as possible.
As to the latter see one of the messages of Eyal Lebedinsky in this thread: "In my experience the network is taken down before the end of the messages so you miss some."
Thanks, Eyal, for pointing to this ..
So on shutdown netconsole might be disconnected a little bit too early, IIUC ...
That is, the order of starting services seems important.
In old sysv, IIRC, it was easy, to order the startup or shutdown of services with something like creating simple K[NN] or S[NN] links to maybe /etc/init.d/, -- not so now with systemd ..
A not so helpful starting point might be "man systemd.preset". Also: the files in /etc/systemd/system/ might give clues.
The trick seems to be for startup to create a netconsole.service (you might see its status via 'systemctl status netconsole'), and to start networking before netconsole.
Maybe it's neccessary to create it for /etc/systemd/system/ via 'systemd-sysv-install enable netconsole' but that's a guess - don't do it until you're sure about it. Better try: /usr/lib/systemd/systemd-sysv-install --help /usr/lib/systemd/systemd-sysv-install is-enabled netconsole
Yes, that looks strange: it seems systemctl doesn't support natively netconsole, diverting action to 'systemd-sysv-install'
Look at this:
% systemctl is-enabled netconsole netconsole.service is not a native service, redirecting to systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install is-enabled netconsole disabled
Some hints on how to organize the timing of startup services: https://fedoramagazine.org/systemd-unit-dependencies-and-order/ (see 'Unit order' on that page .. )
I have to set up netconsole for myself - so I might be back if I know more.
HTH
On 25/03/18 01:18, Ed Greshko wrote:
On 03/24/18 20:59, Eyal Lebedinsky wrote:
On 24/03/18 21:48, Ed Greshko wrote:
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
I recently had the same need. A video (using a phone) was not fast enough.
Fortunately I have a serial console attached to a second computer and all the messages were logged there. I set it up a few years ago and I found it helpful a few times.
None of my systems have serial ports.
This is the case for one of my computers, which does not have a serial socket on the back, but does have the pins on the mobo allowing attaching a cable. This is still common.
Luckily, my phone has a good camera. My DSLR is even better but I didn't need it.
But these days I wouldn't have to use either method. I have a setup to record video off of HDMI so I would simply reconfigure my HW.
On 03/25/18 06:06, Eyal Lebedinsky wrote:
This is the case for one of my computers, which does not have a serial socket on the back, but does have the pins on the mobo allowing attaching a cable. This is still common.
Pins are nothing without a UART.
On 03/24/2018 03:31 PM, Ed Greshko wrote:
On 03/25/18 06:06, Eyal Lebedinsky wrote:
This is the case for one of my computers, which does not have a serial socket on the back, but does have the pins on the mobo allowing attaching a cable. This is still common.
Pins are nothing without a UART.
I'm not sure what you mean by this. Some motherboards provide the pin clusters connected to the onboard UARTS, but not the 9-pin socket that mounts on the outside. You can get those from various places. I'm sure I could find several in my collection of older equipment.
On 25/03/18 09:31, Ed Greshko wrote:
On 03/25/18 06:06, Eyal Lebedinsky wrote:
This is the case for one of my computers, which does not have a serial socket on the back, but does have the pins on the mobo allowing attaching a cable. This is still common.
Pins are nothing without a UART.
Maybe I was not clear. The pins (2x5) are for attaching a DB9 on a cable, usually on a bracket. Naturally, the mobo has a UART. Often two.
On 03/25/18 07:22, Eyal Lebedinsky wrote:
On 25/03/18 09:31, Ed Greshko wrote:
On 03/25/18 06:06, Eyal Lebedinsky wrote:
This is the case for one of my computers, which does not have a serial socket on the back, but does have the pins on the mobo allowing attaching a cable. This is still common.
Pins are nothing without a UART.
Maybe I was not clear. The pins (2x5) are for attaching a DB9 on a cable, usually on a bracket. Naturally, the mobo has a UART. Often two.
I suppose you need to ask the OP if they have a DB9 connector on the back of their case. If not, they can easily use "setserial" to determine if they do have a UART. If they do, then they could run down to their computer store and get the HW they need to fix it up if they feel comfortable doing that.
Or, they could try using a camera. Our Galaxy S4 was up to the task. This was years ago, but I sort of recall turning the monitor's brightness high and the ISO also high and used AF-Lock. Worked just fine, for me.
Le 24/03/2018 à 11:48, Ed Greshko a écrit :
On 03/24/18 18:26, François Patte wrote:
While shutdowning, I can see, but have not the time to read, some strange messages on the console. These messages are not logged. Is there a way to slow down the message display at shutdown.
The easiest thing to do would be to take a video with your phone. Worked well for me in the past. I don't recall the messages I was seeing being a concern. The only bit of advice would be to turn off auto-focus on the camera.
My phone is a phone and has no video application. I am a man from the past!