LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* sysfs: duplicate filename 'card0' can not be created
@ 2008-02-13 14:05 Luciano Rocha
  2008-02-13 14:21 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Luciano Rocha @ 2008-02-13 14:05 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2730 bytes --]


Hello,

Is this known? I got the error while connecting usb headphones, running
vanilla 2.6.24.

Error:

[.361992] usb 1-1.3: new full speed USB device using ehci_hcd and address 13
[.448232] usb 1-1.3: configuration #1 chosen from 1 choice
[.506787] sysfs: duplicate filename 'card0' can not be created
[.506796] WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
[.506802] Pid: 794, comm: khubd Not tainted 2.6.24lcfs1 #1
[.506819]  [<c04a07cd>] sysfs_add_one+0x54/0xb7
[.506835]  [<c04a1415>] sysfs_create_link+0xbe/0x109
[.506846]  [<c05db991>] device_add+0x132/0x447
[.506856]  [<c057e9ba>] kobject_init+0x27/0x37
[.506866]  [<c05dbf12>] device_create+0x77/0x97
[.506873]  [<c0611fa1>] snd_card_register+0x3f/0x254
[.506883]  [<f083fa71>] usb_driver_claim_interface+0x6b/0x86 [usbcore]
[.506944]  [<f09b7cbb>] usb_audio_probe+0x6c7/0x76e [snd_usb_audio]
[.506990]  [<f083f960>] usb_probe_interface+0xa2/0xda [usbcore]
[.507010]  [<c05dd14b>] driver_sysfs_add+0x36/0x53
[.507018]  [<c05dd2ab>] driver_probe_device+0xdd/0x15a
[.507025]  [<c0688f9a>] klist_next+0x50/0x82
[.507032]  [<c05dd328>] __device_attach+0x0/0x5
[.507037]  [<c05dc7ce>] bus_for_each_drv+0x32/0x58
[.507045]  [<c05dd3a5>] device_attach+0x5d/0x70
[.507049]  [<c05dd328>] __device_attach+0x0/0x5
[.507055]  [<c05dc74f>] bus_attach_device+0x26/0x73
[.507062]  [<c05dbabc>] device_add+0x25d/0x447
[.507073]  [<f083e316>] usb_set_configuration+0x3f6/0x469 [usbcore]
[.507099]  [<f0844ba7>] generic_probe+0x50/0x91 [usbcore]
[.507125]  [<f083f763>] usb_probe_device+0x32/0x37 [usbcore]
[.507142]  [<c05dd2ab>] driver_probe_device+0xdd/0x15a
[.507148]  [<c0688f9a>] klist_next+0x50/0x82
[.507154]  [<c05dd328>] __device_attach+0x0/0x5
[.507159]  [<c05dc7ce>] bus_for_each_drv+0x32/0x58
[.507167]  [<c05dd3a5>] device_attach+0x5d/0x70
[.507172]  [<c05dd328>] __device_attach+0x0/0x5
[.507177]  [<c05dc74f>] bus_attach_device+0x26/0x73
[.507184]  [<c05dbabc>] device_add+0x25d/0x447
[.507195]  [<f0839c0f>] usb_new_device+0x41/0x7e [usbcore]
[.507217]  [<f083ad51>] hub_thread+0x6b6/0xa93 [usbcore]
[.507243]  [<c042fc93>] autoremove_wake_function+0x0/0x35
[.507253]  [<c06895dc>] schedule+0x1e2/0x22e
[.507258]  [<f083a69b>] hub_thread+0x0/0xa93 [usbcore]
[.507276]  [<c042fbd9>] kthread+0x36/0x5d
[.507280]  [<c042fba3>] kthread+0x0/0x5d
[.507285]  [<c0404a1b>] kernel_thread_helper+0x7/0x10
[.507294]  =======================
[.511876] input: USB Audio as /devices/pci0000:00/0000:00:1e.0/0000:02:04.2/usb1/1-1/1-1.3/1-1.3:1.3/input/input7
[.537041] input: USB HID v1.00 Device [USB Audio] on usb-0000:02:04.2-1.3

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: sysfs: duplicate filename 'card0' can not be created
  2008-02-13 14:05 sysfs: duplicate filename 'card0' can not be created Luciano Rocha
@ 2008-02-13 14:21 ` Takashi Iwai
  2008-02-13 15:09   ` Luciano Rocha
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2008-02-13 14:21 UTC (permalink / raw)
  To: Luciano Rocha; +Cc: linux-kernel

At Wed, 13 Feb 2008 14:05:27 +0000,
Luciano Rocha wrote:
> 
> Hello,
> 
> Is this known? I got the error while connecting usb headphones, running
> vanilla 2.6.24.

Not known.  In which situation does it happen and is reproducible?


Takashi


> 
> Error:
> 
> [.361992] usb 1-1.3: new full speed USB device using ehci_hcd and address 13
> [.448232] usb 1-1.3: configuration #1 chosen from 1 choice
> [.506787] sysfs: duplicate filename 'card0' can not be created
> [.506796] WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
> [.506802] Pid: 794, comm: khubd Not tainted 2.6.24lcfs1 #1
> [.506819]  [<c04a07cd>] sysfs_add_one+0x54/0xb7
> [.506835]  [<c04a1415>] sysfs_create_link+0xbe/0x109
> [.506846]  [<c05db991>] device_add+0x132/0x447
> [.506856]  [<c057e9ba>] kobject_init+0x27/0x37
> [.506866]  [<c05dbf12>] device_create+0x77/0x97
> [.506873]  [<c0611fa1>] snd_card_register+0x3f/0x254
> [.506883]  [<f083fa71>] usb_driver_claim_interface+0x6b/0x86 [usbcore]
> [.506944]  [<f09b7cbb>] usb_audio_probe+0x6c7/0x76e [snd_usb_audio]
> [.506990]  [<f083f960>] usb_probe_interface+0xa2/0xda [usbcore]
> [.507010]  [<c05dd14b>] driver_sysfs_add+0x36/0x53
> [.507018]  [<c05dd2ab>] driver_probe_device+0xdd/0x15a
> [.507025]  [<c0688f9a>] klist_next+0x50/0x82
> [.507032]  [<c05dd328>] __device_attach+0x0/0x5
> [.507037]  [<c05dc7ce>] bus_for_each_drv+0x32/0x58
> [.507045]  [<c05dd3a5>] device_attach+0x5d/0x70
> [.507049]  [<c05dd328>] __device_attach+0x0/0x5
> [.507055]  [<c05dc74f>] bus_attach_device+0x26/0x73
> [.507062]  [<c05dbabc>] device_add+0x25d/0x447
> [.507073]  [<f083e316>] usb_set_configuration+0x3f6/0x469 [usbcore]
> [.507099]  [<f0844ba7>] generic_probe+0x50/0x91 [usbcore]
> [.507125]  [<f083f763>] usb_probe_device+0x32/0x37 [usbcore]
> [.507142]  [<c05dd2ab>] driver_probe_device+0xdd/0x15a
> [.507148]  [<c0688f9a>] klist_next+0x50/0x82
> [.507154]  [<c05dd328>] __device_attach+0x0/0x5
> [.507159]  [<c05dc7ce>] bus_for_each_drv+0x32/0x58
> [.507167]  [<c05dd3a5>] device_attach+0x5d/0x70
> [.507172]  [<c05dd328>] __device_attach+0x0/0x5
> [.507177]  [<c05dc74f>] bus_attach_device+0x26/0x73
> [.507184]  [<c05dbabc>] device_add+0x25d/0x447
> [.507195]  [<f0839c0f>] usb_new_device+0x41/0x7e [usbcore]
> [.507217]  [<f083ad51>] hub_thread+0x6b6/0xa93 [usbcore]
> [.507243]  [<c042fc93>] autoremove_wake_function+0x0/0x35
> [.507253]  [<c06895dc>] schedule+0x1e2/0x22e
> [.507258]  [<f083a69b>] hub_thread+0x0/0xa93 [usbcore]
> [.507276]  [<c042fbd9>] kthread+0x36/0x5d
> [.507280]  [<c042fba3>] kthread+0x0/0x5d
> [.507285]  [<c0404a1b>] kernel_thread_helper+0x7/0x10
> [.507294]  =======================
> [.511876] input: USB Audio as /devices/pci0000:00/0000:00:1e.0/0000:02:04.2/usb1/1-1/1-1.3/1-1.3:1.3/input/input7
> [.537041] input: USB HID v1.00 Device [USB Audio] on usb-0000:02:04.2-1.3
> 
> -- 
> Luciano Rocha <luciano@eurotux.com>
> Eurotux Informática, S.A. <http://www.eurotux.com/>
> [2  <application/pgp-signature (7bit)>]
> 

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

* Re: sysfs: duplicate filename 'card0' can not be created
  2008-02-13 14:21 ` Takashi Iwai
@ 2008-02-13 15:09   ` Luciano Rocha
  2008-02-14 10:05     ` Luciano Rocha
  0 siblings, 1 reply; 5+ messages in thread
From: Luciano Rocha @ 2008-02-13 15:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
> At Wed, 13 Feb 2008 14:05:27 +0000,
> Luciano Rocha wrote:
> > 
> > Hello,
> > 
> > Is this known? I got the error while connecting usb headphones, running
> > vanilla 2.6.24.
> 
> Not known.  In which situation does it happen and is reproducible?
> 

Disconnecting and reconnecting doesn't result in error. I'll try a
reboot later.

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: sysfs: duplicate filename 'card0' can not be created
  2008-02-13 15:09   ` Luciano Rocha
@ 2008-02-14 10:05     ` Luciano Rocha
  2008-02-14 12:10       ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Luciano Rocha @ 2008-02-14 10:05 UTC (permalink / raw)
  To: Takashi Iwai, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

On Wed, Feb 13, 2008 at 03:09:21PM +0000, Luciano Rocha wrote:
> On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
> > At Wed, 13 Feb 2008 14:05:27 +0000,
> > Luciano Rocha wrote:
> > > 
> > > Hello,
> > > 
> > > Is this known? I got the error while connecting usb headphones, running
> > > vanilla 2.6.24.
> > 
> > Not known.  In which situation does it happen and is reproducible?
> > 
> 
> Disconnecting and reconnecting doesn't result in error. I'll try a
> reboot later.

After a reboot I still don't get the error (tryed connecting and
reconnecting the headset). Do you have any tests you want me to make?


-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: sysfs: duplicate filename 'card0' can not be created
  2008-02-14 10:05     ` Luciano Rocha
@ 2008-02-14 12:10       ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2008-02-14 12:10 UTC (permalink / raw)
  To: Luciano Rocha; +Cc: linux-kernel

At Thu, 14 Feb 2008 10:05:44 +0000,
Luciano Rocha wrote:
> 
> [1  <text/plain; iso-8859-1 (quoted-printable)>]
> On Wed, Feb 13, 2008 at 03:09:21PM +0000, Luciano Rocha wrote:
> > On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
> > > At Wed, 13 Feb 2008 14:05:27 +0000,
> > > Luciano Rocha wrote:
> > > > 
> > > > Hello,
> > > > 
> > > > Is this known? I got the error while connecting usb headphones, running
> > > > vanilla 2.6.24.
> > > 
> > > Not known.  In which situation does it happen and is reproducible?
> > > 
> > 
> > Disconnecting and reconnecting doesn't result in error. I'll try a
> > reboot later.
> 
> After a reboot I still don't get the error (tryed connecting and
> reconnecting the headset). Do you have any tests you want me to make?

Oh, if this is about replugging, I remember a long-standing bug in
usb-audio driver.  Basically it happens when the device is reconnected
promptly during its device file is being opened.  A kind of race
condition.


Takashi

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

end of thread, other threads:[~2008-02-14 12:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 14:05 sysfs: duplicate filename 'card0' can not be created Luciano Rocha
2008-02-13 14:21 ` Takashi Iwai
2008-02-13 15:09   ` Luciano Rocha
2008-02-14 10:05     ` Luciano Rocha
2008-02-14 12:10       ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).