serial kernel console vs. systemd

Kashyap Chamarthy kchamart at redhat.com
Thu May 26 08:35:11 UTC 2011


On 05/20/2011 01:19 AM, Josh Stone wrote:
> On 05/19/2011 11:57 AM, Lennart Poettering wrote:
>> systemd does not redirect kmsg.
>>
>> We actually are no longer reading console= from the kernel cmdline. We
>> now rely entirely on /sys/class/tty/console/active which gives us
>> similar information. And we use it only and exclusively to spawn a getty
>> on the kernel console after finishing.
>
> Ok, I was hand-waving because I wasn't sure.
>
>> Anyway, if kmsg msgs are lost for you this probably happens inside of
>> ply or something related, but not systemd.
>
> Is "ply" part of (or short for) plymouth?  I took rhgb out of my command
> line, and it's giving me a lot more on serial now.  I don't remember
> that being necessary before, but I could be mistaken.  But I still don't
> get anything on a hard crash.  Any idea where else I could look to
> improve this?

To avoid plymouth(as it caused probs earlier while dealing with serial console), I use the 
below directive on the kernel cmdline.

console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH"
>
> Thanks,
>
> Josh


-- 
/kashyap


More information about the devel mailing list