Date: Sun, 12 Jun 2005 15:06:31 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: delphij@FreeBSD.org Cc: current@FreeBSD.org Subject: consoles broken on Thinkpad T20 Message-ID: <20050612110631.GA74232@cell.sick.ru>
next in thread | raw e-mail | index | archive | help
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@think:~:|>vidcontrol MODE_279 < /dev/ttyv1
root@think:~:|>
I switched to ttyv1 and it was in nice 1024x768 resolution.
Then:
root@think:~:|>vidcontrol MODE_279 < /dev/ttyv0
Floating point exception: 8 (core dumped)
The first console is black.
root@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050612110631.GA74232>
