[rhelv6-list] Serial login tty on a RHEL6 Xen domU?

Pasi Kärkkäinen pasik at iki.fi
Sat Nov 20 13:43:03 UTC 2010


On Sat, Nov 20, 2010 at 01:39:45PM +0100, Matthias Saou wrote:
> Matthias Saou wrote:
> 
> > Does anyone know if it's possible to get everything set up so that I
> > can log into the RHEL6 domU from the RHEL5 dom0 after a simple "xm
> > console"?
> 
> The typical "cry for help, then figure it out within minutes".
> 
> I reinstalled a new RHEL6 domU, passing --nographics to virt-install,
> and anaconda set up everything just fine. Things are quite different
> from RHEL6, mostly because of how init is now configured, but I saw the
> difference : hvc0 vs. xvc0.
> 

Yep, "xvc0" is the console device for old "Xenlinux" kernels,
but the upstream kernel.org Linux kernels use "hvc0" as the console
device for Xen pvops PV guests.

-- Pasi

> On the graphically installed RHEL6 domU, I just needed to put
> "console=hvc0" on the kernel command line (instead of xvc0 to which I
> was used to), and everything worked from there :
>  * Kernel boot messages still got displayed (they were with xvc0 too)
>  * System boot messages started being displayed without further changes
>  * An agetty login process got spawned automatically
>  * Even hvc0 got added to /etc/securetty automatically!
> 
> Solved, and working nicely :-)
> 
> Matthias
> 
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list




More information about the rhelv6-list mailing list