Re: [BUG] 2.6.10-rc3 snd-powermac crash

From: Benjamin Herrenschmidt
Date: Mon Dec 20 2004 - 11:38:40 EST


On Mon, 2004-12-20 at 17:21 +0100, Takashi Iwai wrote:
> At Sat, 18 Dec 2004 18:33:58 +0100,
> Benjamin Herrenschmidt wrote:
> >
> > On Sat, 2004-12-18 at 18:07 +0100, Benjamin Herrenschmidt wrote:
> > > Hi Takashi !
> > >
> > > I get that regulary with latest kernel when using Alsa. Can't tell if it's new
> > > as I used dmasound so far, just wanted to give Alsa a try...
> >
> > It seems to be related to oss emulation I'd say ... it's triggered by
> > gtkpbbuttons volume control keys, which will open/ioctl/write/close the
> > device very quicky (changing volume & outputing a beep)
>
> So, it's not reproducible when you do playback normally?
> Can you get /proc/asound/card0/pcm0p/sub0/hw_params during playback?

No, it's not something that happens during normal playback, but
occasionally when tweaking the volume ... I suspect a fast
open/ioctl/close sequence or something like that... weird.

> > Maybe a race ? This is a laptop, so UP, no PREEMPT.
>
> Well, the volume and PCM shouldn't be racy. I'd first suspect another
> bug in PCM OSS emulation code...
>
> Could you compile with CONFIG_SND_DEBUG=y and see whether it catches
> anything?

Ok.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/