consoles broken on Thinkpad T20

Gleb Smirnoff glebius at FreeBSD.org
Sun Jun 12 11:06:36 GMT 2005


  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


More information about the freebsd-current mailing list