serial kernel console vs. systemd

Richard W.M. Jones rjones at redhat.com
Thu May 26 08:09:54 UTC 2011


On Fri, May 20, 2011 at 10:13:54AM +0100, Richard W.M. Jones wrote:
> On Thu, May 19, 2011 at 03:56:58PM -0400, Bill Nottingham wrote:
> > Josh Stone (jistone at redhat.com) said: 
> > > > 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?
> > 
> > You can set the console loglevel differently with 'dmesg -n<number>'.
> > Outside of that, if you get normal kernel messages but not messages on
> > hard crashes, that may just mean the kernel died before it got a chance to
> > log - in that case, there's not a lot you can do.
> 
> I really need to fix virt-dmesg ...

A rather late follow-up, but next time your VM crashes hard you could
try this:

https://rwmj.wordpress.com/2011/05/25/fun-new-virt-tools-virt-dmesg-and-virt-uname/
http://people.redhat.com/~rjones/virt-dmesg/

You will need the updated libvirt package currently in Rawhide
(libvirt >= 0.9.1-3).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


More information about the devel mailing list