linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
@ 2008-04-18 18:24 Miles Lane
  2008-04-21 18:56 ` Miles Lane
  0 siblings, 1 reply; 6+ messages in thread
From: Miles Lane @ 2008-04-18 18:24 UTC (permalink / raw)
  To: Andrew Morton, LKML, Greg KH, Kay Sievers

[    5.097022] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
[    5.097026] Modules linked in: floppy ohci1394(+) ieee1394
pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
usbcore ssb thermal processor fan fuse
[    5.097051] Pid: 1112, comm: modprobe Not tainted 2.6.25-mm1 #7
[    5.097057]  [<c012883a>] warn_on_slowpath+0x41/0x67
[    5.097354]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
[    5.097363]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
[    5.097379]  [<c0189ba5>] ? ifind+0x55/0x5f
[    5.097391]  [<c02d7450>] ? _spin_unlock+0x38/0x44
[    5.097403]  [<c0189ba5>] ? ifind+0x55/0x5f
[    5.097411]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
[    5.097421]  [<c01292f3>] ? printk+0x15/0x17
[    5.097430]  [<c01b2703>] sysfs_add_one+0x33/0x9a
[    5.097438]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
[    5.097449]  [<c0259fef>] device_add+0x123/0x405
[    5.097466]  [<c025a2e3>] device_register+0x12/0x15
[    5.097474]  [<c025a35b>] device_create+0x75/0x9a
[    5.097484]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
[    5.097522]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
[    5.097536]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
[    5.097547]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
[    5.097556]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
[    5.097581]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
[    5.097606]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
[    5.097628]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.097637]  [<c025b984>] __device_attach+0x8/0xa
[    5.097644]  [<c025b060>] bus_for_each_drv+0x39/0x63
[    5.097653]  [<c025b9f6>] device_attach+0x51/0x67
[    5.097660]  [<c025b97c>] ? __device_attach+0x0/0xa
[    5.097668]  [<c025af18>] bus_attach_device+0x24/0x4e
[    5.097676]  [<c025a190>] device_add+0x2c4/0x405
[    5.097689]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
[    5.097711]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
[    5.097735]  [<c028191f>] ? pcibios_set_master+0x78/0x81
[    5.097748]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
[    5.097774]  [<c01fe704>] pci_device_probe+0x39/0x59
[    5.097785]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.097793]  [<c025b95a>] __driver_attach+0x3d/0x5f
[    5.097801]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
[    5.097811]  [<c025b739>] driver_attach+0x14/0x16
[    5.097817]  [<c025b91d>] ? __driver_attach+0x0/0x5f
[    5.097825]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
[    5.097834]  [<c025baa3>] driver_register+0x47/0xa3
[    5.097841]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
[    5.097852]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
[    5.097861]  [<f8811035>] ohci_hcd_mod_init+0x35/0x63 [ohci_hcd]
[    5.097874]  [<c014af69>] sys_init_module+0x15e5/0x177b
[    5.097892]  [<c016a3c5>] ? vma_link+0x66/0x71
[    5.097904]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
[    5.097915]  [<c016aa18>] ? mmap_region+0x2cd/0x377
[    5.097925]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
[    5.097956]  [<c0106c32>] syscall_call+0x7/0xb
[    5.097970]  =======================
[    5.097975] ---[ end trace 3d0d724a7c8aa619 ]---
[    5.097978] disabling CONFIG_USB_DEVICE_CLASS might fix this

[...]

[    5.258579] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
[    5.258583] Modules linked in: floppy ohci1394(+) ieee1394
pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
usbcore ssb thermal processor fan fuse
[    5.258610] Pid: 1112, comm: modprobe Tainted: G        W 2.6.25-mm1 #7
[    5.258617]  [<c012883a>] warn_on_slowpath+0x41/0x67
[    5.258633]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
[    5.258642]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
[    5.258656]  [<c0189b66>] ? ifind+0x16/0x5f
[    5.258668]  [<c02d7450>] ? _spin_unlock+0x38/0x44
[    5.258680]  [<c0189ba5>] ? ifind+0x55/0x5f
[    5.258687]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
[    5.258696]  [<c01292f3>] ? printk+0x15/0x17
[    5.258704]  [<c01b2703>] sysfs_add_one+0x33/0x9a
[    5.258712]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
[    5.258722]  [<c0259fef>] device_add+0x123/0x405
[    5.258739]  [<c025a2e3>] device_register+0x12/0x15
[    5.258746]  [<c025a35b>] device_create+0x75/0x9a
[    5.258755]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
[    5.258793]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
[    5.258806]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
[    5.258817]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
[    5.258825]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
[    5.258849]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
[    5.258874]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
[    5.258895]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.258904]  [<c025b984>] __device_attach+0x8/0xa
[    5.258910]  [<c025b060>] bus_for_each_drv+0x39/0x63
[    5.258919]  [<c025b9f6>] device_attach+0x51/0x67
[    5.258925]  [<c025b97c>] ? __device_attach+0x0/0xa
[    5.258934]  [<c025af18>] bus_attach_device+0x24/0x4e
[    5.258941]  [<c025a190>] device_add+0x2c4/0x405
[    5.258953]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
[    5.258974]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
[    5.258998]  [<c028191f>] ? pcibios_set_master+0x78/0x81
[    5.259011]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
[    5.259036]  [<c01fe704>] pci_device_probe+0x39/0x59
[    5.259046]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.259054]  [<c025b95a>] __driver_attach+0x3d/0x5f
[    5.259062]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
[    5.259071]  [<c025b739>] driver_attach+0x14/0x16
[    5.259077]  [<c025b91d>] ? __driver_attach+0x0/0x5f
[    5.259084]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
[    5.259092]  [<c025baa3>] driver_register+0x47/0xa3
[    5.259098]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
[    5.259109]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
[    5.259117]  [<f8811035>] ohci_hcd_mod_init+0x35/0x63 [ohci_hcd]
[    5.259130]  [<c014af69>] sys_init_module+0x15e5/0x177b
[    5.259149]  [<c016a3c5>] ? vma_link+0x66/0x71
[    5.259160]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
[    5.259171]  [<c016aa18>] ? mmap_region+0x2cd/0x377
[    5.259181]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
[    5.259212]  [<c0106c32>] syscall_call+0x7/0xb
[    5.259226]  =======================
[    5.259230] ---[ end trace 3d0d724a7c8aa619 ]---
[    5.259234] disabling CONFIG_USB_DEVICE_CLASS might fix this

[...]

[    5.347825] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
[    5.347829] Modules linked in: floppy ohci1394(+) ieee1394
pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
usbcore ssb thermal processor fan fuse
[    5.347855] Pid: 1117, comm: modprobe Tainted: G        W 2.6.25-mm1 #7
[    5.347862]  [<c012883a>] warn_on_slowpath+0x41/0x67
[    5.347879]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
[    5.347888]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
[    5.347902]  [<c0189b66>] ? ifind+0x16/0x5f
[    5.347914]  [<c02d7450>] ? _spin_unlock+0x38/0x44
[    5.347926]  [<c0189ba5>] ? ifind+0x55/0x5f
[    5.347933]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
[    5.347942]  [<c01292f3>] ? printk+0x15/0x17
[    5.347950]  [<c01b2703>] sysfs_add_one+0x33/0x9a
[    5.347958]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
[    5.347968]  [<c0259fef>] device_add+0x123/0x405
[    5.347984]  [<c025a2e3>] device_register+0x12/0x15
[    5.347992]  [<c025a35b>] device_create+0x75/0x9a
[    5.348000]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
[    5.348039]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
[    5.348052]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
[    5.348063]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
[    5.348071]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
[    5.348095]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
[    5.348120]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
[    5.348141]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.348150]  [<c025b984>] __device_attach+0x8/0xa
[    5.348156]  [<c025b060>] bus_for_each_drv+0x39/0x63
[    5.348165]  [<c025b9f6>] device_attach+0x51/0x67
[    5.348171]  [<c025b97c>] ? __device_attach+0x0/0xa
[    5.348179]  [<c025af18>] bus_attach_device+0x24/0x4e
[    5.348186]  [<c025a190>] device_add+0x2c4/0x405
[    5.348198]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
[    5.348219]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
[    5.348243]  [<c028191f>] ? pcibios_set_master+0x78/0x81
[    5.348256]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
[    5.348281]  [<c01fe704>] pci_device_probe+0x39/0x59
[    5.348291]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
[    5.348299]  [<c025b95a>] __driver_attach+0x3d/0x5f
[    5.348306]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
[    5.348316]  [<c025b739>] driver_attach+0x14/0x16
[    5.348322]  [<c025b91d>] ? __driver_attach+0x0/0x5f
[    5.348329]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
[    5.348337]  [<c025baa3>] driver_register+0x47/0xa3
[    5.348343]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
[    5.348354]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
[    5.348362]  [<f8831017>] ehci_hcd_init+0x17/0x19 [ehci_hcd]
[    5.348374]  [<c014af69>] sys_init_module+0x15e5/0x177b
[    5.348394]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
[    5.348408]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
[    5.348439]  [<c0106c32>] syscall_call+0x7/0xb
[    5.348453]  =======================
[    5.348457] ---[ end trace 3d0d724a7c8aa619 ]---
[    5.348461] disabling CONFIG_USB_DEVICE_CLASS might fix this

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

* Re: 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
  2008-04-18 18:24 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a() Miles Lane
@ 2008-04-21 18:56 ` Miles Lane
  2008-04-21 21:01   ` Frederik Deweerdt
  2008-04-21 21:44   ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Miles Lane @ 2008-04-21 18:56 UTC (permalink / raw)
  To: Andrew Morton, LKML, Greg KH, Kay Sievers

Is anyone interesting in following up on this?

Thanks,
      Miles

On Fri, Apr 18, 2008 at 2:24 PM, Miles Lane <miles.lane@gmail.com> wrote:
> [    5.097022] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
>  [    5.097026] Modules linked in: floppy ohci1394(+) ieee1394
>  pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
>  usbcore ssb thermal processor fan fuse
>  [    5.097051] Pid: 1112, comm: modprobe Not tainted 2.6.25-mm1 #7
>  [    5.097057]  [<c012883a>] warn_on_slowpath+0x41/0x67
>  [    5.097354]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
>  [    5.097363]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
>  [    5.097379]  [<c0189ba5>] ? ifind+0x55/0x5f
>  [    5.097391]  [<c02d7450>] ? _spin_unlock+0x38/0x44
>  [    5.097403]  [<c0189ba5>] ? ifind+0x55/0x5f
>  [    5.097411]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
>  [    5.097421]  [<c01292f3>] ? printk+0x15/0x17
>  [    5.097430]  [<c01b2703>] sysfs_add_one+0x33/0x9a
>  [    5.097438]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
>  [    5.097449]  [<c0259fef>] device_add+0x123/0x405
>  [    5.097466]  [<c025a2e3>] device_register+0x12/0x15
>  [    5.097474]  [<c025a35b>] device_create+0x75/0x9a
>  [    5.097484]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
>  [    5.097522]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
>  [    5.097536]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
>  [    5.097547]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
>  [    5.097556]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
>  [    5.097581]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
>  [    5.097606]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
>  [    5.097628]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.097637]  [<c025b984>] __device_attach+0x8/0xa
>  [    5.097644]  [<c025b060>] bus_for_each_drv+0x39/0x63
>  [    5.097653]  [<c025b9f6>] device_attach+0x51/0x67
>  [    5.097660]  [<c025b97c>] ? __device_attach+0x0/0xa
>  [    5.097668]  [<c025af18>] bus_attach_device+0x24/0x4e
>  [    5.097676]  [<c025a190>] device_add+0x2c4/0x405
>  [    5.097689]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
>  [    5.097711]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
>  [    5.097735]  [<c028191f>] ? pcibios_set_master+0x78/0x81
>  [    5.097748]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
>  [    5.097774]  [<c01fe704>] pci_device_probe+0x39/0x59
>  [    5.097785]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.097793]  [<c025b95a>] __driver_attach+0x3d/0x5f
>  [    5.097801]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
>  [    5.097811]  [<c025b739>] driver_attach+0x14/0x16
>  [    5.097817]  [<c025b91d>] ? __driver_attach+0x0/0x5f
>  [    5.097825]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
>  [    5.097834]  [<c025baa3>] driver_register+0x47/0xa3
>  [    5.097841]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
>  [    5.097852]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
>  [    5.097861]  [<f8811035>] ohci_hcd_mod_init+0x35/0x63 [ohci_hcd]
>  [    5.097874]  [<c014af69>] sys_init_module+0x15e5/0x177b
>  [    5.097892]  [<c016a3c5>] ? vma_link+0x66/0x71
>  [    5.097904]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
>  [    5.097915]  [<c016aa18>] ? mmap_region+0x2cd/0x377
>  [    5.097925]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
>  [    5.097956]  [<c0106c32>] syscall_call+0x7/0xb
>  [    5.097970]  =======================
>  [    5.097975] ---[ end trace 3d0d724a7c8aa619 ]---
>  [    5.097978] disabling CONFIG_USB_DEVICE_CLASS might fix this
>
>  [...]
>
>  [    5.258579] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
>  [    5.258583] Modules linked in: floppy ohci1394(+) ieee1394
>  pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
>  usbcore ssb thermal processor fan fuse
>  [    5.258610] Pid: 1112, comm: modprobe Tainted: G        W 2.6.25-mm1 #7
>  [    5.258617]  [<c012883a>] warn_on_slowpath+0x41/0x67
>  [    5.258633]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
>  [    5.258642]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
>  [    5.258656]  [<c0189b66>] ? ifind+0x16/0x5f
>  [    5.258668]  [<c02d7450>] ? _spin_unlock+0x38/0x44
>  [    5.258680]  [<c0189ba5>] ? ifind+0x55/0x5f
>  [    5.258687]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
>  [    5.258696]  [<c01292f3>] ? printk+0x15/0x17
>  [    5.258704]  [<c01b2703>] sysfs_add_one+0x33/0x9a
>  [    5.258712]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
>  [    5.258722]  [<c0259fef>] device_add+0x123/0x405
>  [    5.258739]  [<c025a2e3>] device_register+0x12/0x15
>  [    5.258746]  [<c025a35b>] device_create+0x75/0x9a
>  [    5.258755]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
>  [    5.258793]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
>  [    5.258806]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
>  [    5.258817]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
>  [    5.258825]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
>  [    5.258849]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
>  [    5.258874]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
>  [    5.258895]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.258904]  [<c025b984>] __device_attach+0x8/0xa
>  [    5.258910]  [<c025b060>] bus_for_each_drv+0x39/0x63
>  [    5.258919]  [<c025b9f6>] device_attach+0x51/0x67
>  [    5.258925]  [<c025b97c>] ? __device_attach+0x0/0xa
>  [    5.258934]  [<c025af18>] bus_attach_device+0x24/0x4e
>  [    5.258941]  [<c025a190>] device_add+0x2c4/0x405
>  [    5.258953]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
>  [    5.258974]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
>  [    5.258998]  [<c028191f>] ? pcibios_set_master+0x78/0x81
>  [    5.259011]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
>  [    5.259036]  [<c01fe704>] pci_device_probe+0x39/0x59
>  [    5.259046]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.259054]  [<c025b95a>] __driver_attach+0x3d/0x5f
>  [    5.259062]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
>  [    5.259071]  [<c025b739>] driver_attach+0x14/0x16
>  [    5.259077]  [<c025b91d>] ? __driver_attach+0x0/0x5f
>  [    5.259084]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
>  [    5.259092]  [<c025baa3>] driver_register+0x47/0xa3
>  [    5.259098]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
>  [    5.259109]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
>  [    5.259117]  [<f8811035>] ohci_hcd_mod_init+0x35/0x63 [ohci_hcd]
>  [    5.259130]  [<c014af69>] sys_init_module+0x15e5/0x177b
>  [    5.259149]  [<c016a3c5>] ? vma_link+0x66/0x71
>  [    5.259160]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
>  [    5.259171]  [<c016aa18>] ? mmap_region+0x2cd/0x377
>  [    5.259181]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
>  [    5.259212]  [<c0106c32>] syscall_call+0x7/0xb
>  [    5.259226]  =======================
>  [    5.259230] ---[ end trace 3d0d724a7c8aa619 ]---
>  [    5.259234] disabling CONFIG_USB_DEVICE_CLASS might fix this
>
>  [...]
>
>  [    5.347825] WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
>  [    5.347829] Modules linked in: floppy ohci1394(+) ieee1394
>  pata_amd(+) 3c59x(+) mii libata ehci_hcd(+) ohci_hcd(+) forcedeth
>  usbcore ssb thermal processor fan fuse
>  [    5.347855] Pid: 1117, comm: modprobe Tainted: G        W 2.6.25-mm1 #7
>  [    5.347862]  [<c012883a>] warn_on_slowpath+0x41/0x67
>  [    5.347879]  [<c0128919>] ? test_ti_thread_flag+0xf/0x11
>  [    5.347888]  [<c01292c7>] ? vprintk+0x3ab/0x3c2
>  [    5.347902]  [<c0189b66>] ? ifind+0x16/0x5f
>  [    5.347914]  [<c02d7450>] ? _spin_unlock+0x38/0x44
>  [    5.347926]  [<c0189ba5>] ? ifind+0x55/0x5f
>  [    5.347933]  [<c01b2410>] ? sysfs_ilookup_test+0x0/0x11
>  [    5.347942]  [<c01292f3>] ? printk+0x15/0x17
>  [    5.347950]  [<c01b2703>] sysfs_add_one+0x33/0x9a
>  [    5.347958]  [<c01b331e>] sysfs_create_link+0xa7/0xd1
>  [    5.347968]  [<c0259fef>] device_add+0x123/0x405
>  [    5.347984]  [<c025a2e3>] device_register+0x12/0x15
>  [    5.347992]  [<c025a35b>] device_create+0x75/0x9a
>  [    5.348000]  [<f8893dc7>] usb_classdev_notify+0x40/0x72 [usbcore]
>  [    5.348039]  [<c013cbae>] notifier_call_chain+0x2b/0x4a
>  [    5.348052]  [<c013cd51>] __blocking_notifier_call_chain+0x37/0x4c
>  [    5.348063]  [<c013cd72>] blocking_notifier_call_chain+0xc/0xe
>  [    5.348071]  [<f8893fa4>] usb_notify_add_device+0x14/0x16 [usbcore]
>  [    5.348095]  [<f889424c>] generic_probe+0x77/0x83 [usbcore]
>  [    5.348120]  [<f888ee7c>] usb_probe_device+0x32/0x38 [usbcore]
>  [    5.348141]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.348150]  [<c025b984>] __device_attach+0x8/0xa
>  [    5.348156]  [<c025b060>] bus_for_each_drv+0x39/0x63
>  [    5.348165]  [<c025b9f6>] device_attach+0x51/0x67
>  [    5.348171]  [<c025b97c>] ? __device_attach+0x0/0xa
>  [    5.348179]  [<c025af18>] bus_attach_device+0x24/0x4e
>  [    5.348186]  [<c025a190>] device_add+0x2c4/0x405
>  [    5.348198]  [<f8888ee1>] usb_new_device+0x4d/0x83 [usbcore]
>  [    5.348219]  [<f888ba9e>] usb_add_hcd+0x420/0x55f [usbcore]
>  [    5.348243]  [<c028191f>] ? pcibios_set_master+0x78/0x81
>  [    5.348256]  [<f88947cf>] usb_hcd_pci_probe+0x252/0x30b [usbcore]
>  [    5.348281]  [<c01fe704>] pci_device_probe+0x39/0x59
>  [    5.348291]  [<c025b8a2>] driver_probe_device+0xa0/0x11b
>  [    5.348299]  [<c025b95a>] __driver_attach+0x3d/0x5f
>  [    5.348306]  [<c025b2aa>] bus_for_each_dev+0x3e/0x60
>  [    5.348316]  [<c025b739>] driver_attach+0x14/0x16
>  [    5.348322]  [<c025b91d>] ? __driver_attach+0x0/0x5f
>  [    5.348329]  [<c025ad51>] bus_add_driver+0x9d/0x1ad
>  [    5.348337]  [<c025baa3>] driver_register+0x47/0xa3
>  [    5.348343]  [<c01f944e>] ? __spin_lock_init+0x24/0x48
>  [    5.348354]  [<c01fe8e3>] __pci_register_driver+0x53/0x80
>  [    5.348362]  [<f8831017>] ehci_hcd_init+0x17/0x19 [ehci_hcd]
>  [    5.348374]  [<c014af69>] sys_init_module+0x15e5/0x177b
>  [    5.348394]  [<f8864000>] ? amd_init+0x0/0x19 [pata_amd]
>  [    5.348408]  [<f8887790>] ? usb_root_hub_lost_power+0x0/0x2f [usbcore]
>  [    5.348439]  [<c0106c32>] syscall_call+0x7/0xb
>  [    5.348453]  =======================
>  [    5.348457] ---[ end trace 3d0d724a7c8aa619 ]---
>  [    5.348461] disabling CONFIG_USB_DEVICE_CLASS might fix this
>

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

* Re: 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
  2008-04-21 18:56 ` Miles Lane
