On Sun, 2003-03-30 at 11:30, Adrian Bunk wrote: > On Sun, Mar 23, 2003 at 07:11:03PM +0100, Peter Waechtler wrote: > > Am Fre, 2003-03-21 um 21.10 schrieb Adrian Bunk: > > > The following patch fixes the problem for me, please check whether it's > > > correct: > > > [patch deleted] > > With that patch you do not protect anything. > > The write_mix function should share the spinlock used in the > > interrupt handler. > > This sounds reasonable (I have to admit I didn't look deeply into the > code). > > > Do you compile for Uniprocessor? Can you post the relevant config? > > I don't get a link error with SMP. > > Yes, I'm compiling Uniprocessor. The .config is attached. > There's a problem when compiling the GUS driver into the kernel instead of as a module. I renamed the global "lock" to "gus_lock" and made sure that it's used (shared by gus_midi, gus_wave, ics2101) [snippet of sound/oss/Makefile] obj-$(CONFIG_SOUND_GUS) += gus.o ad1848.o gus-objs := gus_card.o gus_midi.o gus_vol.o gus_wave.o ics2101.o Adrian: Do you have a GUS and can test this?