error in sysfs node create

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Friends ,

When the driver try to  create node under sysfs during boot-up , i am getting following error.
sysfs: duplicate filename '254:0' can not be created . Can you help me out to resolve this error ?

Trace attached below .

Thanks,
Shankar


------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x34/0x44()
sysfs: duplicate filename '254:0' can not be created
Modules linked in:
[<c03285e8>] (dump_stack+0x0/0x14) from [<c006c380>] (warn_slowpath+0x60/0x7c)
[<c006c320>] (warn_slowpath+0x0/0x7c) from [<c00fc05c>] (sysfs_add_one+0x34/0x44)
 r3:ce41ee20 r2:c03b643a
 r6:cf81fd38 r5:ce4211e8 r4:ffffffef
[<c00fc028>] (sysfs_add_one+0x0/0x44) from [<c00fcdf0>] (sysfs_do_create_link+0xb4/0x148)
 r5:ce4211e8 r4:ce421278
[<c00fcd3c>] (sysfs_do_create_link+0x0/0x148) from [<c00fceb0>] (sysfs_create_link+0x14/0x18)
 r8:ce41f48c r7:00000000 r6:cf80aa20 r5:ce41f400 r4:cf81fd89
[<c00fce9c>] (sysfs_create_link+0x0/0x18) from [<c01c5570>] (device_add+0x130/0x53c)
[<c01c5440>] (device_add+0x0/0x53c) from [<c01c5998>] (device_register+0x1c/0x20)
[<c01c597c>] (device_register+0x0/0x20) from [<c025de14>] (rtc_device_register+0x110/0x1c8)
 r5:00000000 r4:ce41f400
[<c025dd04>] (rtc_device_register+0x0/0x1c8) from [<c0328224>] (twl4030_rtc_probe+0x3c/0x1cc)
[<c03281e8>] (twl4030_rtc_probe+0x0/0x1cc) from [<c01c8444>] (platform_drv_probe+0x20/0x24)
 r8:c0423b68 r7:cf3ca560 r6:c042d840 r5:cf8eda08 r4:cf8eda08
[<c01c8424>] (platform_drv_probe+0x0/0x24) from [<c01c76d8>] (driver_probe_device+0xd0/0x17c)
[<c01c7608>] (driver_probe_device+0x0/0x17c) from [<c01c77d0>] (__driver_attach+0x4c/0x70)
 r7:cf3ca560 r6:c042d840 r5:cf8edab4 r4:cf8eda08
[<c01c7784>] (__driver_attach+0x0/0x70) from [<c01c6f64>] (bus_for_each_dev+0x4c/0x80)
 r7:cf3ca560 r6:c042d840 r5:c01c7784 r4:00000000
[<c01c6f18>] (bus_for_each_dev+0x0/0x80) from [<c01c7520>] (driver_attach+0x20/0x28)
 r6:c042d840 r5:00000000 r4:00000000
[<c01c7500>] (driver_attach+0x0/0x28) from [<c01c6844>] (bus_add_driver+0xa8/0x210)
[<c01c679c>] (bus_add_driver+0x0/0x210) from [<c01c79c4>] (driver_register+0x98/0x120)
 r8:00000000 r7:c00234b4 r6:c042d840 r5:00000000 r4:c002ab84
[<c01c792c>] (driver_register+0x0/0x120) from [<c01c8864>] (platform_driver_register+0x78/0x94)
 r9:00000000 r8:00000000 r7:c00234b4 r6:00000000 r5:00000000
r4:c002ab84
[<c01c87ec>] (platform_driver_register+0x0/0x94) from [<c00234c8>] (twl4030_rtc_init+0x14/0x1c)
[<c00234b4>] (twl4030_rtc_init+0x0/0x1c) from [<c003229c>] (do_one_initcall+0x54/0x184)
[<c0032248>] (do_one_initcall+0x0/0x184) from [<c0008424>] (kernel_init+0x80/0xf4)
 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:c002ab84
[<c00083a4>] (kernel_init+0x0/0xf4) from [<c006f210>] (do_exit+0x0/0x744)
 r4:00000000
---[ end trace 70f73452e09e3610 ]---









"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."



--
With Regards,
ShankarGanesh K .







"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux