dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 113861] New: [radeon] Xorg fatal freeze upon startx
@ 2016-03-07  6:53 bugzilla-daemon
  2016-03-07  6:58 ` [Bug 113861] " bugzilla-daemon
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07  6:53 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 113861
           Summary: [radeon] Xorg fatal freeze upon startx
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.4.4, 4.1.18 LTS
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: 3db5to+dsqmzpq58ju3k@sharklasers.com
        Regression: No

Source of bug report:
https://bugs.archlinux.org/task/48468
https://bbs.archlinux.org/viewtopic.php?id=209576

When startx is used to start Xorg on an Arch system booted to command line with
radeon module, Xorg process is fully frozen and cannot be killed or terminated,
with message:
"waiting for X server to begin accepting connections...
...
..."
etc.
(CTRL-C 500 times to stop the polling, Xorg wrapper is unresponsive to kill -9)

This is happening on both 4.1.18 LTS and 4.4.4 (latter is vanilla + grsec). It
is not happening on 4.4.3 from distribution (but pure vanilla not tried).

Does not occur if radeon is blacklisted and VESA used instead.

Two reports so far. 
Mine is switchable :
[AMD/ATI] RS880M [Mobility Radeon HD 4225/4250]
[AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]
Forum user:
[AMD/ATI] Mars [Radeon HD 8730M]
... (see link)

Forum user recorded a stack trace (from his link
https://gist.github.com/Bernolt/ae162d69444f9937610d):

[<ffffffff813f2151>] rpm_resume+0x171/0x660
[<ffffffff813f267f>] __pm_runtime_resume+0x3f/0x60
[<ffffffffa06b05c4>] radeon_dp_detect+0x64/0x2e0 [radeon]
[<ffffffffa040c20a>] drm_helper_hpd_irq_event+0xaa/0x140 [drm_kms_helper]
[<ffffffffa0688bec>] radeon_resume_kms+0x22c/0x420 [radeon]
[<ffffffffa0686143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[<ffffffff8130517f>] pci_pm_runtime_resume+0x7f/0xc0
[<ffffffff813df139>] vga_switcheroo_runtime_resume+0x39/0x40
[<ffffffff813f10a4>] __rpm_callback+0x34/0x90
[<ffffffff813f1128>] rpm_callback+0x28/0x90
[<ffffffff813f2439>] rpm_resume+0x459/0x660
[<ffffffff813f267f>] __pm_runtime_resume+0x3f/0x60
[<ffffffffa068b016>] radeon_driver_open_kms+0x36/0x1d0 [radeon]
[<ffffffffa035b7ef>] drm_open+0x1af/0x4c0 [drm]
[<ffffffffa0362689>] drm_stub_open+0xa9/0x120 [drm]
[<ffffffff811dc0e6>] chrdev_open+0xb6/0x1b0
[<ffffffff811d50a7>] do_dentry_open+0x227/0x330
[<ffffffff811d62e6>] vfs_open+0x56/0x60
[<ffffffff811e5bf4>] do_last.isra.11+0x344/0xf50
[<ffffffff811e6891>] path_openat+0x91/0x670
[<ffffffff811e82f9>] do_filp_open+0x49/0xd0
[<ffffffff811d66ed>] do_sys_open+0x14d/0x250
[<ffffffff811d680e>] SyS_open+0x1e/0x20
[<ffffffff8158256e>] system_call_fastpath+0x12/0x71
[<ffffffffffffffff>] 0xffffffffffffffff

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
@ 2016-03-07  6:58 ` bugzilla-daemon
  2016-03-07  7:16 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07  6:58 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from 3db5to+dsqmzpq58ju3k@sharklasers.com ---
Note there are NO Xorg.0.log produced, full freeze.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
  2016-03-07  6:58 ` [Bug 113861] " bugzilla-daemon
@ 2016-03-07  7:16 ` bugzilla-daemon
  2016-03-07 16:30 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07  7:16 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from centuryplague@yandex.com ---
"It is not happening on 4.4.3 from distribution (but pure vanilla not tried)."
(but note 4.4.2 was tried which was vanilla + grsec, and had no problems... so
likely a change in 4.4.4 exactly triggers this bug)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
  2016-03-07  6:58 ` [Bug 113861] " bugzilla-daemon
  2016-03-07  7:16 ` bugzilla-daemon
@ 2016-03-07 16:30 ` bugzilla-daemon
  2016-03-07 17:13 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07 16:30 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Please attach your dmesg output and xorg log.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-03-07 16:30 ` bugzilla-daemon
