------- Comment From [email protected] 2015-05-05 04:55 EDT-------
Apparently this is still a problem for 14.04 on PowerKVM.  I just looked at a 
bug that was dup of this (LTC bug 124322).  It was a 14.04.2 with 3.13.0-51 
kernel, but I think this affects all 14.04 LTS.  Adding the "hvc0.conf" as 
described above fixed it.

This doesn't seem to be a problem for 15.04.  GA level 15.04 on the same
PowerKVM guest worked fine.  There are some differences between 14.04
and 15.04; the latter uses systemd to manage the gettys 14.04 and uses
initscripts (upstart)?  But the requirement is the same: we must have a
getty running on hvc0.

This also doesn't seem to be a problem for 14.04 in the PowerVM
environment, and I'm not sure why.  Both appear to use hvc0 for the text
console, but on PowerVM /etc/init/hvc0.conf is getting created and on
PowerKVM it is not.

(It's also not a problem for 14.04 on x86 KVM, which uses a device other
than /dev/hvc0...)

I noticed that most of the other, similar files are owned by upstart:

$ dpkg-query -L upstart | egrep "tty|console"
/etc/init/console.conf
/etc/init/tty1.conf
/etc/init/tty2.conf
/etc/init/tty3.conf
/etc/init/tty4.conf
/etc/init/tty5.conf
/etc/init/tty6.conf

But I could not find the owner of hvc0.conf, and by the timestamp is
clear it is created at intall time:

$ dpkg-query -S /etc/init/hvc0.conf
dpkg-query: no path found matching pattern /etc/init/hvc0.conf

$ ll /etc/init/hvc0.conf
-rw-r--r-- 1 root root 353 May  5 00:01 /etc/init/hvc0.conf

Can we get someone from Canonical to explain how this file is created,
and why we might be getting it in PowerVM but not PowerKVM?

I noticed in both PowerVM and PowerKVM, /proc/consoles lists hvc0...

$ cat /proc/consoles
hvc0                 -W- (EC    )  229:0

$ cat /proc/devices | grep 229
229 hvc

So maybe this can be used as an indicator of when hvc0.conf should be
created?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391919

Title:
  ISST-KVM:Ubuntu14.04: guest console not accessible but ssh and ping
  works fine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1391919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to