From owner-freebsd-current@FreeBSD.ORG Sun Jun 12 11:06:36 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8425116A41C; Sun, 12 Jun 2005 11:06:36 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A4B43D48; Sun, 12 Jun 2005 11:06:35 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j5CB6X1A008376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 12 Jun 2005 15:06:33 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.1/8.12.8) with ESMTP id j5CB6WQC074292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jun 2005 15:06:32 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.1/8.13.1/Submit) id j5CB6Wj4074291; Sun, 12 Jun 2005 15:06:32 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 12 Jun 2005 15:06:31 +0400 From: Gleb Smirnoff To: delphij@FreeBSD.org Message-ID: <20050612110631.GA74232@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050125, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean Cc: current@FreeBSD.org Subject: consoles broken on Thinkpad T20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 11:06:36 -0000 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