Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754215AbXJ2Jdi (ORCPT ); Mon, 29 Oct 2007 05:33:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752034AbXJ2Jdb (ORCPT ); Mon, 29 Oct 2007 05:33:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:33569 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649AbXJ2Jda (ORCPT ); Mon, 29 Oct 2007 05:33:30 -0400 Date: Mon, 29 Oct 2007 08:30:50 +0100 Message-ID: From: Takashi Iwai To: Kamalesh Babulal Cc: Greg KH , alsa-devel@alsa-project.org, Amit Shah , linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] sysfs: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() - with ALSA In-Reply-To: <472220BA.3060201@linux.vnet.ibm.com> References: <877aabc40710260014v220ab804o5de5dbc36b870bd1@mail.gmail.com> <20071026091722.GA21274@linux.vnet.ibm.com> <20071026155202.GD23016@kroah.com> <472220BA.3060201@linux.vnet.ibm.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (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 Content-Length: 1568 Lines: 42 At Fri, 26 Oct 2007 22:45:38 +0530, Kamalesh Babulal wrote: > > Takashi Iwai wrote: > > At Fri, 26 Oct 2007 08:52:02 -0700, > > Greg KH wrote: > >> On Fri, Oct 26, 2007 at 02:47:22PM +0530, Kamalesh Babulal wrote: > >>> I get similar warning, while loading the alsa driver > >> This is a different problem, not a rename issue like the network one > >> was. > >> > >>> [ 191.933548] Advanced Linux Sound Architecture Driver Version 1.0.15 > >>> (Tue Oct 23 06:09:18 2007 UTC). > >>> [ 191.996323] ALSA sound/core/seq/oss/seq_oss.c:232: can't register > >>> device seq > >>> [ 192.046004] sysfs: duplicate filename 'audio' can not be created > >>> [ 192.086048] WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() > >> This is an error in the alsa core, perhaps the alsa developers can help > >> figure out why they are registering the same file twice? > > > > ALSA core shouldn't do so. Maybe a built-in OSS driver conflict with > > ALSA? We'd need to check .config, then. > > > > > > Takashi > > - > Hi Takashi, > > Attaching the .config file, You're using allyesconfig, and it's a missing runtime configuration to avoid the duplication. Some ALSA and OSS drivers can be loaded without real hardwares. With allyesconfig, ALSA and OSS drivers may be registered to the same device unless explicitly set up. Takashi - 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/