Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750763AbVLTTOO (ORCPT ); Tue, 20 Dec 2005 14:14:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750795AbVLTTOO (ORCPT ); Tue, 20 Dec 2005 14:14:14 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:25870 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1750763AbVLTTON (ORCPT ); Tue, 20 Dec 2005 14:14:13 -0500 Date: Tue, 20 Dec 2005 20:14:12 +0100 From: Adrian Bunk To: Linus Torvalds Cc: 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: <20051220191412.GA4578@stusta.de> References: <20051220131810.GB6789@stusta.de> <20051220155216.GA19797@master.mivlgu.local> 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 Content-Length: 1237 Lines: 38 On Tue, Dec 20, 2005 at 10:24:55AM -0800, Linus Torvalds wrote: > > > On Tue, 20 Dec 2005, Sergey Vlasov wrote: > > > > saa7134-alsa is trying to initialize before the ALSA core has initialized. > > Probably no one has tested CONFIG_VIDEO_SAA7134=y. > > Adrian, does it work if you change the "module_init()" in > sound/sound_core.c into a "fs_initcall()"? No, this didn't work. What did work was to leave sound/sound_core.c alone and make the module_init() in drivers/media/video/saa7134/saa7134-alsa.c a late_initcall() (plus disabling building of saa7134-oss.o because otherwise saa7134-alsa.o wouldn't do anything). > That should make sure that the sound core gets to initialize before normal > drivers do. > > Linus 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/