All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
@ 2018-05-06 10:37 bugzilla-daemon
  2018-05-07 10:12 ` [Bug 199633] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-06 10:37 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 199633
           Summary: Stable kernel regression after 4.16.3: startxfce4 no
                    longer works: X startup seems to hang
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.16.4
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: klaus.kusche@computerix.info
        Regression: No

On my system, X is not started during boot:
My system boots with DRM framebuffer text consoles only.
After login, a "exec startxfce4" in .bash_profile brings up X and the desktop
for GUI users (not for root etc.) on the login vt (not an unused vt).

This worked fine up to and including 4.16.3
and fails with any later 4.16 kernel:
After login, the screen becomes and stays completely black:
No text, no desktop or background, not even a mouse cursor.

After switching to another virtual terminal, typing something,
and switching back, the X and desktop startup complete normally:
Up to now, I was unable to find any error message or other trace
of the problem afterwards, everything works fine.

Details:

* Just switching vt's forth and back does not suffice
(X still hangs after switching back).
I actually have to type something in the second vt,
but there is no need to login on the second vt to make things going.

* When logging in on the second vt and checking the process list,
the xorg server is up, as are the first few processes of the session startup
(but by far not all, not even a third of them).

* Bug component drivers/video was just a guess, could be anything from video/fb 
to mouse or evdev, could even be unrelated to drivers.
The only thing I know for sure is that it depends on the kernel
and only the kernel: The problem disappears when booting a 4.16.3 or earlier
and reappears when booting a later kernel, with everything else unchanged.

* It is not related to a specific DRM and X driver:
radeon kernel + modesetting X
radeon kernel + radeon X
amdgpu kernel + modesetting X
amdgpu kernel + amdgpu X
all show exactly the same problem.
(radeon + modesetting is my default, on AMD cape verde)

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
@ 2018-05-07 10:12 ` bugzilla-daemon
  2018-05-07 10:28 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-07 10:12 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Michel Dänzer (michel@daenzer.net) ---
Can you bisect between 4.16.3 and .4?

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
  2018-05-07 10:12 ` [Bug 199633] " bugzilla-daemon
@ 2018-05-07 10:28 ` bugzilla-daemon
  2018-05-09  5:01 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-07 10:28 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Klaus Kusche (klaus.kusche@computerix.info) ---
(In reply to Michel Dänzer from comment #1)
> Can you bisect between 4.16.3 and .4?

Never did that.
Is there any how-to for bisect?
But at least my system should boot with vanilla kernels.

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
  2018-05-07 10:12 ` [Bug 199633] " bugzilla-daemon
  2018-05-07 10:28 ` bugzilla-daemon
@ 2018-05-09  5:01 ` bugzilla-daemon
  2018-05-20 10:52 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-09  5:01 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher (alexdeucher@gmail.com) changed:

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

--- Comment #3 from Alex Deucher (alexdeucher@gmail.com) ---
google for "kernel git bisect howto"

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-09  5:01 ` bugzilla-daemon
@ 2018-05-20 10:52 ` bugzilla-daemon
  2018-05-20 23:52 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-20 10:52 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Klaus Kusche (klaus.kusche@computerix.info) ---
Found time to bisect, the result was a surprise:
The culprit is the random patchset by Theodore Tso:
[1/5] random: fix crng_ready() test
[2/5] random: use a different mixing algorithm for add_device_randomness()
[3/5] random: set up the NUMA crng instances after the CRNG is fully
initialized
[4/5] random: crng_reseed() should lock the crng instance that it is modifying
[5/5] random: add new ioctl RNDRESEEDCRNG

Don't know exactly which one of those five, because the results 
with only part of the patchset applied are inconsistent.

To double-check the result, I installed a 4.16.9.
X session startup failed as described above.
Then I replaced drivers/char/random.c in 4.16.9 with the 4.16.3 version
and this fixed X startup.

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-20 10:52 ` bugzilla-daemon
@ 2018-05-20 23:52 ` bugzilla-daemon
  2018-05-20 23:55 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-20 23:52 UTC (permalink / raw)
  To: dri-devel

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

Ant (untaintableangel@hotmail.co.uk) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |untaintableangel@hotmail.co
                   |                            |.uk

--- Comment #5 from Ant (untaintableangel@hotmail.co.uk) ---
I've recently had the same issue caused by that very patch you mentioned
(random: fix crng_ready() test) and had exactly the same problem.

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

I installed rng-tools and turned back on options in my custom kernel that lead
to more entropy generation (for example CONFIG_ATH9K_HWRNG) and can
successfully use kernels past 4.17-rc1 (just before the patch was applied)
again without any hang or lasting black screen.

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-05-20 23:52 ` bugzilla-daemon
@ 2018-05-20 23:55 ` bugzilla-daemon
  2018-05-21  8:44 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-20 23:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Ant (untaintableangel@hotmail.co.uk) ---
(Note that this patch was backported to 4.16 in 4.16.4, hence why 4.16.3
doesn't have the issue. But reverting the patch is ill-advised as it address an
important security vulnerability.)

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-05-20 23:55 ` bugzilla-daemon
@ 2018-05-21  8:44 ` bugzilla-daemon
  2018-05-22  8:26 ` bugzilla-daemon
  2018-05-22 11:09 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-21  8:44 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Klaus Kusche (klaus.kusche@computerix.info) ---
Installing rng-tools fixed the problem for me, too.

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-05-21  8:44 ` bugzilla-daemon
@ 2018-05-22  8:26 ` bugzilla-daemon
  2018-05-22 11:09 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-22  8:26 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Michel Dänzer (michel@daenzer.net) ---
Can you update the status of this report accordingly?

-- 
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] 10+ messages in thread

* [Bug 199633] Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang
  2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-05-22  8:26 ` bugzilla-daemon
@ 2018-05-22 11:09 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-22 11:09 UTC (permalink / raw)
  To: dri-devel

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

Klaus Kusche (klaus.kusche@computerix.info) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

-- 
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] 10+ messages in thread

end of thread, other threads:[~2018-05-22 11:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-06 10:37 [Bug 199633] New: Stable kernel regression after 4.16.3: startxfce4 no longer works: X startup seems to hang bugzilla-daemon
2018-05-07 10:12 ` [Bug 199633] " bugzilla-daemon
2018-05-07 10:28 ` bugzilla-daemon
2018-05-09  5:01 ` bugzilla-daemon
2018-05-20 10:52 ` bugzilla-daemon
2018-05-20 23:52 ` bugzilla-daemon
2018-05-20 23:55 ` bugzilla-daemon
2018-05-21  8:44 ` bugzilla-daemon
2018-05-22  8:26 ` bugzilla-daemon
2018-05-22 11:09 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.