NetBSD-Users archive

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

Weird tty* error messages in a qemu guest with "-vga none".



Hi,

I'm playing around with qemu and the "-vga none" option. From qemu(1):

-vga type
           Select type of VGA card to emulate. Valid values for type are
        none
           Disable VGA card.

As I boot the NetBSD guest in a serial console, I don't need VGA (or do I)?

In /var/run/rc.log:
[running /etc/rc.d/wscons]
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
Keyboard wsconsctl: WSKBDIO_SETENCODING: Permission denied

... and in the serial console:

Aug  2 12:22:41 NetBSD getty[495]: /dev/ttyE2: Device not configured
Aug  2 12:22:41 NetBSD getty[592]: /dev/ttyE3: Device not configured
Aug  2 12:22:41 NetBSD getty[537]: /dev/ttyE1: Device not configured

If I set wscons=NO in rc.conf, I don't get the references to
/dev/ttyEcfg in rc.log, but I still get the error messages about
/dev/ttyE{1-3}.

oc@NetBSD:/home/oc$ grep ttyE /etc/ttys
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 on secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 on secure
ttyE3 "/usr/libexec/getty Pc" wsvt25 on secure

What does this all mean?


-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index