[alsa-devel] sysfs: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() - with ALSA

Takashi Iwai tiwai at suse.de
Mon Oct 29 08:30:50 CET 2007


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


More information about the Alsa-devel mailing list