consoles broken on Thinkpad T20

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Sun, 12 Jun 2005 15:06:31 +0400
  Xin,

today I've upgraded to recent current, and got the following breakage.
When my notebook boots, right after printing "Updating motd",
screen goes black. After it has finished booting I can't switch
consoles - Alt-{F2,F3 .. F8} produces beep. ALt-F1 does not, but
screen is black. I've found a workaround - switching ttyv0 off
in /etc/ttys gives me ability to switch consoles and work. The first
vty is black still.

I've also tried putting 'exit 0' in the very beginning of /etc/rc.d/syscons.
In this case I see as notebook continues to boot, but at the very end,
after local startup, the first vty goes black.

Now I work with this line in /etc/ttys, to be able to log in:

ttyv0   "/usr/libexec/getty Pc"         cons25r off secure

Then I started X and tried to play with resolution on vtys:

root_at_think:~:|>vidcontrol MODE_279  < /dev/ttyv1
root_at_think:~:|>

I switched to ttyv1 and it was in nice 1024x768 resolution.

Then:

root_at_think:~:|>vidcontrol MODE_279  < /dev/ttyv0
Floating point exception: 8 (core dumped)

The first console is black.

root_at_think:~:|>gdb `which vidcontrol` vidcontrol.core 
#0  0x08049365 in video_mode (argc=0, argv=0xbfbfe930, mode_index=0x804dca4)
    at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:659
659                                     size[1] = new_mode_info.vi_height /
(gdb) bt
#0  0x08049365 in video_mode (argc=0, argv=0xbfbfe930, mode_index=0x804dca4)
    at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:659
#1  0x080499d8 in main (argc=2, argv=0xbfbfe930)
    at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:1253
(gdb) 

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Received on Sun Jun 12 2005 - 09:06:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC