All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Greg KH <gregkh@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	alsa-devel@alsa-project.org, LKML <linux-kernel@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95
Date: Wed, 09 Mar 2011 17:09:10 +0100	[thread overview]
Message-ID: <s5hipvsnumx.wl%tiwai@suse.de> (raw)
In-Reply-To: <20110309155309.GA30598@suse.de>

At Wed, 9 Mar 2011 07:53:09 -0800,
Greg KH wrote:
> 
> On Wed, Mar 09, 2011 at 10:39:49AM -0500, Steven Rostedt wrote:
> > Not sure who to send this to, but last night on v2.6.38-rc8 ktest
> > triggered this warning:
> > 
> > 
> > [   32.062538] YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
> > [   32.071305] PM: Adding info for No Bus:timer
> > [   32.075864] PM: Adding info for platform:snd_dummy.0^M
> > [   32.081232] PM: Adding info for No Bus:card0
> > [   32.085853] PM: Adding info for No Bus:pcmC0D0p
> > [   32.090650] PM: Adding info for No Bus:pcmC0D0c
> > [   32.095667] PM: Adding info for No Bus:dsp
> > [   32.099918] ------------[ cut here ]------------
> > [   32.104531] WARNING: at /home/rostedt/work/autotest/nobackup/linux-test.git/fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95()
> > [   32.115379] Hardware name:         
> > [   32.118859] sysfs: cannot create duplicate filename '/dev/char/14:4'
> 
> Two modules wanted to create the same minor number, that's not good.
> 
> 14:4 is the OSS /dev/audio node.

Are they modules or built-in?

> > [   32.125197] Modules linked in:
> > [   32.128255] Pid: 1, comm: swapper Not tainted 2.6.38-rc8-test #1
> > [   32.134247] Call Trace:^M
> > [   32.136693]  [<c044d095>] ? warn_slowpath_common+0x7c/0x91
> > [   32.142168]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.147036]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.151904]  [<c044d135>] ? warn_slowpath_fmt+0x33/0x35
> > [   32.157120]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.161989]  [<c055393d>] ? sysfs_do_create_link+0xdf/0x181^M
> > [   32.167550]  [<c073637f>] ? vsnprintf+0x22c/0x266
> > [   32.172246]  [<c0553a0f>] ? sysfs_create_link+0x17/0x1c
> > [   32.177462]  [<c0950ce4>] ? device_add+0x183/0x573
> > [   32.182245]  [<c0958474>] ? device_pm_init+0x5d/0x61
> > [   32.187200]  [<c09510eb>] ? device_register+0x17/0x1a
> > [   32.192243]  [<c0951165>] ? device_create_vargs+0x77/0x98
> > [   32.197631]  [<c09511b3>] ? device_create+0x2d/0x2f
> > [   32.202501]  [<c0dc5caa>] ? sound_insert_unit+0x1ba/0x1d5
> > [   32.207891]  [<c0dc5e8e>] ? register_sound_special_device+0x103/0x11c
> > [   32.214319]  [<c0dd7875>] ? snd_register_oss_device+0x10a/0x169
> > [   32.220229]  [<c0de6cd6>] ? register_oss_dsp+0x62/0xb5
> 
> Yup, sound subsystem...

Yep ;)

> > This was for a 386 build. I could give a .config and full dmesg if
> > needed.
> 
> I think the sound developers (now on CC: would probably like to see
> that.)

I guess it's a long-standing issue.  The dead old OSS driver creates
/dev/audio and /dev/dspW by itself without coping with sound_core
module.


Takashi

WARNING: multiple messages have this Message-ID (diff)
From: Takashi Iwai <tiwai@suse.de>
To: Greg KH <gregkh@suse.de>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Jaroslav Kysela <perex@perex.cz>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	alsa-devel@alsa-project.org
Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95
Date: Wed, 09 Mar 2011 17:09:10 +0100	[thread overview]
Message-ID: <s5hipvsnumx.wl%tiwai@suse.de> (raw)
In-Reply-To: <20110309155309.GA30598@suse.de>

At Wed, 9 Mar 2011 07:53:09 -0800,
Greg KH wrote:
> 
> On Wed, Mar 09, 2011 at 10:39:49AM -0500, Steven Rostedt wrote:
> > Not sure who to send this to, but last night on v2.6.38-rc8 ktest
> > triggered this warning:
> > 
> > 
> > [   32.062538] YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
> > [   32.071305] PM: Adding info for No Bus:timer
> > [   32.075864] PM: Adding info for platform:snd_dummy.0^M
> > [   32.081232] PM: Adding info for No Bus:card0
> > [   32.085853] PM: Adding info for No Bus:pcmC0D0p
> > [   32.090650] PM: Adding info for No Bus:pcmC0D0c
> > [   32.095667] PM: Adding info for No Bus:dsp
> > [   32.099918] ------------[ cut here ]------------
> > [   32.104531] WARNING: at /home/rostedt/work/autotest/nobackup/linux-test.git/fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95()
> > [   32.115379] Hardware name:         
> > [   32.118859] sysfs: cannot create duplicate filename '/dev/char/14:4'
> 
> Two modules wanted to create the same minor number, that's not good.
> 
> 14:4 is the OSS /dev/audio node.

Are they modules or built-in?

> > [   32.125197] Modules linked in:
> > [   32.128255] Pid: 1, comm: swapper Not tainted 2.6.38-rc8-test #1
> > [   32.134247] Call Trace:^M
> > [   32.136693]  [<c044d095>] ? warn_slowpath_common+0x7c/0x91
> > [   32.142168]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.147036]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.151904]  [<c044d135>] ? warn_slowpath_fmt+0x33/0x35
> > [   32.157120]  [<c0552d35>] ? sysfs_add_one+0x83/0x95
> > [   32.161989]  [<c055393d>] ? sysfs_do_create_link+0xdf/0x181^M
> > [   32.167550]  [<c073637f>] ? vsnprintf+0x22c/0x266
> > [   32.172246]  [<c0553a0f>] ? sysfs_create_link+0x17/0x1c
> > [   32.177462]  [<c0950ce4>] ? device_add+0x183/0x573
> > [   32.182245]  [<c0958474>] ? device_pm_init+0x5d/0x61
> > [   32.187200]  [<c09510eb>] ? device_register+0x17/0x1a
> > [   32.192243]  [<c0951165>] ? device_create_vargs+0x77/0x98
> > [   32.197631]  [<c09511b3>] ? device_create+0x2d/0x2f
> > [   32.202501]  [<c0dc5caa>] ? sound_insert_unit+0x1ba/0x1d5
> > [   32.207891]  [<c0dc5e8e>] ? register_sound_special_device+0x103/0x11c
> > [   32.214319]  [<c0dd7875>] ? snd_register_oss_device+0x10a/0x169
> > [   32.220229]  [<c0de6cd6>] ? register_oss_dsp+0x62/0xb5
> 
> Yup, sound subsystem...

Yep ;)

> > This was for a 386 build. I could give a .config and full dmesg if
> > needed.
> 
> I think the sound developers (now on CC: would probably like to see
> that.)

I guess it's a long-standing issue.  The dead old OSS driver creates
/dev/audio and /dev/dspW by itself without coping with sound_core
module.


Takashi

  reply	other threads:[~2011-03-09 16:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 15:39 [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95 Steven Rostedt
2011-03-09 15:53 ` Greg KH
2011-03-09 15:53   ` Greg KH
2011-03-09 16:09   ` Takashi Iwai [this message]
2011-03-09 16:09     ` Takashi Iwai
2011-03-09 16:20   ` Steven Rostedt
2011-03-09 16:38     ` Takashi Iwai
2011-03-09 16:38       ` Takashi Iwai
2011-03-09 16:44       ` Steven Rostedt
2011-03-09 17:21       ` Steven Rostedt
2011-03-09 19:12         ` Takashi Iwai
2011-03-09 19:12           ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hipvsnumx.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.