From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 21:26:41 2005 Return-Path: X-Original-To: freebsd-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 3275A16A41F for ; Thu, 25 Aug 2005 21:26:41 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3381343D46 for ; Thu, 25 Aug 2005 21:26:40 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 28FDB13C831; Thu, 25 Aug 2005 23:26:39 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0F5669CD29; Thu, 25 Aug 2005 23:26:39 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id DBAA19AAB1; Thu, 25 Aug 2005 23:26:38 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id CB11B13C831; Thu, 25 Aug 2005 23:26:38 +0200 (CEST) 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 j7PLQcJG039695; Thu, 25 Aug 2005 23:26:38 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j7PLQcbW088057; Thu, 25 Aug 2005 23:26:38 +0200 (CEST) (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 j7PLQcnT065961; Thu, 25 Aug 2005 23:26:38 +0200 (CEST) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j7PLQbSe065960; Thu, 25 Aug 2005 23:26:37 +0200 (CEST) (envelope-from q@galgenberg.net) Date: Thu, 25 Aug 2005 23:26:37 +0200 From: Ulrich Spoerlein To: Maksim Yevmenkin Message-ID: <20050825212637.GA65918@galgenberg.net> Mail-Followup-To: Maksim Yevmenkin , freebsd-current@freebsd.org References: <430E3197.9080406@savvis.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng devel (FreeBSD) X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: freebsd-current@freebsd.org Subject: Re: kbdmux(4) freezing the system 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: Thu, 25 Aug 2005 21:26:41 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 25.08.2005 at 14:12:04 -0700, Maksim Yevmenkin wrote: > unfortunately its true. i was able to narrow it down on my system to > ps/2 mouse and/or keyboard. basically if i use ps/2 mouse (and > probably ps/2 keyboard) with kbdmux(4) i have system freeze. the > solution that works for me is to _not_ use ps/2 mouse. Well, I use the laptop keyboard (atkbd0) and either a PS2 keyboard via PS2-USB convertor, or a SUN keyboard via SUN-USB converter (although, the converter mumbles something about PS2) addr 1: EHCI root hub, Intel addr 2: USB2.0 Hub, vendor 0x05e3 addr 3: PS/2 KB & MS, vendor 0x0430 > you should also know that there is a keyboard state synchronization > problem with kbdmux(4) (seems to be related to control/shift/alt keys) > that i can reproduce, but still can not fix :( Hmmm, I had something strange going on with this Sun keyboard. Namely, all KeyPress/KeyRelease events would work like expected, except for the two Meta keys. Pressing them, would do nothing. Releasing them would result in the KeyPress (sic!) event. Then pressing any other key would result in the KeyRelease of the Meta key *and* the KeyPress of the pressed key. I can't reproduce this since I'm no longer using kbdmux(4), but I also changed my xmodmap, so this could be the cause. > > So, are there any users of kbdmux out there? Are there any known > > problems with system freezes? (I'm running RELENG_6 btw). > i did not get much of a feedback, so i assume not many people are using i= t. I think it's because it's not very easy to use. Getting that stupid 'kbdcontrol foo < /dev/whoknowswhatshouldbeplacedhere' right is very tricky. Especially if you want it to work in rc.d/syscons and devd.conf. > > I stopped using kbdmux(4) for now and not another freeze occurred, so it > > strongly points to kbdmux being the culprit. > yes, kbdmux(4) is definitely involved here. this is a high priority > item on my todo list and as soon as i get enough free time i will look > into this again. Good, at least I know the culprit now and my mental sanity is saved :) If you want me to test anything, just shoot. Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDDjeNmArGtfDbn0QRAszQAJ0Xv6QT0/MoiQCmxZi2hs1P14VhyACghpgS KW7R8yUCrN+7IaefSIv2u1M= =ODUH -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--