From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95 Date: Wed, 9 Mar 2011 07:53:09 -0800 Message-ID: <20110309155309.GA30598@suse.de> References: <1299685189.15854.182.camel@gandalf.stny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id D5A2424419 for ; Wed, 9 Mar 2011 16:53:22 +0100 (CET) Content-Disposition: inline In-Reply-To: <1299685189.15854.182.camel@gandalf.stny.rr.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Steven Rostedt , Takashi Iwai , Jaroslav Kysela Cc: Andrew Morton , LKML , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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. > [ 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] [] ? warn_slowpath_common+0x7c/0x91 > [ 32.142168] [] ? sysfs_add_one+0x83/0x95 > [ 32.147036] [] ? sysfs_add_one+0x83/0x95 > [ 32.151904] [] ? warn_slowpath_fmt+0x33/0x35 > [ 32.157120] [] ? sysfs_add_one+0x83/0x95 > [ 32.161989] [] ? sysfs_do_create_link+0xdf/0x181^M > [ 32.167550] [] ? vsnprintf+0x22c/0x266 > [ 32.172246] [] ? sysfs_create_link+0x17/0x1c > [ 32.177462] [] ? device_add+0x183/0x573 > [ 32.182245] [] ? device_pm_init+0x5d/0x61 > [ 32.187200] [] ? device_register+0x17/0x1a > [ 32.192243] [] ? device_create_vargs+0x77/0x98 > [ 32.197631] [] ? device_create+0x2d/0x2f > [ 32.202501] [] ? sound_insert_unit+0x1ba/0x1d5 > [ 32.207891] [] ? register_sound_special_device+0x103/0x11c > [ 32.214319] [] ? snd_register_oss_device+0x10a/0x169 > [ 32.220229] [] ? register_oss_dsp+0x62/0xb5 Yup, sound subsystem... > [ 32.225358] [] ? sched_clock_cpu+0x16a/0x17a > [ 32.230575] [] ? mark_held_locks+0x43/0x5b > [ 32.235616] [] ? __mutex_lock_common+0x39f/0x3c7 > [ 32.241177] [] ? mark_lock+0x1e/0x1fb > [ 32.245787] [] ? mark_held_locks+0x43/0x5b > [ 32.250838] [] ? __mutex_unlock_slowpath+0x137/0x153 > [ 32.256745] [] ? snd_pcm_oss_register_minor+0x40/0xe3 > [ 32.262737] [] ? mutex_unlock+0xd/0xf > [ 32.267345] [] ? snd_timer_dev_register+0x10d/0x117 > [ 32.273165] [] ? snd_device_register+0x67/0xd2 > [ 32.278551] [] ? sprintf+0x1c/0x1e^M > [ 32.282900] [] ? snd_pcm_timer_init+0xba/0xef > [ 32.288201] [] ? snd_pcm_dev_register+0x1e8/0x224 > [ 32.293848] [] ? device_add+0x49f/0x573 > [ 32.298630] [] ? snd_device_register_all+0x5e/0x7e > [ 32.304363] [] ? device_create+0x2d/0x2f > [ 32.309230] [] ? snd_card_register+0x92/0x1af > [ 32.314531] [] ? snd_dummy_probe+0x322/0x3b2 > [ 32.319745] [] ? platform_drv_probe+0x14/0x16 > [ 32.325046] [] ? driver_probe_device+0x116/0x1ed > [ 32.330606] [] ? do_raw_spin_unlock+0x8f/0x94 > [ 32.335906] [] ? __device_attach+0x2f/0x33^M > [ 32.340946] [] ? bus_for_each_drv+0x44/0x6e > [ 32.346073] [] ? device_attach+0x61/0x7e^M > [ 32.350941] [] ? __device_attach+0x0/0x33 > [ 32.355895] [] ? bus_probe_device+0x23/0x38 > [ 32.361023] [] ? device_add+0x400/0x573 > [ 32.365805] [] ? kobject_set_name_vargs+0x46/0x4c > [ 32.371453] [] ? platform_device_add+0x139/0x182 > [ 32.377015] [] ? platform_device_register_resndata+0x4f/0x65 > [ 32.383616] [] ? alsa_card_dummy_init+0xcc/0x121 > [ 32.389177] [] ? do_one_initcall+0x8c/0x161 > [ 32.394305] [] ? alsa_card_dummy_init+0x0/0x121 > [ 32.399780] [] ? kernel_init+0x12c/0x1c2 > [ 32.404646] [] ? kernel_init+0x0/0x1c2 > [ 32.409340] [] ? kernel_thread_helper+0x6/0x10 > [ 32.414782] ---[ end trace 5d9e7ab86ca08fa1 ]--- > [ 32.419772] PM: Adding info for No Bus:controlC0 > [ 32.424867] PM: Adding info for isa:es18xx.0 > [ 32.429167] PM: Removing info for isa:es18xx.0 > > > 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.) thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757113Ab1CIPxY (ORCPT ); Wed, 9 Mar 2011 10:53:24 -0500 Received: from cantor.suse.de ([195.135.220.2]:59425 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755636Ab1CIPxX (ORCPT ); Wed, 9 Mar 2011 10:53:23 -0500 Date: Wed, 9 Mar 2011 07:53:09 -0800 From: Greg KH To: Steven Rostedt , Takashi Iwai , Jaroslav Kysela Cc: LKML , Andrew Morton , alsa-devel@alsa-project.org Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95 Message-ID: <20110309155309.GA30598@suse.de> References: <1299685189.15854.182.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1299685189.15854.182.camel@gandalf.stny.rr.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > [ 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] [] ? warn_slowpath_common+0x7c/0x91 > [ 32.142168] [] ? sysfs_add_one+0x83/0x95 > [ 32.147036] [] ? sysfs_add_one+0x83/0x95 > [ 32.151904] [] ? warn_slowpath_fmt+0x33/0x35 > [ 32.157120] [] ? sysfs_add_one+0x83/0x95 > [ 32.161989] [] ? sysfs_do_create_link+0xdf/0x181^M > [ 32.167550] [] ? vsnprintf+0x22c/0x266 > [ 32.172246] [] ? sysfs_create_link+0x17/0x1c > [ 32.177462] [] ? device_add+0x183/0x573 > [ 32.182245] [] ? device_pm_init+0x5d/0x61 > [ 32.187200] [] ? device_register+0x17/0x1a > [ 32.192243] [] ? device_create_vargs+0x77/0x98 > [ 32.197631] [] ? device_create+0x2d/0x2f > [ 32.202501] [] ? sound_insert_unit+0x1ba/0x1d5 > [ 32.207891] [] ? register_sound_special_device+0x103/0x11c > [ 32.214319] [] ? snd_register_oss_device+0x10a/0x169 > [ 32.220229] [] ? register_oss_dsp+0x62/0xb5 Yup, sound subsystem... > [ 32.225358] [] ? sched_clock_cpu+0x16a/0x17a > [ 32.230575] [] ? mark_held_locks+0x43/0x5b > [ 32.235616] [] ? __mutex_lock_common+0x39f/0x3c7 > [ 32.241177] [] ? mark_lock+0x1e/0x1fb > [ 32.245787] [] ? mark_held_locks+0x43/0x5b > [ 32.250838] [] ? __mutex_unlock_slowpath+0x137/0x153 > [ 32.256745] [] ? snd_pcm_oss_register_minor+0x40/0xe3 > [ 32.262737] [] ? mutex_unlock+0xd/0xf > [ 32.267345] [] ? snd_timer_dev_register+0x10d/0x117 > [ 32.273165] [] ? snd_device_register+0x67/0xd2 > [ 32.278551] [] ? sprintf+0x1c/0x1e^M > [ 32.282900] [] ? snd_pcm_timer_init+0xba/0xef > [ 32.288201] [] ? snd_pcm_dev_register+0x1e8/0x224 > [ 32.293848] [] ? device_add+0x49f/0x573 > [ 32.298630] [] ? snd_device_register_all+0x5e/0x7e > [ 32.304363] [] ? device_create+0x2d/0x2f > [ 32.309230] [] ? snd_card_register+0x92/0x1af > [ 32.314531] [] ? snd_dummy_probe+0x322/0x3b2 > [ 32.319745] [] ? platform_drv_probe+0x14/0x16 > [ 32.325046] [] ? driver_probe_device+0x116/0x1ed > [ 32.330606] [] ? do_raw_spin_unlock+0x8f/0x94 > [ 32.335906] [] ? __device_attach+0x2f/0x33^M > [ 32.340946] [] ? bus_for_each_drv+0x44/0x6e > [ 32.346073] [] ? device_attach+0x61/0x7e^M > [ 32.350941] [] ? __device_attach+0x0/0x33 > [ 32.355895] [] ? bus_probe_device+0x23/0x38 > [ 32.361023] [] ? device_add+0x400/0x573 > [ 32.365805] [] ? kobject_set_name_vargs+0x46/0x4c > [ 32.371453] [] ? platform_device_add+0x139/0x182 > [ 32.377015] [] ? platform_device_register_resndata+0x4f/0x65 > [ 32.383616] [] ? alsa_card_dummy_init+0xcc/0x121 > [ 32.389177] [] ? do_one_initcall+0x8c/0x161 > [ 32.394305] [] ? alsa_card_dummy_init+0x0/0x121 > [ 32.399780] [] ? kernel_init+0x12c/0x1c2 > [ 32.404646] [] ? kernel_init+0x0/0x1c2 > [ 32.409340] [] ? kernel_thread_helper+0x6/0x10 > [ 32.414782] ---[ end trace 5d9e7ab86ca08fa1 ]--- > [ 32.419772] PM: Adding info for No Bus:controlC0 > [ 32.424867] PM: Adding info for isa:es18xx.0 > [ 32.429167] PM: Removing info for isa:es18xx.0 > > > 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.) thanks, greg k-h