On Mon, 2002-09-23 at 18:41, Bob Miller wrote:
> I haven't looked at the code yet... but most of the time when you see this
> error it is because the kernel is compiled with CONFIG_DEBUG_SPINLOCK and
> the code is using a lock that hasn't be initilized correctly (i.e.:
Yup. I usually compile new kernels with spinlock debugging.
Looks like a number of the ioctls in oss/audio.c have locking problems.
At least the following ones look buggy:
Each of these tries to manipulate a spinlock through the uninitialized
dmap pointer. SNDCTL_DSP_SETTRIGGER actually operates on both dmap_in
and dmap_out. It should presumably acquire locks for both.
Looks like a copy/paste error, probably a result of a hasty conversion
cli()/sti()'s to spinlocks.
> Bob Miller Email: email@example.com
> Open Source Development Lab Phone: 503.626.2455 Ext. 17
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:39 EST