Why I got "Device 'power_meter0' does not have a release() function, it is broken and must be fixed." error in dmesg when system is loading power_meter module? How to fix that problem?
Issue
When system is loading power_meter module, why system print error message similar with following message? How to fix that?
Device 'power_meter0' does not have a release() function, it is broken and must
be fixed.
BUG: warning at drivers/base/core.c:101/device_release() (Not tainted)
[<c04ebe11>] kobject_cleanup+0x3e/0x5e
[<c04ebe31>] kobject_release+0x0/0x8
[<c04ec8f8>] kref_put+0x55/0x5f
[<f8aa4faf>] acpi_power_meter_add+0x129/0x13a [power_meter]
[<c05326fd>] acpi_bus_driver_init+0x28/0x4b
[<c05336f4>] acpi_bus_register_driver+0x7e/0xb3
[<f8a0d02a>] acpi_power_meter_init+0x1d/0x2b [power_meter]
[<c043efe9>] sys_init_module+0x1aed/0x1caa
[<c04ebdc1>] kobject_put+0x0/0x12
[<c04752e2>] sys_read+0x3c/0x63
[<c0404ead>] sysenter_past_esp+0x56/0x79
=======================
Environment
Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.