@ 2008-04-21 21:01   ` Frederik Deweerdt
  2008-04-21 22:01     ` Miles Lane
  2008-04-21 21:44   ` Greg KH
  1 sibling, 1 reply; 6+ messages in thread
From: Frederik Deweerdt @ 2008-04-21 21:01 UTC (permalink / raw)
  To: Miles Lane; +Cc: Andrew Morton, LKML, Greg KH, Kay Sievers

On Mon, Apr 21, 2008 at 02:56:52PM -0400, Miles Lane wrote:
> Is anyone interesting in following up on this?
> 
Doesn't this
http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-04/msg06990.html
fixes it?

Regards,
Frederik

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

* Re: 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
  2008-04-21 18:56 ` Miles Lane
  2008-04-21 21:01   ` Frederik Deweerdt
@ 2008-04-21 21:44   ` Greg KH
  1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2008-04-21 21:44 UTC (permalink / raw)
  To: Miles Lane; +Cc: Andrew Morton, LKML, Kay Sievers

On Mon, Apr 21, 2008 at 02:56:52PM -0400, Miles Lane wrote:
> Is anyone interesting in following up on this?

Did you follow what the kernel told you to do to resolve this:

> >  [    5.097978] disabling CONFIG_USB_DEVICE_CLASS might fix this

