lkml.org 
[lkml]   [2015]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT PULL] power supply changes for 4.1
From
On Mon, Apr 13, 2015 at 6:35 AM, Sebastian Reichel <sre@ring0.de> wrote:
>
> * new API for safe access of power supply function attrs
> * devres support for power supply (un)registration

I'm not sure this is the reason, but suspend/resume on my laptop now
complains wildly.

I'm *assuming* the culprit is commit 297d716f6260 ("power_supply:
Change ownership from driver to core") and probably the ACPI changes
in particular. But I didn't bisect, I'm just pasting the warning
messages here.

Hmm?

Linus

--- snip snip ---


------------[ cut here ]------------
WARNING: CPU: 0 PID: 4018 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x55/0x70()
sysfs: cannot create duplicate filename
'/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0'
CPU: 0 PID: 4018 Comm: systemd-sleep Not tainted
4.0.0-02620-gb79013b2449c #28
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Call Trace:
dump_stack+0x40/0x50
warn_slowpath_common+0x77/0xb0
warn_slowpath_fmt+0x45/0x50
kernfs_path+0x42/0x50
sysfs_warn_dup+0x55/0x70
sysfs_create_dir_ns+0x7e/0x90
kobject_add_internal+0xac/0x370
kobject_add+0x66/0xb0
device_add+0x106/0x670
__power_supply_register+0x134/0x280
sysfs_add_battery+0x6d/0x99
battery_notify+0x3b/0x5f
notifier_call_chain+0x47/0x70
__blocking_notifier_call_chain+0x3c/0x60
pm_notifier_call_chain+0x15/0x40
pm_suspend+0x231/0x2f0
from_kgid_munged+0x9/0x20
state_store+0x71/0xf0
kernfs_fop_write+0x124/0x180
vfs_write+0xad/0x1e0
SyS_write+0x3d/0xa0
system_call_fastpath+0x12/0x6a
---[ end trace 48e03e2b845e5eff ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4018 at lib/kobject.c:240
kobject_add_internal+0x2f4/0x370()
kobject_add_internal failed for BAT0 with -EEXIST, don't try to
register things with the same name in the same directory.
CPU: 0 PID: 4018 Comm: systemd-sleep Tainted: G W
4.0.0-02620-gb79013b2449c #28
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Call Trace:
dump_stack+0x40/0x50
warn_slowpath_common+0x77/0xb0
warn_slowpath_fmt+0x45/0x50
sysfs_create_dir_ns+0x7e/0x90
kobject_add_internal+0x2f4/0x370
kobject_add+0x66/0xb0
device_add+0x106/0x670
__power_supply_register+0x134/0x280
sysfs_add_battery+0x6d/0x99
battery_notify+0x3b/0x5f
notifier_call_chain+0x47/0x70
__blocking_notifier_call_chain+0x3c/0x60
pm_notifier_call_chain+0x15/0x40
pm_suspend+0x231/0x2f0
from_kgid_munged+0x9/0x20
state_store+0x71/0xf0
kernfs_fop_write+0x124/0x180
vfs_write+0xad/0x1e0
SyS_write+0x3d/0xa0
system_call_fastpath+0x12/0x6a
---[ end trace 48e03e2b845e5f00 ]---


\
 
 \ /
  Last update: 2015-04-14 03:41    [W:0.055 / U:2.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site