From owner-freebsd-current@FreeBSD.ORG Sat Feb 25 14:39:39 2006 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 D7EE416A420 for ; Sat, 25 Feb 2006 14:39:39 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E4D43D48 for ; Sat, 25 Feb 2006 14:39:33 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from fwd32.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1FD0a4-0008E3-01; Sat, 25 Feb 2006 15:39:32 +0100 Received: from ramses.kicks-ass.net (GFW0XBZcweg7ajeBpO4cPOFkoN3uo2b1EfDNNbCSZETfHN-s-bcjox@[80.143.252.42]) by fwd32.sul.t-online.de with esmtp id 1FD0Zu-13Gulk0; Sat, 25 Feb 2006 15:39:22 +0100 Received: from localhost (dslb-084-061-019-208.pools.arcor-ip.net [84.61.19.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 8A95EB841; Sat, 25 Feb 2006 15:39:27 +0100 (CET) From: Markus Brueffer To: freebsd-current@freebsd.org Date: Sat, 25 Feb 2006 15:38:36 +0100 User-Agent: KMail/1.9.1 References: <43FF986E.9030205@savvis.net> In-Reply-To: <43FF986E.9030205@savvis.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2387583.nUJ13a5Bkd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602251538.54403.markus@brueffer.de> X-ID: GFW0XBZcweg7ajeBpO4cPOFkoN3uo2b1EfDNNbCSZETfHN-s-bcjox@t-dialin.net X-TOI-MSGID: cc6ec77f-ac6f-4a6e-89c1-844773973615 Cc: Subject: Re: [PATCH] kbdmux(4) update 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: Sat, 25 Feb 2006 14:39:40 -0000 --nextPart2387583.nUJ13a5Bkd Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Maksim, Am Saturday 25 February 2006 00:36 schrieb Maksim Yevmenkin: [...] > the following patch should fix the problem with kbdmux(4). please give > it a try and let me know if it works for you. [...] Great work! With this patch I'm currently working since half an hour with a= =20 PS/2 mouse, a Bluetooth mouse, a PS/2 keyboard and a Bluetooth mouse in=20 parallel without any ill effects. Without it, the machine froze within=20 seconds. Btw: I'm getting LORs from vkbd(4) when working with the bluetooth keyboard= =20 (6-STABLE from about an hour ago with the kndmux patch): Calling uiomove() with the following non-sleepable locks held: exclusive sleep mutex vkbd_lock r =3D 0 (0xc5c5b984) locked=20 @ /usr/src/sys/modules/vkbd/../../dev/vkbd/vkbd.c:354 KDB: stack backtrace: kdb_backtrace(1,c5c5b800,1,e9e3ccbc,e9e3cbc8) at kdb_backtrace+0x29 witness_warn(5,0,c06f3d9b,c0d2511f,0) at witness_warn+0x18e uiomove(c5c5b884,4,e9e3ccbc,c5c5b984,0) at uiomove+0x56 vkbd_dev_write(c5ffde00,e9e3ccbc,0,c076a740,0) at vkbd_dev_write+0x160 giant_write(c5ffde00,e9e3ccbc,0,c5ffde00,c0d27a40) at giant_write+0x2d devfs_write_f(c5f4a0d8,e9e3ccbc,c6027580,0,c60d9c00) at devfs_write_f+0x7b dofilewrite(c60d9c00,5,c5f4a0d8,e9e3ccbc,ffffffff) at dofilewrite+0x77 kern_writev(c60d9c00,5,e9e3ccbc,bfbfdfd0,4) at kern_writev+0x3b write(c60d9c00,e9e3cd04,3,151,202) at write+0x45 syscall(3b,3b,3b,bfbfdfd0,4) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f =2D-- syscall (4, FreeBSD ELF32, write), eip =3D 0x28136b7f, esp =3D 0xbfbf= dfac, ebp=20 =3D 0xbfbfe0e8 --- Markus =2D-=20 Markus Brueffer =9A =9A| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart2387583.nUJ13a5Bkd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQBEAGv+1I0Qcnj4qNQRAt8uAKCxtQpyMUsCxW/QAScgPanxleNQBQCdGUoC PmZMN408EpG5aom8F0B7BBM= =UJY/ -----END PGP SIGNATURE----- --nextPart2387583.nUJ13a5Bkd--