Anyway, this was removed already from the -mm tree, so it will not show
up again, hopefully.

thanks,

greg k-h

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

* Re: 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
  2008-04-21 21:01   ` Frederik Deweerdt
@ 2008-04-21 22:01     ` Miles Lane
  2008-04-21 22:12       ` Miles Lane
  0 siblings, 1 reply; 6+ messages in thread
From: Miles Lane @ 2008-04-21 22:01 UTC (permalink / raw)
  To: Frederik Deweerdt; +Cc: Andrew Morton, LKML, Greg KH, Kay Sievers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2574 bytes --]

On Mon, Apr 21, 2008 at 5:01 PM, Frederik Deweerdt <deweerdt@free.fr> wrote:> On Mon, Apr 21, 2008 at 02:56:52PM -0400, Miles Lane wrote:>  > Is anyone interesting in following up on this?>  >>  Doesn't this>  http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-04/msg06990.html>  fixes it?
That patch seems to have some problems:http://groups.google.com/group/linux.kernel/browse_thread/thread/a9cfeae4ce67ee8e/2118788c3c81b2f3?#2118788c3c81b2f3Should I apply this instead or as well?
From: Kay Sievers <kay.siev...@vrfy.org>Subject: sysfs: fix duplicated device number registration in /sys/dev/
If the parent device has the same dev_t, we skip the registrationfor the device number at /sys/dev.
Cc: Dan Williams <dan.j.willi...@intel.com>Cc: Greg KH <g...@kroah.com>Cc: Andrew Morton <a...@linux-foundation.org>Signed-off-by: Kay Sievers <kay.siev...@vrfy.org>---
 core.c |   17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.cindex de925f8..afedadb 100644--- a/drivers/base/core.c+++ b/drivers/base/core.c@@ -821,10 +821,13 @@ int device_add(struct device *dev)                if (error)                        goto ueventattrError;
-               format_dev_t(devt_str, dev->devt);-               error = sysfs_create_link(kobj, &dev->kobj, devt_str);-               if (error)-                       goto devtattrError;+               /* do not create /sys/dev/ entry if parent already did */+               if (!(dev->parent && dev->parent->devt == dev->devt)) {+                       format_dev_t(devt_str, dev->devt);+                       error = sysfs_create_link(kobj, &dev->kobj, devt_str);+                       if (error)+                               goto devtattrError;+               }        }
        error = device_add_class_symlinks(dev);@@ -950,8 +953,10 @@ void device_del(struct device *dev)        if (parent)                klist_del(&dev->knode_parent);        if (MAJOR(dev->devt)) {-               format_dev_t(devt_str, dev->devt);-               sysfs_remove_link(device_to_dev_kobj(dev), devt_str);+               if (!(parent && parent->devt == dev->devt)) {+                       format_dev_t(devt_str, dev->devt);+                       sysfs_remove_link(device_to_dev_kobj(dev), devt_str);+               }                device_remove_file(dev, &devt_attr);        }        if (dev->class) {
--ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a()
  2008-04-21 22:01     ` Miles Lane
@ 2008-04-21 22:12       ` Miles Lane
  0 siblings, 0 replies; 6+ messages in thread
From: Miles Lane @ 2008-04-21 22:12 UTC (permalink / raw)
  To: Frederik Deweerdt; +Cc: Andrew Morton, LKML, Greg KH, Kay Sievers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2856 bytes --]

On Mon, Apr 21, 2008 at 6:01 PM, Miles Lane <miles.lane@gmail.com> wrote:>> On Mon, Apr 21, 2008 at 5:01 PM, Frederik Deweerdt <deweerdt@free.fr> wrote:>  > On Mon, Apr 21, 2008 at 02:56:52PM -0400, Miles Lane wrote:>  >  > Is anyone interesting in following up on this?>  >  >>  >  Doesn't this>  >  http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-04/msg06990.html>  >  fixes it?>>  That patch seems to have some problems:>  http://groups.google.com/group/linux.kernel/browse_thread/thread/a9cfeae4ce67ee8e/2118788c3c81b2f3?#2118788c3c81b2f3>  Should I apply this instead or as well?>>  From: Kay Sievers <kay.siev...@vrfy.org>>  Subject: sysfs: fix duplicated device number registration in /sys/dev/>>  If the parent device has the same dev_t, we skip the registration>  for the device number at /sys/dev.>>  Cc: Dan Williams <dan.j.willi...@intel.com>>  Cc: Greg KH <g...@kroah.com>>  Cc: Andrew Morton <a...@linux-foundation.org>>  Signed-off-by: Kay Sievers <kay.siev...@vrfy.org>>  --->>   core.c |   17 +++++++++++------>   1 file changed, 11 insertions(+), 6 deletions(-)>>  diff --git a/drivers/base/core.c b/drivers/base/core.c>  index de925f8..afedadb 100644>  --- a/drivers/base/core.c>  +++ b/drivers/base/core.c>  @@ -821,10 +821,13 @@ int device_add(struct device *dev)>                 if (error)>                         goto ueventattrError;>>  -               format_dev_t(devt_str, dev->devt);>  -               error = sysfs_create_link(kobj, &dev->kobj, devt_str);>  -               if (error)>  -                       goto devtattrError;>  +               /* do not create /sys/dev/ entry if parent already did */>  +               if (!(dev->parent && dev->parent->devt == dev->devt)) {>  +                       format_dev_t(devt_str, dev->devt);>  +                       error = sysfs_create_link(kobj, &dev->kobj, devt_str);>  +                       if (error)>  +                               goto devtattrError;>  +               }>         }>>         error = device_add_class_symlinks(dev);>  @@ -950,8 +953,10 @@ void device_del(struct device *dev)>         if (parent)>                 klist_del(&dev->knode_parent);>         if (MAJOR(dev->devt)) {>  -               format_dev_t(devt_str, dev->devt);>  -               sysfs_remove_link(device_to_dev_kobj(dev), devt_str);>  +               if (!(parent && parent->devt == dev->devt)) {>  +                       format_dev_t(devt_str, dev->devt);>  +                       sysfs_remove_link(device_to_dev_kobj(dev), devt_str);>  +               }>                 device_remove_file(dev, &devt_attr);>         }>         if (dev->class) {>>  --
Applying this patch worked for me.
Thanks!      Milesÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

end of thread, other threads:[~2008-04-22  5:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-18 18:24 2.6.25-mm1 -- WARNING: at fs/sysfs/dir.c:427 sysfs_add_one+0x33/0x9a() Miles Lane
2008-04-21 18:56 ` Miles Lane
2008-04-21 21:01   ` Frederik Deweerdt
2008-04-21 22:01     ` Miles Lane
2008-04-21 22:12       ` Miles Lane
2008-04-21 21:44   ` Greg KH

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).