Skip to contentSkip to conversation

WARNING: CPU: 0 PID: 686 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x80() + drm:radeon_pm_late_init [radeon]] *ERROR*

Bug 106851 [email protected] 1 participant 10 messages Oct 30, 2015 – Nov 11, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=106851

Aaron Lu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|Other                       |Video(DRI - non Intel)
           Assignee|[email protected]           |drivers_video-dri@kernel-bu
                   |                            |gs.osdl.org
            Product|Power Management            |Drivers

--- Comment #1 from Aaron Lu <[email protected]> --- Looks like a radeon issue, move there.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

Holger Hoffstätte <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |holger.hoffstaette@googlema
                   |                            |il.com

--- Comment #2 from Holger Hoffstätte <[email protected]> --- 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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

--- Comment #3 from Holger Hoffstätte <[email protected]> --- (In reply to Holger Hoffstätte from comment #2)

Quoted 1 line

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).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

--- Comment #4 from Holger Hoffstätte <[email protected]> --- Created attachment 191741
--> https://bugzilla.kernel.org/attachment.cgi?id=191741&action=edit
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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

lbl <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|4.1.12-LTS                  |4.1.12, 4.2.5
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

Hin-Tak Leung <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Hin-Tak Leung <[email protected]> --- me too with 4.2.5 .

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

lbl <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |PATCH_ALREADY_AVAILABLE

--- Comment #8 from lbl <[email protected]> ---
Fixed in kernel 4.1.13. Thanks

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=106851

--- Comment #9 from Holger Hoffstätte <[email protected]> --- (In reply to Holger Hoffstätte from comment #4)

Quoted 6 lines

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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel