Welcome! Log In Create A New Profile

Advanced

bodhi kernel request for tty_printk

Posted by neutronscott 
bodhi kernel request for tty_printk
October 05, 2019 04:57AM
bodhi,

I don't have a permanent serial cable installed. could you include ttyprintk option in future kernel builds? I believe this will allow console=ttyprintk in kernel cmdline to show init messages to netconsole to help troubleshoot issues without opening things up.

CONFIG_TTY_PRINTK=y

https://cateee.net/lkddb/web-lkddb/TTY_PRINTK.html
Re: bodhi kernel request for tty_printk
October 05, 2019 05:41AM
neutronscott,

Sure, I will take a look before releasing the new kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: bodhi kernel request for tty_printk
October 05, 2019 09:44PM
neutronscott,

It has potential, but looks like it does not work (at least in my initial testing).

Have you done this in Debian?

https://forum.doozan.com/read.php?2,9522

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 10/05/2019 09:46PM by bodhi.
Re: bodhi kernel request for tty_printk
October 06, 2019 03:46PM
bodhi Wrote:
-------------------------------------------------------
> neutronscott,
>
> It has potential, but looks like it does not work
> (at least in my initial testing).

That's unfortunate. I have not yet compiled to test myself but had high hopes.

> Have you done this in Debian?
>
> https://forum.doozan.com/read.php?2,9522

I set netconsole from my uBoot bootargs when needed.
Re: bodhi kernel request for tty_printk
October 06, 2019 05:13PM
> > Have you done this in Debian?
> >
> > https://forum.doozan.com/read.php?2,9522
>
> I set netconsole from my uBoot bootargs when
> needed.

No, I meant the kernel boot log can be seen already by setting up netconsole module in /etc/initramfs-tools/modules.

The part that cannot be seen in the netconsole log is userspace syslog (i.e. rootfs mounting and daemon starting).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: