From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: Re: 2.6.15-rc6: boot failure in saa7134-alsa.c Date: Wed, 21 Dec 2005 23:42:27 +0100 Message-ID: <20051221224227.GD3917@stusta.de> References: <20051220131810.GB6789@stusta.de> <20051220155216.GA19797@master.mivlgu.local> <20051220191412.GA4578@stusta.de> <43A86B20.1090104@superbug.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailout.stusta.mhn.de (mailout.stusta.mhn.de [141.84.69.5]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with SMTP id AD7FF1B6 for ; Wed, 21 Dec 2005 23:42:27 +0100 (MET) Content-Disposition: inline In-Reply-To: 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: Takashi Iwai Cc: Linus Torvalds , James Courtier-Dutton , Sergey Vlasov , Ricardo Cerqueira , mchehab@brturbo.com.br, Linux Kernel Mailing List , video4linux-list@redhat.com, perex@suse.cz, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, Dec 21, 2005 at 07:52:02PM +0100, Takashi Iwai wrote: > At Wed, 21 Dec 2005 10:32:41 -0800 (PST), > Linus Torvalds wrote: >... > > > So, a "safe" solution for the time being appears to be either > > > - to look through the whole codes and adjust *_initcall() levels, > > > - to force to build saa7134-alsa as a module, or > > > - to move saa7134-alsa.c to sound/ directory. > > > > Well, you dropped the easiest: make saa7134 just use "late_initcall()". > > > > It's not "correct", but it's certainly no less correct than just forcing a > > driver to be moved for link order reasons. > > Yep, that's obviously the easiest one. I'd vote for this, at least > for 2.6.15, once after it's confirmed to work. I've already stated somewhere in this thread that this did fix it for me. > Takashi cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964895AbVLUWma (ORCPT ); Wed, 21 Dec 2005 17:42:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964887AbVLUWma (ORCPT ); Wed, 21 Dec 2005 17:42:30 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:39436 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S964895AbVLUWm2 (ORCPT ); Wed, 21 Dec 2005 17:42:28 -0500 Date: Wed, 21 Dec 2005 23:42:27 +0100 From: Adrian Bunk To: Takashi Iwai Cc: Linus Torvalds , James Courtier-Dutton , Sergey Vlasov , Ricardo Cerqueira , mchehab@brturbo.com.br, Linux Kernel Mailing List , video4linux-list@redhat.com, perex@suse.cz, alsa-devel@alsa-project.org Subject: Re: [Alsa-devel] 2.6.15-rc6: boot failure in saa7134-alsa.c Message-ID: <20051221224227.GD3917@stusta.de> References: <20051220131810.GB6789@stusta.de> <20051220155216.GA19797@master.mivlgu.local> <20051220191412.GA4578@stusta.de> <43A86B20.1090104@superbug.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 21, 2005 at 07:52:02PM +0100, Takashi Iwai wrote: > At Wed, 21 Dec 2005 10:32:41 -0800 (PST), > Linus Torvalds wrote: >... > > > So, a "safe" solution for the time being appears to be either > > > - to look through the whole codes and adjust *_initcall() levels, > > > - to force to build saa7134-alsa as a module, or > > > - to move saa7134-alsa.c to sound/ directory. > > > > Well, you dropped the easiest: make saa7134 just use "late_initcall()". > > > > It's not "correct", but it's certainly no less correct than just forcing a > > driver to be moved for link order reasons. > > Yep, that's obviously the easiest one. I'd vote for this, at least > for 2.6.15, once after it's confirmed to work. I've already stated somewhere in this thread that this did fix it for me. > Takashi cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed