NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Weird tty* error messages in a qemu guest with "-vga none".
On Sun, 2 Aug 2020 at 12:40, Martin Husemann <martin%duskware.de@localhost> wrote:
>
> On Sun, Aug 02, 2020 at 12:34:23PM +0100, Ottavio Caruso wrote:
> > 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
>
> Well, if there is no graphics card (as you told Qemu), there is no wscons
> console and the /dev/ttyE* devices are not available.
>
> You need to set wscons=NO (for rc.d to not try configuring the ttyE* virtual
> consoles) and also mark all ttyE* lines in /etc/ttys as "off" (to avoid a
> getty on the non existent virtual console).
I've done that and indeed it gets rid of all errors. Thanks.
--
Ottavio Caruso
Home |
Main Index |
Thread Index |
Old Index