Re: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() with4fa435018d740cb83d74c92306aa1f796da91ddd

From: Greg KH
Date: Thu Nov 01 2007 - 00:09:12 EST


On Thu, Nov 01, 2007 at 08:58:55AM +0530, Kamalesh Babulal wrote:
> Shaw Vrana wrote:
> > Yeah, I get the same with 2.6.24-rc1.
> >
> >
> > On Tue, Oct 23, 2007 at 05:48:54PM +0200, Thomas Meyer wrote:
> >> Thomas Meyer schrieb:
> >>> Oct 23 17:13:55 [kernel] usb 1-1: new high speed USB device using
> >>> ehci_hcd and address 7
> >>> Oct 23 17:13:55 [kernel] usb 1-1: configuration #1 chosen from 1 choice
> >>> Oct 23 17:13:55 [kernel] hub 1-1:1.0: USB hub found
> >>> Oct 23 17:13:55 [kernel] hub 1-1:1.0: 4 ports detected
> >>> Oct 23 17:13:55 [kernel] sysfs: duplicate filename 'bInterfaceNumber'
> >>> can not be created
> >>> Oct 23 17:13:55 [kernel] WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
> >>> Oct 23 17:13:55 [kernel] [<c01a37f0>] sysfs_add_one+0x54/0xb8
> >>> Oct 23 17:13:55 [kernel] [<c01a332a>] sysfs_add_file+0x42/0x6a
> >>> Oct 23 17:13:55 [kernel] [<c01a4a01>] sysfs_create_group+0x84/0xe7
> >>> Oct 23 17:13:55 [kernel] [<c023e5ec>] device_add+0x44a/0x454
> >>> Oct 23 17:13:55 [kernel] [<f88e774c>]
> >>> usb_create_sysfs_intf_files+0x24/0x98 [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<f88e4181>] usb_set_configuration+0x48f/0x4a9
> >>> [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<f88eabf3>] generic_probe+0x50/0x91 [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<f88e5817>] usb_probe_device+0x32/0x37 [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<c023fc11>] driver_probe_device+0xc5/0x148
> >>> Oct 23 17:13:55 [kernel] [<c02d94bd>] klist_next+0x4b/0x6b
> >>> Oct 23 17:13:55 [kernel] [<c023f14a>] bus_for_each_drv+0x35/0x5c
> >>> Oct 23 17:13:55 [kernel] [<c023fd17>] device_attach+0x63/0x77
> >>> Oct 23 17:13:55 [kernel] [<c023fc94>] __device_attach+0x0/0x5
> >>> Oct 23 17:13:55 [kernel] [<c023f0c6>] bus_attach_device+0x26/0x75
> >>> Oct 23 17:13:55 [kernel] [<c023e43d>] device_add+0x29b/0x454
> >>> Oct 23 17:13:55 [kernel] [<f88dfc2e>] usb_new_device+0x4d/0x8a [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<f88e1149>] hub_thread+0x6f5/0xae2 [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<c02d9e72>] schedule+0x4b4/0x519
> >>> Oct 23 17:13:55 [kernel] [<c013a1e1>] autoremove_wake_function+0x0/0x33
> >>> Oct 23 17:13:55 [kernel] [<f88e0a54>] hub_thread+0x0/0xae2 [usbcore]
> >>> Oct 23 17:13:55 [kernel] [<c013a119>] kthread+0x38/0x5f
> >>> Oct 23 17:13:55 [kernel] [<c013a0e1>] kthread+0x0/0x5f
> >>> Oct 23 17:13:55 [kernel] [<c0107bb7>] kernel_thread_helper+0x7/0x10
> >>> Oct 23 17:13:55 [kernel] =======================
> >>>
> >>>
> >>>
> >>>
> >> Sorry. This happens with 0895e91d60ef9bdef426d1ce14bb94bd5875870d...
>
> Hi,
>
> Similar sysfs_add_one() was reported at http://lkml.org/lkml/2007/10/16/25 and
> a patch is pointed in the discussion there, this might help you.
>
> cc'ing greg kroah-hartman.

Should now be fixed in Linus's tree. Can you try that (or wait for
2.6.24-rc2) and let me know if that fixes this for you?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/