NetBSD-Users archive

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

Re: NetBSD 10 and framebuffer consoles setup vs 9.3 (font, multiple...)



Hi,

comparing to my old 9.3 system and doing some experimenting...  I found some difference and have questions.


Riccardo Mottola wrote:

I used the sysupgrade method for the first time, I hope I didn't mess up with etcupdate step with required a lot of manual work. Also, since the console was in 80x24 mode, checking diff of etcfiles was really cumbersome.

I can reboot and login, however my consoles don't behave as expected comapred to 9.3. How can I fix it? Did I miss some configuration?

1) Font size. The framebuffer is enabled (I notice during boot the switch from VGA) but the displayed font gives me 80x24 anyway... how can I do high-res as before (not 8x8 size on VGA, but classic expected framebuffer I got before... this new setup is very unusual)
Do I need to mess in wscons.conf? boot.cfg?

Here I found that enabling fonts helps. To restore the old behavior, I explicitely need to set:
setvar  ttyE0   font            Terminus16B-ISO8859-1

apparently otherwise something which looks like 32B seems to be used...



2) multiple consoles. ctrl/alt/F1 doesn't open a new login... just the basic console

Here I enabled:

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

And now I have all my consoles.


3) basic console behaves strange. login and shell does work, but if I do vi, I cannot navigate, keyboard is mapped wrongly, cursor keys do not work... totally crazy. Also certain promts spit out withyout newline, only carriage-return. Like it is not behaving as vt100?

This is a very nasty thing. However, now that I have 4 consoles, I notice that 1,2,3 work fine, it is console 0 that doesn't work well! But it is also... the first one and the only one I had at the beginning.

On 10.0 I notice:
console "/usr/libexec/getty Pc"         vt100   off secure
constty "/usr/libexec/getty Pc"         vt100   on secure

While on 9.3:
console "/usr/libexec/getty Pc"         wsvt25  off secure
constty "/usr/libexec/getty Pc"         wsvt25  on secure


notice vt100 vs wsvt25?

However if I compare dmesg, I see almost the same

10.0
[     5.876542] wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     6.006667] wsmux1: connecting to wsdisplay0
[     8.609158] wsdisplay0: screen 1 added (default, vt100 emulation)
[     8.609158] wsdisplay0: screen 2 added (default, vt100 emulation)
[     8.609158] wsdisplay0: screen 3 added (default, vt100 emulation)
[     8.609158] wsdisplay0: screen 4 added (default, vt100 emulation)

9.3
[     6.442132] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     6.467386] wsmux1: connecting to wsdisplay0
[    14.397163] wsdisplay0: screen 1 added (default, vt100 emulation)
[    14.397163] wsdisplay0: screen 2 added (default, vt100 emulation)
[    14.397163] wsdisplay0: screen 3 added (default, vt100 emulation)
[    14.397163] wsdisplay0: screen 4 added (default, vt100 emulation)



except intel vs. radeon, they both say vt100, so I am puzzled, it looks as the 9.3 is inconsistent !


Riccardo


Home | Main Index | Thread Index | Old Index