Re: CentOS 7 kernel console under KVM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Once upon a time, Chris Adams <linux@xxxxxxxxxxx> said:
> Is there a way to get GRUB2 and the kernel to run a "serial" console
> under KVM?

So, I guess the people who replied didn't read - I tried ttyS0, and that
didn't work.

I did figure out why that doesn't work: when setting up a new VM with
libvirt in F20, if you choose RHEL7 as the guest OS, it gets set up
differently than RHEL6.  One difference is that it sets up a virtio
console, instead of a serial console.

First, it doesn't look like GRUB2 can talk to a virtio console.

Second, I guess I'm hitting a kernel bug, because the kernel should be
able to talk to a virtio console (i.e. hvc0).  It certainly shouldn't
crash because I tried to use that.  The device works after boot (I can
run a getty on it), it seems only the kernel can't talk to it directly
as a console.

-- 
Chris Adams <linux@xxxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux