Bug 106851
Summary: | WARNING: CPU: 0 PID: 686 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x80() + drm:radeon_pm_late_init [radeon]] *ERROR* | ||
---|---|---|---|
Product: | Drivers | Reporter: | lbl (lblmr) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | aaron.lu, holger.hoffstaette, htl10 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.1.12, 4.2.5 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | Unconditionally set sysfs_initialized |
Description
lbl
2015-10-29 06:45:54 UTC
Looks like a radeon issue, move there. This (and similar) messages were supposed to be fixed by commit: http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-fixes&id=49abb26651167c892393cd9f2ad23df429645ed9 (should be in the next -stable), but merging that into my 4.1.12+ kernel hasn't fixed anything. After reading the patch it seems that the sysfs_initialized flag is only ever set to true when the last sysfs entry was successfully created; in my case that particular setting (dev_attr_power_method) seems to fail, so the "all is done" flag is never set. For some reason I get the "power method" failure message 4 times on each resume. ISTM that setting the sysfs_initialized flag should be independent of previous failures; do it once and then stop. (In reply to Holger Hoffstätte from comment #2) > For some reason I get the "power method" failure message 4 times on each > resume. This was wrong, sorry. I get each sysfs failure once (4 in total). Created attachment 191741 [details]
Unconditionally set sysfs_initialized
This patch removes the conditional around setting sysfs_initialized and works for me - no more spew on resume. Also fixes a previously duplicate message text.
Update: it also happens on kernel 4.2.5 me too with 4.2.5 . It doesn't seem to happen with kernel 4.3 Fixed in kernel 4.1.13. Thanks (In reply to Holger Hoffstätte from comment #4) > Created attachment 191741 [details] > Unconditionally set sysfs_initialized > > This patch removes the conditional around setting sysfs_initialized and > works for me - no more spew on resume. Also fixes a previously duplicate > message text. So it turns out that *in my case* - even with the original patch - these messages apparently (?) were caused because my monitor was dying (it's completely dead now) and reacting too slowly, i.e. not waking up properly. I got a new one and now the original patch - which is in 4.1.13 - does indeed work fine: no more errors on resume. |