From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Boot failure with 2.6.21 with snd-maestro3 Date: Wed, 02 May 2007 11:58:32 +0200 Message-ID: References: <20070429173559.GP3468@stusta.de> <768801.1756.qm@web32406.mail.mud.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 14D7A243E4 for ; Wed, 2 May 2007 11:58:49 +0200 (CEST) In-Reply-To: <768801.1756.qm@web32406.mail.mud.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Giridhar Pemmasani Cc: alsa-devel@alsa-project.org, Clemens Ladisch , Linux Kernel Mailing List , Jaroslav Kysela , Adrian Bunk List-Id: alsa-devel@alsa-project.org At Sun, 29 Apr 2007 14:09:29 -0700 (PDT), Giridhar Pemmasani wrote: > > --- Adrian Bunk wrote: > > > On Sun, Apr 29, 2007 at 09:55:18AM -0700, Giridhar Pemmasani wrote: > > > When snd-maestro3 (ESS Maestro 3 driver) is enabled, kernel 2.6.21 fails > > to > > > boot - it seems to stop at various points depending on what other modules > > are > > > enabled. Disabling snd-maestro3 fixes all issues. Moreover, with > > everything > > > else being same, using maestro3.c from 2.6.20 kernel and using it in > > 2.6.21 > > > kernel also works - i.e., system boots fine. I will try to isolate the > > issue > > > and follow up. > > > > There were only the two attached patches between 2.6.20 and 2.6.21 to > > this driver: > > - maestro3: add request_firmware() > > - maestro3 - Use quirk list helper function > > > > 2.6.21 + 2.6.20 maestro3.c works for you. > > > > Does 2.6.21 + 2.6.20 maestro3.c + patch-maestro3-1 work? > > 2.6.21 with 2.6.20's maestro3.c with patch-maestro3-1 exhibited the same > issue. However, I identified the cause: maestro3 driver in 2.6.21 (even just > patch-maestro3-1) tries to load firmware file from user space. But each time > request_firmware is called it takes about 1 minute to timeout (because I > don't have the firmware installed?). Yes, some drivers (e.g. maestro3, ymfpci) require now external firmwares. Try to install them from the latest alsa-firmware package. I already added new Kconfigs to choose whether external or in-kernel firmware for 2.6.22. Anything else should be as it was. (The replacement with quirk list helper doesn't change the functionality.) Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993004AbXEBJ6v (ORCPT ); Wed, 2 May 2007 05:58:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993006AbXEBJ6v (ORCPT ); Wed, 2 May 2007 05:58:51 -0400 Received: from ns2.suse.de ([195.135.220.15]:36863 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993004AbXEBJ6t (ORCPT ); Wed, 2 May 2007 05:58:49 -0400 Date: Wed, 02 May 2007 11:58:32 +0200 Message-ID: From: Takashi Iwai To: Giridhar Pemmasani Cc: Adrian Bunk , alsa-devel@alsa-project.org, Clemens Ladisch , Linux Kernel Mailing List , Jaroslav Kysela Subject: Re: [alsa-devel] Boot failure with 2.6.21 with snd-maestro3 In-Reply-To: <768801.1756.qm@web32406.mail.mud.yahoo.com> References: <20070429173559.GP3468@stusta.de> <768801.1756.qm@web32406.mail.mud.yahoo.com> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta27) (fiddleheads) (+CVS-20060704) (i386-suse-linux) 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 X-Mailing-List: linux-kernel@vger.kernel.org At Sun, 29 Apr 2007 14:09:29 -0700 (PDT), Giridhar Pemmasani wrote: > > --- Adrian Bunk wrote: > > > On Sun, Apr 29, 2007 at 09:55:18AM -0700, Giridhar Pemmasani wrote: > > > When snd-maestro3 (ESS Maestro 3 driver) is enabled, kernel 2.6.21 fails > > to > > > boot - it seems to stop at various points depending on what other modules > > are > > > enabled. Disabling snd-maestro3 fixes all issues. Moreover, with > > everything > > > else being same, using maestro3.c from 2.6.20 kernel and using it in > > 2.6.21 > > > kernel also works - i.e., system boots fine. I will try to isolate the > > issue > > > and follow up. > > > > There were only the two attached patches between 2.6.20 and 2.6.21 to > > this driver: > > - maestro3: add request_firmware() > > - maestro3 - Use quirk list helper function > > > > 2.6.21 + 2.6.20 maestro3.c works for you. > > > > Does 2.6.21 + 2.6.20 maestro3.c + patch-maestro3-1 work? > > 2.6.21 with 2.6.20's maestro3.c with patch-maestro3-1 exhibited the same > issue. However, I identified the cause: maestro3 driver in 2.6.21 (even just > patch-maestro3-1) tries to load firmware file from user space. But each time > request_firmware is called it takes about 1 minute to timeout (because I > don't have the firmware installed?). Yes, some drivers (e.g. maestro3, ymfpci) require now external firmwares. Try to install them from the latest alsa-firmware package. I already added new Kconfigs to choose whether external or in-kernel firmware for 2.6.22. Anything else should be as it was. (The replacement with quirk list helper doesn't change the functionality.) Takashi