From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263595AbTI2Pc5 (ORCPT ); Mon, 29 Sep 2003 11:32:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263598AbTI2Pc5 (ORCPT ); Mon, 29 Sep 2003 11:32:57 -0400 Received: from ns.suse.de ([195.135.220.2]:63154 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S263595AbTI2Pcz (ORCPT ); Mon, 29 Sep 2003 11:32:55 -0400 Date: Mon, 29 Sep 2003 17:32:53 +0200 Message-ID: From: Takashi Iwai To: linux-kernel Subject: Re: PROBLEM: ALSA requests module to early, before / is mounted In-Reply-To: <14910696880.20030926220441@gmx.ch> References: <1409343736.20030926151652@gmx.ch> <14910696880.20030926220441@gmx.ch> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 13) (Rational FORTRAN) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 26 Sep 2003 20:08:02 +0200, Nikola Knezevic wrote: > > Samo sto izbi 15:37, kad Takashi rece: > > >> Hi, I'm really annoyed to see 'No soundcards found.' in logs:) > > TI> you didn't build in emu10k1 driver. so, at that stage, there is > TI> really no available card :) > > But I build one. modprobe snd-emu10k1 loads it. did you put this module into initrd? otherwise there is NO way to load the MODULE at that time (before mounting the root). > > >> Not an expert, but according to logs, ALSA is modprobeing to early, so > >> it doesn't load snd-emu10k. > > TI> yep, this should be avoided before root is mounted. > > But for the time being, it isn't... right. but it's harmless anyway. just annoying. > >> There is no call for modprobe snd-emu10k1 in > >> rc.modules, so after booting I have to call it manually. Yes, I could > >> put that call in rc.modules, but isn't it supposed to be called by ALSA? > > TI> yes, but only if you set up /etc/modprobe.conf correctly to load the > TI> modules automatically. > TI> at least, you have to specify which card is the first one > TI> (snd-card-0). > > Did that long time ago, problem remains. Also, I'm using devfs. perhaps that's the problem. > TI> i recommend you either to build all ALSA stuffs as modules or to build > TI> them into the kernel. > > Something is build as modules, something went into kernel. Please see my > message named: PROBLEM: in SCSI subsystem>, there is my .config file. please read carefully: i wrote "ALSA stuffs" in the above. not all kernel things, of course :) ciao, Takashi