Re: non-recursive mutex, sbc, pcm, kernel panic

2004-05-10 Thread John Baldwin
On Sunday 09 May 2004 03:40 pm, Don Lewis wrote: > Typically the proper fix in this case would be to remove the > sb_lock() call from sb_reset_dsp() and always let the caller do the > locking. The patch below should do the trick, though I believe the > added locking and unlocking (the second secti

Re: non-recursive mutex, sbc, pcm, kernel panic

2004-05-09 Thread Don Lewis
On 9 May, Bartek Marcinkiewicz wrote: > Hello, > > I've just experienced kernel panic while trying > to play mp3 file. (My sound card: Creative Sound > Blaster 16, ISA, worked fine on older 5.x system). > > While reading code: > > sys/dev/sound/pcm/sound.c::snd_mtxcreate() creates > non-recurs

non-recursive mutex, sbc, pcm, kernel panic

2004-05-09 Thread Bartek Marcinkiewicz
Hello, I've just experienced kernel panic while trying to play mp3 file. (My sound card: Creative Sound Blaster 16, ISA, worked fine on older 5.x system). While reading code: sys/dev/sound/pcm/sound.c::snd_mtxcreate() creates non-recursive mutex. But in sys/dev/sound/isa/sb16.c::sb_setup() we