Re: Latest MIDI patchset from Mat

From: Rene Ladan <r.c.ladan_at_student.tue.nl>
Date: Wed, 4 May 2005 00:31:15 +0200
On Mon, Apr 25, 2005 at 12:55:45PM -0500, Conrad J. Sabatier wrote:
> On Sat, 23 Apr 2005 16:40:44 -0400 (EDT), Andre Guibert de Bruet
> <andy_at_siliconlandmark.com> wrote:
> 
> I've attached the latest patchset Mat sent me.  They *should* apply
> cleanly to STABLE, but will yield a couple of failed hunks when applied
> to CURRENT, which are quite simple to fix by hand.
> 
> Just do the following:
> 
> cd /usr/src
> patch -p0 < /path/to/midi2-RELENG_5-mar05.diff

These patches work ok on

FreeBSD 5.4-STABLE #0: Mon May  2 02:26:10 CEST 2005     root_at_82-168-79-254-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE 

> Let us know if you need any help.  And also, do be sure to let us know
> if you're successful with these!  :-)

As I have a CS4281 (I do have some docs), there is no midi yet,
but the device shows up:

% cat /dev/midistat
FreeBSD Midi Driver (midi2)
No devices installed.

However, these kernel messages (if WITNESS is turned on) appear, before
the status is shown:

malloc(M_WAITOK) of "4096", forcing M_NOWAIT with the following non-sleepable locks held:
exclusive sleep mutex midistat lock r = 0 (0xc2502a80) locked _at_ /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c:928
KDB: enter: witness_warn
Calling uiomove() with the following non-sleepable locks held:
exclusive sleep mutex midistat lock r = 0 (0xc2502a80) locked _at_ /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c:974
KDB: enter: witness_warn

These are repeatable.

> Thanks!
> 
> -- 
> Conrad J. Sabatier <conrads_at_cox.net> -- "In Unix veritas"

Regards,
Rene
-- 
"It won't fit on the line."
		-- me, 2001

Received on Tue May 03 2005 - 20:31:45 UTC

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