[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: delay before desktop loads





On 07/29/2018 06:58 PM, Ben Caradoc-Davies wrote:
On 30/07/18 07:07, Frank McCormick wrote:
I've been experiencing a long delay - upwards of 2 minutes before
the desktop on my Debian Sid loads and displays.
This happens no matter what desktop I try, Cinnamon,Mate or Icewm.
[...]
I enter my
name and password into the lightdm logon window, the wait is upwards of 2 minutes before the desktop loads.
[...]
Jul 29 12:06:49 franklin kernel: random: crng init done
[...]
Strangely if I click the mouse on the blank desktop several times, then it will start loading, but
if I don't touch it, the 2 minute delay starts
This started a couple of weeks ago, before that all desktops loaded quickly.
How can I debug this ?

Frank, this sounds very much like a hang on an uninitialised kernel crng. Does this only happen after a fresh boot, but the hang stops if you wiggle the mouse?

   Yup!!



If so, you might be impacted by the change to make
the blocking getrandom kernel syscall really block until sufficient entropy is available. Here are some reports I made of other applications that were affected by this change, with detailed analysis and fixes:
//snip//

  I'm afraid patching the kernel is a little bit beyond my abilities :)


When I had identified the application, I used ltrace to identify the library causing the problem.

What is your kernel version?


  4.17.0-1-amd64
  Previous kernel, 4.16.0-2-amd64 boots fine and does not have the problem.

Kind regards,


Frank


Reply to: