* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
@ 2015-10-18 15:18 ` bugzilla-daemon
2015-10-18 15:18 ` bugzilla-daemon
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-18 15:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 304 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #1 from Thomas DEBESSE <dev@illwieckz.net> ---
Created attachment 118963
--> https://bugs.freedesktop.org/attachment.cgi?id=118963&action=edit
complete dmesg log
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1210 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
2015-10-18 15:18 ` bugzilla-daemon
@ 2015-10-18 15:18 ` bugzilla-daemon
2015-10-19 13:34 ` bugzilla-daemon
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-18 15:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #2 from Thomas DEBESSE <dev@illwieckz.net> ---
Created attachment 118964
--> https://bugs.freedesktop.org/attachment.cgi?id=118964&action=edit
verbose lspci output for the GPU
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1252 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
2015-10-18 15:18 ` bugzilla-daemon
2015-10-18 15:18 ` bugzilla-daemon
@ 2015-10-19 13:34 ` bugzilla-daemon
2015-10-19 15:35 ` bugzilla-daemon
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-19 13:34 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 118978
--> https://bugs.freedesktop.org/attachment.cgi?id=118978&action=edit
possible fix
The attached patch should fix it. pwm control is only available with dpm, and
you've disabled dpm via the kernel command line.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1410 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
` (2 preceding siblings ...)
2015-10-19 13:34 ` bugzilla-daemon
@ 2015-10-19 15:35 ` bugzilla-daemon
2015-10-19 15:37 ` bugzilla-daemon
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-19 15:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 748 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #4 from Thomas DEBESSE <dev@illwieckz.net> ---
> The attached patch should fix it. pwm control is only available with dpm,
and you've disabled dpm via the kernel command line.
Oh yes, the last grub update (fortuitously made the morning before I change
my GPU for the one described above) introduced a "radeon.dpm=0" default
kernel command line option, probably to workaround that other bug
https://bugzilla.kernel.org/show_bug.cgi?id=103271
Thank you for your fast answer, I will try both (the patch and the kernel
command line option).
On which source tree this patch must be applied?
--
Thomas DEBESSE
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1631 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
` (3 preceding siblings ...)
2015-10-19 15:35 ` bugzilla-daemon
@ 2015-10-19 15:37 ` bugzilla-daemon
2015-10-19 19:32 ` bugzilla-daemon
2015-10-21 1:21 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-19 15:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 361 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas DEBESSE from comment #4)
>
> On which source tree this patch must be applied?
It was against my drm-next tree, but should apply to any recent kernel.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1213 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
` (4 preceding siblings ...)
2015-10-19 15:37 ` bugzilla-daemon
@ 2015-10-19 19:32 ` bugzilla-daemon
2015-10-21 1:21 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-19 19:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1356 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
--- Comment #6 from Thomas DEBESSE <dev@illwieckz.net> ---
So, some news!
I've just tested with radeon.dpm=1, but less than 10 minute after the boot the
graphic display completely hangs with graphic glitches (the system was
available from ssh for example, but was not able to reboot), the command "cat
/sys/class/hwmon/hwmon0/pwm1_enable" works (I did it *after* the graphical
hang, so the graphical hang was not a consequence of this command). So, the
glitch is another bug, but I now verified that "cat
/sys/class/hwmon/hwmon0/pwm1_enable" is not a crash cause when radeon.dpm=1.
Also, I tried to load amdgpu instead of radeon module, blacklinsting radeon,
then I verified that with amdgpu.dpm=0 there is no
"/sys/class/hwmon/hwmon0/pwm1_enable" file and with amdgpu.dpm=1, there is a
"/sys/class/hwmon/hwmon0/pwm1_enable" file and I can "cat" it. So, the bug was
not reproduced in amdgpu module, which is a good news.
I've not yet tried to recompile the kernel to test your patch.
I'm now running Ubuntu 15.10, of course it changes nothing about this bug, but
they ship by default a 4.2 kernel so I can use my distro tools to recompile the
kernel and do it cleanly, applying the patch on the official Ubuntu kernel
tree.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2183 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable"
2015-10-18 15:14 [Bug 92524] system hang on "radeon_hwmon_get_pwm1_enable" bugzilla-daemon
` (5 preceding siblings ...)
2015-10-19 19:32 ` bugzilla-daemon
@ 2015-10-21 1:21 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-21 1:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 909 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92524
Thomas DEBESSE <dev@illwieckz.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Thomas DEBESSE <dev@illwieckz.net> ---
Hi, I just recompiled my kernel applying your patch and it works, you fixed
that issue!
I cannot anymore "cat /sys/class/hwmon/hwmon0/pwm1_enable" with radeon.dpm=0 so
my system does not hang when I run pwmconfig. :-)
Thanks a lot for your fast response and your efficient help.
About the other bug, the unexpected hang when using radeon.dpm=1 , I added some
comments on bug #68059 .
I close the current bug as RESOLVED/FIXED.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2555 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread