consoles broken on Thinkpad T20
Gleb Smirnoff
glebius at FreeBSD.org
Sun Jun 12 11:27:10 GMT 2005
On Sun, Jun 12, 2005 at 03:06:31PM +0400, Gleb Smirnoff wrote:
T> The first console is black.
T>
T> root at think:~:|>gdb `which vidcontrol` vidcontrol.core
T> #0 0x08049365 in video_mode (argc=0, argv=0xbfbfe930, mode_index=0x804dca4)
T> at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:659
T> 659 size[1] = new_mode_info.vi_height /
T> (gdb) bt
T> #0 0x08049365 in video_mode (argc=0, argv=0xbfbfe930, mode_index=0x804dca4)
T> at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:659
T> #1 0x080499d8 in main (argc=2, argv=0xbfbfe930)
T> at /usr/src/usr.sbin/vidcontrol/vidcontrol.c:1253
T> (gdb)
Some more info:
(gdb) p new_mode_info.vi_height
$1 = 768
(gdb) p font_height
$2 = 0
(gdb) p cur_info.console_info.font_size
$3 = 0
(gdb)
Seems like the problem is that vidcontrol can't determine current font
height. Ok, I've tried to force non raster mode on /dev/ttyv0:
root at think:~:|>vidcontrol VGA_80x25 < /dev/ttyv0
It works. My first ttys is alive again. I see cursor, and I can see
log messages here. No login prompt, since it is truned off in /etc/ttys.
After that I can even set raster mode on it:
root at think:~:|>vidcontrol MODE_279 < /dev/ttyv0
root at think:~:|>
So, it looks like on startup vidcontrol can't determine font height and
leaves ttyv0 in inconsistent state.
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
More information about the freebsd-current
mailing list