Re: serial kernel console vs. systemd

2011-05-26 Thread Josh Stone
On 05/26/2011 01:09 AM, Richard W.M. Jones wrote: > 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 update

Re: serial kernel console vs. systemd

2011-05-26 Thread Kashyap Chamarthy
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.

Re: serial kernel console vs. systemd

2011-05-26 Thread Richard W.M. Jones
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 (jist...@redhat.com) said: > > > > Anyway, if kmsg msgs are lost for you this probably happens inside of > > > > ply or something related, but not s

Re: serial kernel console vs. systemd

2011-05-20 Thread Richard W.M. Jones
On Thu, May 19, 2011 at 03:56:58PM -0400, Bill Nottingham wrote: > Josh Stone (jist...@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

Re: serial kernel console vs. systemd

2011-05-19 Thread Josh Stone
On 05/19/2011 12:56 PM, Bill Nottingham wrote: > Josh Stone (jist...@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, an

Re: serial kernel console vs. systemd

2011-05-19 Thread Bill Nottingham
Josh Stone (jist...@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

Re: serial kernel console vs. systemd

2011-05-19 Thread Josh Stone
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 ge

Re: serial kernel console vs. systemd

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 10:52, Josh Stone (jist...@redhat.com) wrote: > Hi, > > I'm trying to debug some kernel crashes that I'm getting in a virtual > machine running rawhide. Adding "console=ttyS0,57600 console=tty0" to > the guest kernel used to work so "virsh console my-vm" would get me all > the k

serial kernel console vs. systemd

2011-05-19 Thread Josh Stone
Hi, I'm trying to debug some kernel crashes that I'm getting in a virtual machine running rawhide. Adding "console=ttyS0,57600 console=tty0" to the guest kernel used to work so "virsh console my-vm" would get me all the kernel messages. Now in this systemd world, I get *some* messages as it runs