Re: [PATCH] kbdmux(4) update

From: Markus Brueffer <markus_at_brueffer.de>
Date: Sat, 25 Feb 2006 15:38:36 +0100
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 
PS/2 mouse, a Bluetooth mouse, a PS/2 keyboard and a Bluetooth mouse in 
parallel without any ill effects. Without it, the machine froze within 
seconds.

Btw: I'm getting LORs from vkbd(4) when working with the bluetooth keyboard 
(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 = 0 (0xc5c5b984) locked 
_at_ /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
--- syscall (4, FreeBSD ELF32, write), eip = 0x28136b7f, esp = 0xbfbfdfac, ebp 
= 0xbfbfe0e8 ---

Markus

-- 
Markus Brueffer š š| GPG-Key: http://people.FreeBSD.org/~markus/markus.asc
markus_at_brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4
markus_at_FreeBSD.org | FreeBSD: The Power to Serve!

Received on Sat Feb 25 2006 - 13:39:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC