Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62347 > unrolled thread

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

Started bystefano gozzi <stefanogozzi@gmail.com>
First post2018-10-10 23:00 +0200
Last post2018-10-11 10:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#910765: very slow boot with backport kernel (+workaround) stefano gozzi <stefanogozzi@gmail.com> - 2018-10-10 23:00 +0200
    Bug#910765: very slow boot with backport kernel (+workaround) Yves-Alexis Perez <corsac@debian.org> - 2018-10-11 10:10 +0200

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

Fromstefano gozzi <stefanogozzi@gmail.com>
Date2018-10-10 23:00 +0200
SubjectBug#910765: very slow boot with backport kernel (+workaround)
Message-ID<wHtKi-4jv-19@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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]: <info>  [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

[toc] | [next] | [standalone]


#62348

FromYves-Alexis Perez <corsac@debian.org>
Date2018-10-11 10:10 +0200
Message-ID<wHEcG-2ge-7@gated-at.bofh.it>
In reply to#62347
-----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-----

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web