From owner-freebsd-current@FreeBSD.ORG Wed Mar 15 22:35:08 2006 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 6241216A400 for ; Wed, 15 Mar 2006 22:35:08 +0000 (UTC) (envelope-from q@galgenberg.net) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B5B243D6A for ; Wed, 15 Mar 2006 22:35:04 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from virusscan.mail (mail04.mail [172.25.1.103]) by mailrelay.mail (Postfix) with ESMTP id C38D011A0; Wed, 15 Mar 2006 23:35:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id B70347290; Wed, 15 Mar 2006 23:35:02 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 9364AAD6; Wed, 15 Mar 2006 23:35:02 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id k2FMZ2QC034677; Wed, 15 Mar 2006 23:35:02 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id k2FMZ2nr096932; Wed, 15 Mar 2006 23:35:02 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id k2FMZ1vg001603; Wed, 15 Mar 2006 23:35:01 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id k2FMZ1cR001602; Wed, 15 Mar 2006 23:35:01 +0100 (CET) (envelope-from q@galgenberg.net) Date: Wed, 15 Mar 2006 23:35:01 +0100 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20060315223501.GA1438@galgenberg.net> Mail-Followup-To: current@freebsd.org, Maksim Yevmenkin MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: Subject: kbdmux/syscons/vidcontrol interacts badly with X/radeon 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: Wed, 15 Mar 2006 22:35:08 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, this pertains to 6.1-PRERELEASE and is caused by devd calling 'syscons restart' on keyboard attach. More specifically it is due to=20 allscreens_flags=3D"-c blink 80x60" in /etc/rc.conf. This will then call vidcontrol and this totally screws up my X11 display (radeon driver). Killing X11 will _usually_ result in a normal console, but this is not always the case. Clearing allscreens_flags is also a possibile workaround. Also, on normal boot, vidcontrol will be called twice, once in normal startup, then via kbdmux/devd/syscons restart. Possible solution: Don't do a full restart, but refactor the keyboard code in syscons into a separate function and only call this function. I hope this can be implemented quickly and MFC'ed before 6.1. Thanks! Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEGJaV524iJyD+6d0RAst8AKCKP8k8yyr643FO4KlApvSy7WilmACgtPF7 95rA47pPMnQ0zPaZsFais64= =ix76 -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--