Bug#910765: very slow boot with backport kernel (+workaround)

2018-10-11 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Wed, 2018-10-10 at 22:49 +0200, stefano gozzi wrote:
> Debian stable (updated) with kernel 4.18.0-0.bpo.1-amd64 #1 SMP Debian
> 4.18.6-1~bpo9+1 (2018-09-13) x86_64 GNU/Linux
> 
> updating from standard kernel to backports, the boot is very slow (gdm
> login appears after ~3 minutes)

Hi,

can you confirm that reverting to 4.17 fixes the issue? It looks similar to
#910631 (except with LightDM, and I'm waiting confirmation on the kernel
involvement on that one).

LightDM seems to use /dev/urandom which shouldn't block at all, I wonder if
there's something else involved calling getrandom() without O_NONBLOCK, or if
there's indeed a regression in 4.18 rng.

Regards,
- -- 
Yves-Alexis
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlu/A+IACgkQ3rYcyPpX
RFviZAgAtbkjzapCuWOTvO6rJ5WseDMr5Z88dblxnGyqY7wdh+H2BrwYRyxiZZXw
vyHhXJDInh+Zfii+cQiZ9derVZwLFkuNULagUNbJDbAWceMYqw1fgctIurRvCWJ0
XBBsj/KMuzSMu6d5bw7X3P4t9nnPAxoBnlipV3eKdoau8rTqDygeViHBrZtAlMa1
DvNv2UZ2wicd3H0jnDbm0gAlrh89ZdD9nQ4nASr5kfg29z8F0t7/wFrWefdnbU8j
DfkcxmB4Ok4C9Sx/etooxVcJAFvPQe6LaN1Ytu+Yr9vd3NcWKBteblXH30Boqmn4
QOa3f20tdOViYCAdu2vJZD7+TYF/bQ==
=nbiP
-END PGP SIGNATURE-



Bug#910765: very slow boot with backport kernel (+workaround)

2018-10-10 Thread stefano gozzi
Package: linux-image-4.18.0-0.bpo.1-amd64


Debian stable (updated) with kernel 4.18.0-0.bpo.1-amd64 #1 SMP Debian
4.18.6-1~bpo9+1 (2018-09-13) x86_64 GNU/Linux

updating from standard kernel to backports, the boot is very slow (gdm
login appears after ~3 minutes)

boot process is stuck before "crng init done" as you can see by messages:
Oct 10 18:06:24 gozzi-MBP NetworkManager[598]:   [1539187584.4027]
dhcp6 (wlp4s0b1): state changed bound -> done
Oct 10 18:09:15 gozzi-MBP kernel: [  194.178094] random: crn

Workaround that solves the problem: install the package haveged


workaround tried but not working
install backport headers
install rng-tools

hardware informations
Manufacturer: Apple Inc.
Product Name: Mac-C3EC7CD22292981F
Version: MacBookPro10,1

thanks for the effort
stefano