From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124Ab0FAFiB (ORCPT ); Tue, 1 Jun 2010 01:38:01 -0400 Received: from cantor.suse.de ([195.135.220.2]:41031 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140Ab0FAFh7 (ORCPT ); Tue, 1 Jun 2010 01:37:59 -0400 Date: Tue, 01 Jun 2010 07:37:58 +0200 Message-ID: From: Takashi Iwai To: Giuliano Pochini Cc: "F. Heitkamp" , linux-audio-user@lists.linuxaudio.org, alsa-user@lists.sourceforge.net, Clemens Ladisch , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [alsa-devel] Crash 2.6.32.x, Echo 3G, Alsa, SCSI In-Reply-To: <20100531225936.4a9344df@Jay> References: <73211.74714.qm@web180714.mail.sp1.yahoo.com> <4B684513.8090201@ladisch.de> <20100202230911.71e8b600@Jay> <4C040864.8010205@ameritech.net> <20100531225936.4a9344df@Jay> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 31 May 2010 22:59:36 +0200, Giuliano Pochini wrote: > > On Mon, 31 May 2010 15:05:08 -0400 > "F. Heitkamp" wrote: > > > On 02/02/10 17:09, Giuliano Pochini wrote: > > > On Tue, 02 Feb 2010 16:30:27 +0100 > > > Clemens Ladisch wrote: > > > > > > > > >> Frederick V Heitkamp wrote: > > >> > > >>> Repeatable Hard Crash. > > >>> What else do I need to provide? > [...] > > > Signed-off-by: Giuliano Pochini > > > > > > --- alsa-driver-1.0.22.1/alsa-kernel/pci/echoaudio/echoaudio.c__orig 2010-02-02 22:37:33.000000000 +0100 > > > +++ alsa-driver-1.0.22.1/alsa-kernel/pci/echoaudio/echoaudio.c 2010-02-02 22:44:03.000000000 +0100 > > > @@ -1821,7 +1821,9 @@ static irqreturn_t snd_echo_interrupt(in > > > /* The hardware doesn't tell us which substream caused the irq, > > > thus we have to check all running substreams. */ > > > for (ss = 0; ss< DSP_MAXPIPES; ss++) { > > > - if ((substream = chip->substream[ss])) { > > > + substream = chip->substream[ss]; > > > + if (substream&& ((struct audiopipe *)substream->runtime-> > > > + private_data)->state == PIPE_STATE_STARTED) { > > > period = pcm_pointer(substream) / > > > substream->runtime->period_size; > > > if (period != chip->last_period[ss]) { > > > > > > > > > > > I've tried some newer kernels. Still having problems with the echo 3G. > > This is kernel version: > > 2.6.32.13. The above patches posted to the linux kernel list seemed to > > get rid of the crashes, but evidently did not go into the main kernel tree. > > Indeed. I've just checked 2.6.33 and the patch isn't there. It's in 2.6.34. > > If you need 2.6.32.13 you can apply the above patch to the kernel tree or > download ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2, > otherwise just use the latest kernel. Care to send the patch to stable kernel (with the upstream commit id)? thanks, Takashi