From: Takashi Iwai Subject: Re: ac97 oops in ali modem driver Date: Tue, 04 Oct 2005 13:05:03 +0200 Message-ID: References: <20051003010109.GA27888@redhat.com> <20051003143448.GA15786@tecr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 9188F1A9 for ; Tue, 4 Oct 2005 13:05:16 +0200 (MEST) In-Reply-To: <20051003143448.GA15786@tecr> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Sasha Khapyorsky Cc: Dave Jones , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 3 Oct 2005 17:34:48 +0300, Sasha Khapyorsky wrote: > > On 21:01 Sun 02 Oct , Dave Jones wrote: > > I just had a user file a Fedora bug with the following oops. > > Is there other messages from ali5451 loading? The sound works I guess? > What do you see when 'ls /proc/asound/ali5451/codec97#0'? Maybe the probe of secondary codec failed? Then the patch below might fix. Takashi --- linux/sound/pci/ali5451/ali5451.c 29 Sep 2005 10:47:07 -0000 1.71 +++ linux/sound/pci/ali5451/ali5451.c 4 Oct 2005 11:03:38 -0000 @@ -1994,8 +1994,10 @@ if ((err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i])) < 0) { snd_printk("ali mixer %d creating error.\n", i); if(i == 0) - return err; - } + return err; + codec->num_of_codecs = 1; + break; + } } if (codec->spdif_support) { ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl