[ovirt-users] Problem with Getty and Serial Consoles

Christophe TREFOIS christophe.trefois at uni.lu
Thu Jun 16 14:49:08 UTC 2016


Oha, didn’t understand that line in the doc.


Will try and report back.

Thanks,

  

> On 14 Jun 2016, at 14:27, Francesco Romani <fromani at redhat.com> wrote:
> 
> ----- Original Message -----
>> From: "Christophe TREFOIS" <christophe.trefois at uni.lu>
>> To: "users" <users at ovirt.org>
>> Sent: Monday, June 13, 2016 5:05:28 PM
>> Subject: [ovirt-users] Problem with Getty and Serial Consoles
>> 
>> Dear all,
>> 
>> I am running 3.6.6 and am able to select a Console, however, the screen is
>> black.
>> 
>> On the hypervisor, I try to start getty service manually, and end up with
>> following error in journal
>> 
>> Jun 13 17:01:01 elephant-server.lcsb.uni.lu systemd[1]: Stopping
>> user-0.slice.
>> -- Subject: Unit user-0.slice has begun shutting down
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit user-0.slice has begun shutting down.
>> Jun 13 17:01:37 elephant-server.lcsb.uni.lu systemd[1]: Job
>> dev-hvc0.device/start timed out.
>> Jun 13 17:01:37 elephant-server.lcsb.uni.lu systemd[1]: Timed out waiting for
>> device dev-hvc0.device.
>> -- Subject: Unit dev-hvc0.device has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit dev-hvc0.device has failed.
>> --
>> -- The result is timeout.
>> Jun 13 17:01:37 elephant-server.lcsb.uni.lu systemd[1]: Dependency failed for
>> Serial Getty on hvc0.
>> -- Subject: Unit serial-getty at hvc0.service has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit serial-getty at hvc0.service has failed.
>> 
>> I am running CentOS 7.2.
>> 
>> Does anybody have some pointers on what could be the issue here?
> 
> Hi!
> 
> Make sure you added the right parameter to the kernel command line, as per
> 
> """
> TL;DR: To make use of a serial console, just use console=ttyS0 on the kernel command line, and systemd will automatically start a getty on it for you.
> """
> 
> nice full tutorial on http://0pointer.de/blog/projects/serial-console.html
> 
> Bests,
> 
> -- 
> Francesco Romani
> RedHat Engineering Virtualization R & D
> Phone: 8261328
> IRC: fromani



More information about the Users mailing list