@ 2016-03-07 17:13 ` bugzilla-daemon
  2016-03-07 17:16 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07 17:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from centuryplague@yandex.com ---
Created attachment 207961
  --> https://bugzilla.kernel.org/attachment.cgi?id=207961&action=edit
dmesg for radeon xorg lockup upon startx

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-03-07 17:13 ` bugzilla-daemon
@ 2016-03-07 17:16 ` bugzilla-daemon
  2016-03-08  3:56 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-07 17:16 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from centuryplague@yandex.com ---
I've attached my dmesg run under 4.1.18 LTS. This was a boot under a regular
user (user doesn't matter, happens with root), and first command was "startx",
which polls eternally, the CTRL+C 500 times, then saved dmesg output.

There is no xorg log produced in any location.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-03-07 17:16 ` bugzilla-daemon
@ 2016-03-08  3:56 ` bugzilla-daemon
  2016-03-08  5:45 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08  3:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
Does radeon.runpm=0 on the kernel command line avoid the problem?

Can you bisect?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-03-08  3:56 ` bugzilla-daemon
@ 2016-03-08  5:45 ` bugzilla-daemon
  2016-03-08  6:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08  5:45 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Alex Deucher <alexdeucher@gmail.com> ---
Probably the same issue as reported here:
https://lists.freedesktop.org/archives/dri-devel/2016-March/102379.html
Does reverting dbb17a21c131eca94eb31136eee9a7fe5aff00d9 fix it?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-03-08  5:45 ` bugzilla-daemon
@ 2016-03-08  6:21 ` bugzilla-daemon
  2016-03-08 19:03 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08  6:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from centuryplague@yandex.com ---
(In reply to Michel Dänzer from comment #6)
> Does radeon.runpm=0 on the kernel command line avoid the problem?

Yes, I tried moments ago and radeon.runpm=0 allows x to start! Had no tried
that.

(In reply to Alex Deucher from comment #7)
> Probably the same issue as reported here:
> https://lists.freedesktop.org/archives/dri-devel/2016-March/102379.html
> Does reverting dbb17a21c131eca94eb31136eee9a7fe5aff00d9 fix it?

That sounds exactly the same. I can't compile tonight and may not get it to
work for a couple days (non standard setup). I'll mention to the other guy.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-03-08  6:21 ` bugzilla-daemon
@ 2016-03-08 19:03 ` bugzilla-daemon
  2016-03-08 19:04 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08 19:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from centuryplague@yandex.com ---
(In reply to Alex Deucher from comment #7)
> Probably the same issue as reported here:
> https://lists.freedesktop.org/archives/dri-devel/2016-March/102379.html
> Does reverting dbb17a21c131eca94eb31136eee9a7fe5aff00d9 fix it?

Went a bit out my way to test this faster. I can now confirm reverting this
commit on a 4.4.4-based kernel (arch linux-grsec 4.4.4.201603032158-1-grsec)
allows startx to start again on my (non-standard) system. I don't know about
the other guy.

Thanks I will report on the arch bug. Will this be in 4.4.5?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-03-08 19:03 ` bugzilla-daemon
@ 2016-03-08 19:04 ` bugzilla-daemon
  2016-03-08 19:08 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08 19:04 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from centuryplague@yandex.com ---
The exact commit that was reverted is:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dbb17a21c131eca94eb31136eee9a7fe5aff00d9

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-03-08 19:04 ` bugzilla-daemon
@ 2016-03-08 19:08 ` bugzilla-daemon
  2016-03-13 17:34 ` bugzilla-daemon
  2016-03-20 18:44 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-08 19:08 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Alex Deucher <alexdeucher@gmail.com> ---
Already reverted upstream:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=256faedcfd646161477d47a1a78c32a562d2e845

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (10 preceding siblings ...)
  2016-03-08 19:08 ` bugzilla-daemon
@ 2016-03-13 17:34 ` bugzilla-daemon
  2016-03-20 18:44 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-13 17:34 UTC (permalink / raw)
  To: dri-devel

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

martin.hamrle@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.hamrle@gmail.com

--- Comment #12 from martin.hamrle@gmail.com ---
I had the same issue and latest torvalds master (that contains reverted patch)
fixed my problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug 113861] [radeon] Xorg fatal freeze upon startx
  2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
                   ` (11 preceding siblings ...)
  2016-03-13 17:34 ` bugzilla-daemon
@ 2016-03-20 18:44 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-03-20 18:44 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #13 from centuryplague@yandex.com ---
This is now fixed in 4.4.6 (though not 4.1.20 yet), thank you.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-03-20 18:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07  6:53 [Bug 113861] New: [radeon] Xorg fatal freeze upon startx bugzilla-daemon
2016-03-07  6:58 ` [Bug 113861] " bugzilla-daemon
2016-03-07  7:16 ` bugzilla-daemon
2016-03-07 16:30 ` bugzilla-daemon
2016-03-07 17:13 ` bugzilla-daemon
2016-03-07 17:16 ` bugzilla-daemon
2016-03-08  3:56 ` bugzilla-daemon
2016-03-08  5:45 ` bugzilla-daemon
2016-03-08  6:21 ` bugzilla-daemon
2016-03-08 19:03 ` bugzilla-daemon
2016-03-08 19:04 ` bugzilla-daemon
2016-03-08 19:08 ` bugzilla-daemon
2016-03-13 17:34 ` bugzilla-daemon
2016-03-20 18:44 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).