public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sysfs: duplicate filename 'bInterfaceNumber' can not be created
@ 2007-10-16 13:06 Jens Axboe
  2007-10-16 13:38 ` Kamalesh Babulal
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2007-10-16 13:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg

Hi,

I get this on booting git as of this morning, HEAD is at
65a6ec0d72a07f16719e9b7a96e1c4bae044b591.

sysfs: duplicate filename 'bInterfaceNumber' can not be created
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()

Call Trace:
 [<ffffffff802bd786>] sysfs_add_one+0x5c/0xc9
 [<ffffffff802bd21a>] sysfs_add_file+0x59/0x8d
 [<ffffffff802bed57>] sysfs_create_group+0x9c/0xf5
 [<ffffffff8803b1db>] :usbcore:usb_create_sysfs_intf_files+0x35/0xd6
 [<ffffffff88037a39>] :usbcore:usb_set_configuration+0x49d/0x4bf
 [<ffffffff8803bb35>] :usbcore:usb_create_ep_files+0x290/0x2df
 [<ffffffff8803ed11>] :usbcore:generic_probe+0x5d/0xa0
 [<ffffffff8803902d>] :usbcore:usb_probe_device+0x39/0x3b
 [<ffffffff803ec13e>] driver_probe_device+0xde/0x165
 [<ffffffff803ec1c5>] __device_attach+0x0/0xb
 [<ffffffff803ec1ce>] __device_attach+0x9/0xb
 [<ffffffff803eb33d>] bus_for_each_drv+0x4b/0x82
 [<ffffffff803ec258>] device_attach+0x64/0x7c
 [<ffffffff803eb2a6>] bus_attach_device+0x2d/0x79
 [<ffffffff803ea092>] device_add+0x38c/0x60d
 [<ffffffff88032f1e>] :usbcore:usb_new_device+0x51/0x91
 [<ffffffff88033b5f>] :usbcore:hub_thread+0x7a0/0xbae
 [<ffffffff80247770>] autoremove_wake_function+0x0/0x38
 [<ffffffff880333bf>] :usbcore:hub_thread+0x0/0xbae
 [<ffffffff80247641>] kthread+0x49/0x78
 [<ffffffff8020c658>] child_rip+0xa/0x12
 [<ffffffff802475f8>] kthread+0x0/0x78
 [<ffffffff8020c64e>] child_rip+0x0/0x12

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sysfs: duplicate filename 'bInterfaceNumber' can not be created
  2007-10-16 13:06 sysfs: duplicate filename 'bInterfaceNumber' can not be created Jens Axboe
@ 2007-10-16 13:38 ` Kamalesh Babulal
  2007-10-16 14:26   ` sysfs: duplicate filename 'bInterfaceNumber' can not be created & different places Kamalesh Babulal
  0 siblings, 1 reply; 3+ messages in thread
From: Kamalesh Babulal @ 2007-10-16 13:38 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel, greg

Jens Axboe wrote:
> Hi,
> 
> I get this on booting git as of this morning, HEAD is at
> 65a6ec0d72a07f16719e9b7a96e1c4bae044b591.
> 
> sysfs: duplicate filename 'bInterfaceNumber' can not be created
> WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()
> 
> Call Trace:
>  [<ffffffff802bd786>] sysfs_add_one+0x5c/0xc9
>  [<ffffffff802bd21a>] sysfs_add_file+0x59/0x8d
>  [<ffffffff802bed57>] sysfs_create_group+0x9c/0xf5
>  [<ffffffff8803b1db>] :usbcore:usb_create_sysfs_intf_files+0x35/0xd6
>  [<ffffffff88037a39>] :usbcore:usb_set_configuration+0x49d/0x4bf
>  [<ffffffff8803bb35>] :usbcore:usb_create_ep_files+0x290/0x2df
>  [<ffffffff8803ed11>] :usbcore:generic_probe+0x5d/0xa0
>  [<ffffffff8803902d>] :usbcore:usb_probe_device+0x39/0x3b
>  [<ffffffff803ec13e>] driver_probe_device+0xde/0x165
>  [<ffffffff803ec1c5>] __device_attach+0x0/0xb
>  [<ffffffff803ec1ce>] __device_attach+0x9/0xb
>  [<ffffffff803eb33d>] bus_for_each_drv+0x4b/0x82
>  [<ffffffff803ec258>] device_attach+0x64/0x7c
>  [<ffffffff803eb2a6>] bus_attach_device+0x2d/0x79
>  [<ffffffff803ea092>] device_add+0x38c/0x60d
>  [<ffffffff88032f1e>] :usbcore:usb_new_device+0x51/0x91
>  [<ffffffff88033b5f>] :usbcore:hub_thread+0x7a0/0xbae
>  [<ffffffff80247770>] autoremove_wake_function+0x0/0x38
>  [<ffffffff880333bf>] :usbcore:hub_thread+0x0/0xbae
>  [<ffffffff80247641>] kthread+0x49/0x78
>  [<ffffffff8020c658>] child_rip+0xa/0x12
>  [<ffffffff802475f8>] kthread+0x0/0x78
>  [<ffffffff8020c64e>] child_rip+0x0/0x12
> 

Hi,

Same warning was reported at http://lkml.org/lkml/2007/10/14/81

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sysfs: duplicate filename 'bInterfaceNumber' can not be created & different places
  2007-10-16 13:38 ` Kamalesh Babulal
@ 2007-10-16 14:26   ` Kamalesh Babulal
  0 siblings, 0 replies; 3+ messages in thread
From: Kamalesh Babulal @ 2007-10-16 14:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, Jens Axboe, Andy Whitcroft, Dhaval Giani

Kamalesh Babulal wrote:
> Jens Axboe wrote:
>> Hi,
>>
>> I get this on booting git as of this morning, HEAD is at
>> 65a6ec0d72a07f16719e9b7a96e1c4bae044b591.
>>
>> sysfs: duplicate filename 'bInterfaceNumber' can not be created
>> WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()
>>
>> Call Trace:
>>  [<ffffffff802bd786>] sysfs_add_one+0x5c/0xc9
>>  [<ffffffff802bd21a>] sysfs_add_file+0x59/0x8d
>>  [<ffffffff802bed57>] sysfs_create_group+0x9c/0xf5
>>  [<ffffffff8803b1db>] :usbcore:usb_create_sysfs_intf_files+0x35/0xd6
>>  [<ffffffff88037a39>] :usbcore:usb_set_configuration+0x49d/0x4bf
>>  [<ffffffff8803bb35>] :usbcore:usb_create_ep_files+0x290/0x2df
>>  [<ffffffff8803ed11>] :usbcore:generic_probe+0x5d/0xa0
>>  [<ffffffff8803902d>] :usbcore:usb_probe_device+0x39/0x3b
>>  [<ffffffff803ec13e>] driver_probe_device+0xde/0x165
>>  [<ffffffff803ec1c5>] __device_attach+0x0/0xb
>>  [<ffffffff803ec1ce>] __device_attach+0x9/0xb
>>  [<ffffffff803eb33d>] bus_for_each_drv+0x4b/0x82
>>  [<ffffffff803ec258>] device_attach+0x64/0x7c
>>  [<ffffffff803eb2a6>] bus_attach_device+0x2d/0x79
>>  [<ffffffff803ea092>] device_add+0x38c/0x60d
>>  [<ffffffff88032f1e>] :usbcore:usb_new_device+0x51/0x91
>>  [<ffffffff88033b5f>] :usbcore:hub_thread+0x7a0/0xbae
>>  [<ffffffff80247770>] autoremove_wake_function+0x0/0x38
>>  [<ffffffff880333bf>] :usbcore:hub_thread+0x0/0xbae
>>  [<ffffffff80247641>] kthread+0x49/0x78
>>  [<ffffffff8020c658>] child_rip+0xa/0x12
>>  [<ffffffff802475f8>] kthread+0x0/0x78
>>  [<ffffffff8020c64e>] child_rip+0x0/0x12
>>
> 
> Hi,
> 
> Same warning was reported at http://lkml.org/lkml/2007/10/14/81

Hi,

I get similar warnings but for different devices

sysfs: duplicate filename 'sg' can not be created
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()

Call Trace:
 [<ffffffff810bcfc8>] sysfs_add_one+0x54/0xbd
 [<ffffffff810bd54c>] create_dir+0x4f/0x87
 [<ffffffff810bd5b9>] sysfs_create_dir+0x35/0x4a
 [<ffffffff8114c845>] kobject_get+0x12/0x17
 [<ffffffff8114cd69>] kobject_add+0xf3/0x1a7
 [<ffffffff81362b81>] _write_unlock_irqrestore+0x0/0xa
 [<ffffffff81052491>] mod_sysfs_setup+0x1d/0xa0
 [<ffffffff81053996>] sys_init_module+0x12cd/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

kobject_add failed for sg with -EEXIST, don't try to register things with the same name in the same directory.

Call Trace:
 [<ffffffff8114cde8>] kobject_add+0x172/0x1a7
 [<ffffffff81362b81>] _write_unlock_irqrestore+0x0/0xa
 [<ffffffff81052491>] mod_sysfs_setup+0x1d/0xa0
 [<ffffffff81053996>] sys_init_module+0x12cd/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

sysfs: duplicate filename 'sr_mod' can not be created
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()

Call Trace:
 [<ffffffff810bcfc8>] sysfs_add_one+0x54/0xbd
 [<ffffffff810bd54c>] create_dir+0x4f/0x87
 [<ffffffff810bd5b9>] sysfs_create_dir+0x35/0x4a
 [<ffffffff8114c845>] kobject_get+0x12/0x17
 [<ffffffff8114cd69>] kobject_add+0xf3/0x1a7
 [<ffffffff8121ab63>] scsi_set_medium_removal+0x0/0x70
 [<ffffffff81052491>] mod_sysfs_setup+0x1d/0xa0
 [<ffffffff81053996>] sys_init_module+0x12cd/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

kobject_add failed for sr_mod with -EEXIST, don't try to register things with the same name in the same directory.

Call Trace:
 [<ffffffff8114cde8>] kobject_add+0x172/0x1a7
 [<ffffffff8121ab63>] scsi_set_medium_removal+0x0/0x70
 [<ffffffff81052491>] mod_sysfs_setup+0x1d/0xa0
 [<ffffffff81053996>] sys_init_module+0x12cd/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

dm_mod: Unknown symbol request_module
sysfs: duplicate filename 'button' can not be created
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()

Call Trace:
 [<ffffffff810bcfc8>] sysfs_add_one+0x54/0xbd
 [<ffffffff810bd54c>] create_dir+0x4f/0x87
 [<ffffffff810bd5b9>] sysfs_create_dir+0x35/0x4a
 [<ffffffff8114c845>] kobject_get+0x12/0x17
 [<ffffffff8114cd69>] kobject_add+0xf3/0x1a7
 [<ffffffff8114ce83>] kobject_register+0x20/0x37
 [<ffffffff811af8ef>] bus_add_driver+0x58/0x1be
 [<ffffffff8800703c>] :button:acpi_button_init+0x3c/0x5f
 [<ffffffff81053bc9>] sys_init_module+0x1500/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

kobject_add failed for button with -EEXIST, don't try to register things with the same name in the same directory.

Call Trace:
 [<ffffffff8114cde8>] kobject_add+0x172/0x1a7
 [<ffffffff8114ce83>] kobject_register+0x20/0x37
 [<ffffffff811af8ef>] bus_add_driver+0x58/0x1be
 [<ffffffff8800703c>] :button:acpi_button_init+0x3c/0x5f
 [<ffffffff81053bc9>] sys_init_module+0x1500/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

sysfs: duplicate filename 'fan' can not be created
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one()

Call Trace:
 [<ffffffff810bcfc8>] sysfs_add_one+0x54/0xbd
 [<ffffffff810bd54c>] create_dir+0x4f/0x87
 [<ffffffff810bd5b9>] sysfs_create_dir+0x35/0x4a
 [<ffffffff8114c845>] kobject_get+0x12/0x17
 [<ffffffff8114cd69>] kobject_add+0xf3/0x1a7
 [<ffffffff8114ce83>] kobject_register+0x20/0x37
 [<ffffffff811af8ef>] bus_add_driver+0x58/0x1be
 [<ffffffff8800603c>] :fan:acpi_fan_init+0x3c/0x5f
 [<ffffffff81053bc9>] sys_init_module+0x1500/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

kobject_add failed for fan with -EEXIST, don't try to register things with the same name in the same directory.

Call Trace:
 [<ffffffff8114cde8>] kobject_add+0x172/0x1a7
 [<ffffffff8114ce83>] kobject_register+0x20/0x37
 [<ffffffff811af8ef>] bus_add_driver+0x58/0x1be
 [<ffffffff8800603c>] :fan:acpi_fan_init+0x3c/0x5f
 [<ffffffff81053bc9>] sys_init_module+0x1500/0x1666
 [<ffffffff8100bb6e>] system_call+0x7e/0x83

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-16 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 13:06 sysfs: duplicate filename 'bInterfaceNumber' can not be created Jens Axboe
2007-10-16 13:38 ` Kamalesh Babulal
2007-10-16 14:26   ` sysfs: duplicate filename 'bInterfaceNumber' can not be created & different places Kamalesh Babulal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox