#9320 NORM 1.5-ATe: duplicate create of /devices/platform/rtc_cmos
Zarro Boogs per Child
bugtracker at laptop.org
Mon Jun 8 15:59:52 EDT 2009
#9320: duplicate create of /devices/platform/rtc_cmos
--------------------------+-------------------------------------------------
Reporter: pgf | Owner: dsaxena
Type: defect | Status: new
Priority: normal | Milestone: 1.5-ATest
Component: not assigned | Version: not specified
Keywords: | Next_action: diagnose
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
--------------------------+-------------------------------------------------
i've been getting this reliably, on every reboot, of my gen1 machine
running from the 2.6.30-rc5 branch.
git head of my tree is 88a3ec24bf756c49e1f8a24efa6796e265204d48.
{{{
Jun 7 13:43:50 localhost kernel: [ 1.583589] ------------[ cut here
]------------
Jun 7 13:43:50 localhost kernel: [ 1.588314] WARNING: at
fs/sysfs/dir.c:487 sysfs_add_one+0xbe/0xd3()
Jun 7 13:43:50 localhost kernel: [ 1.595232] sysfs: cannot create
duplicate filename '/devices/platform/rtc_cmos'
Jun 7 13:43:50 localhost kernel: [ 1.603187] Modules linked in:
Jun 7 13:43:50 localhost kernel: [ 1.606403] Pid: 1, comm: swapper Not
tainted 2.6.30-rc5pgf #1
Jun 7 13:43:50 localhost kernel: [ 1.612990] Call Trace:
Jun 7 13:43:50 localhost kernel: [ 1.615545] [<c0418301>] ?
warn_slowpath_fmt+0x66/0x88
Jun 7 13:43:50 localhost kernel: [ 1.621574] [<c041830d>]
warn_slowpath_fmt+0x72/0x88
Jun 7 13:43:50 localhost kernel: [ 1.626736] [<c04501b3>] ?
__alloc_pages_internal+0x8e/0x356
Jun 7 13:43:50 localhost kernel: [ 1.633169] [<c05198f0>] ?
idr_get_empty_slot+0x13c/0x1e7
Jun 7 13:43:50 localhost kernel: [ 1.638774] [<c0663fe5>] ?
_spin_unlock+0x12/0x26
Jun 7 13:43:50 localhost kernel: [ 1.644454] [<c04abda7>]
sysfs_add_one+0xbe/0xd3
Jun 7 13:43:50 localhost kernel: [ 1.649262] [<c04ac27e>]
create_dir+0x43/0x75
Jun 7 13:43:50 localhost kernel: [ 1.654482] [<c04ac2dd>]
sysfs_create_dir+0x2d/0x3d
Jun 7 13:43:50 localhost kernel: [ 1.659565] [<c051a4e4>]
kobject_add_internal+0xaa/0x159
Jun 7 13:43:50 localhost kernel: [ 1.665631] [<c051a644>]
kobject_add_varg+0x31/0x3d
Jun 7 13:43:50 localhost kernel: [ 1.670706] [<c051a6ba>]
kobject_add+0x43/0x49
Jun 7 13:43:50 localhost kernel: [ 1.675981] [<c0561710>]
device_add+0xeb/0x467
Jun 7 13:43:50 localhost kernel: [ 1.680624] [<c0663e7a>] ?
_write_unlock+0x12/0x26
Jun 7 13:43:50 localhost kernel: [ 1.686303] [<c05641a8>]
platform_device_add+0x102/0x146
Jun 7 13:43:50 localhost kernel: [ 1.691815] [<c0564201>]
platform_device_register+0x15/0x18
Jun 7 13:43:50 localhost kernel: [ 1.698255] [<c076620a>]
add_rtc_cmos+0xe/0x31
Jun 7 13:43:50 localhost kernel: [ 1.702887] [<c0401049>]
_stext+0x49/0x10b
Jun 7 13:43:50 localhost kernel: [ 1.707827] [<c07661fc>] ?
add_rtc_cmos+0x0/0x31
Jun 7 13:43:50 localhost kernel: [ 1.712636] [<c04a6c00>] ?
proc_create_data+0x1f/0x90
Jun 7 13:43:50 localhost kernel: [ 1.718575] [<c044134b>] ?
register_irq_proc+0x65/0x81
Jun 7 13:43:50 localhost kernel: [ 1.723914] [<c07604a0>]
kernel_init+0x6b/0xb9
Jun 7 13:43:50 localhost kernel: [ 1.729312] [<c0760435>] ?
kernel_init+0x0/0xb9
Jun 7 13:43:50 localhost kernel: [ 1.734033] [<c0403b03>]
kernel_thread_helper+0x7/0x10
Jun 7 13:43:50 localhost kernel: [ 1.739596] ---[ end trace
f17e946d22a56015 ]---
Jun 7 13:43:50 localhost kernel: [ 1.744332] kobject_add_internal
failed for rtc_cmos with -EEXIST, don't try to register things with the
same name in the>
Jun 7 13:43:50 localhost kernel: [ 1.756917] Pid: 1, comm: swapper
Tainted: G W 2.6.30-rc5pgf #1
Jun 7 13:43:50 localhost kernel: [ 1.763624] Call Trace:
Jun 7 13:43:50 localhost kernel: [ 1.766266] [<c051a56b>]
kobject_add_internal+0x131/0x159
Jun 7 13:43:50 localhost kernel: [ 1.771859] [<c051a644>]
kobject_add_varg+0x31/0x3d
Jun 7 13:43:50 localhost kernel: [ 1.777002] [<c051a6ba>]
kobject_add+0x43/0x49
Jun 7 13:43:50 localhost kernel: [ 1.781636] [<c0561710>]
device_add+0xeb/0x467
Jun 7 13:43:50 localhost kernel: [ 1.786374] [<c0663e7a>] ?
_write_unlock+0x12/0x26
Jun 7 13:43:50 localhost kernel: [ 1.791355] [<c05641a8>]
platform_device_add+0x102/0x146
Jun 7 13:43:50 localhost kernel: [ 1.796959] [<c0564201>]
platform_device_register+0x15/0x18
Jun 7 13:43:50 localhost kernel: [ 1.802731] [<c076620a>]
add_rtc_cmos+0xe/0x31
Jun 7 13:43:50 localhost kernel: [ 1.807450] [<c0401049>]
_stext+0x49/0x10b
Jun 7 13:43:50 localhost kernel: [ 1.811734] [<c07661fc>] ?
add_rtc_cmos+0x0/0x31
Jun 7 13:43:50 localhost kernel: [ 1.816636] [<c04a6c00>] ?
proc_create_data+0x1f/0x90
Jun 7 13:43:50 localhost kernel: [ 1.821883] [<c044134b>] ?
register_irq_proc+0x65/0x81
Jun 7 13:43:50 localhost kernel: [ 1.827321] [<c07604a0>]
kernel_init+0x6b/0xb9
Jun 7 13:43:50 localhost kernel: [ 1.831955] [<c0760435>] ?
kernel_init+0x0/0xb9
Jun 7 13:43:50 localhost kernel: [ 1.836776] [<c0403b03>]
kernel_thread_helper+0x7/0x10
Jun 7 13:43:50 localhost kernel: [ 1.842097] platform rtc_cmos:
registered platform RTC device (no PNP device found)
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/9320>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list