Re: [ovirt-users] Problem with Getty and Serial Consoles

2016-06-16 Thread Christophe TREFOIS
Oha, didn’t understand that line in the doc.


Will try and report back.

Thanks,

  

> On 14 Jun 2016, at 14:27, Francesco Romani  wrote:
> 
> - Original Message -
>> From: "Christophe TREFOIS" 
>> To: "users" 
>> 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@hvc0.service has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit serial-getty@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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with Getty and Serial Consoles

2016-06-14 Thread Francesco Romani
- Original Message -
> From: "Christophe TREFOIS" 
> To: "users" 
> 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@hvc0.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit serial-getty@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Problem with Getty and Serial Consoles

2016-06-13 Thread Christophe TREFOIS
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@hvc0.service 
has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit serial-getty@hvc0.service has failed.

I am running CentOS 7.2.

Does anybody have some pointers on what could be the issue here?

Thank you,

—
Christophe




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users