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


Groups > linux.debian.kernel > #60866

Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt
Date Sun, 06 May 2018 05:10:01 +0200
Message-ID <vMidH-5Ue-1@gated-at.bofh.it> (permalink)
References <vLbR0-2oY-1@gated-at.bofh.it> <vLelQ-4dA-7@gated-at.bofh.it> <vLf8d-4NL-7@gated-at.bofh.it> <vLwiK-81U-5@gated-at.bofh.it> <vLbR0-2oY-1@gated-at.bofh.it> <vLwLL-8u1-3@gated-at.bofh.it> <vMaJb-12C-13@gated-at.bofh.it> <vLbR0-2oY-1@gated-at.bofh.it> <vMfSx-49X-3@gated-at.bofh.it> <vLbR0-2oY-1@gated-at.bofh.it> <vMfSx-49X-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun May 6 03:03:10 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.95
Reply-To Ben Hutchings <ben@decadent.org.uk>, 897572@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 897572
X-Debian-Pr-Package linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 12; hammy, 150; neutral, 92; spammy, 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512, 0.000-+--H*F:D*decadent.org.uk, 0.000-+--H*RU:sk:shadbol, 0.000-+--H*r:sk:shadbol, 0.000-+--HX-SA-Exim-Scanned:sk:shadbol
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Qs4C4BVPRU7HSN/e8FQi"
X-Mailer Evolution 3.28.1-2
MIME-Version 1.0
X-Sa-Exim-Connect-IP 2a02:8011:400e:2:6f00:88c8:c921:d332
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1458898
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 06 May 2018 03:58:37 +0100
X-Original-Message-ID <a2745c2dff154f2e9d6a894cd8022a9a75df2000.camel@decadent.org.uk>
X-Original-References <152531303503.1654.3286767764771637968.reportbug@ripley> <handler.897572.B.15253130462054.ack@bugs.debian.org> <143d401e-09e6-965e-5bf9-8f11239a4d5d@transient.nz> <c96fede4-b10f-54cd-fa44-8456ac4f66a6@transient.nz> <152531303503.1654.3286767764771637968.reportbug@ripley> <df9b93a8-13b3-da64-b9da-eec7d4046c0d@transient.nz> <fe3f61f4883806b69c4c312f54adaa7891554ac5.camel@decadent.org.uk> <152531303503.1654.3286767764771637968.reportbug@ripley> <f3a0ce54-c4b3-bd89-9c35-7be781bee3bf@transient.nz> <152531303503.1654.3286767764771637968.reportbug@ripley> <f3a0ce54-c4b3-bd89-9c35-7be781bee3bf@transient.nz>
Xref csiph.com linux.debian.bugs.dist:896319 linux.debian.kernel:60866

Cross-posted to 2 groups.

Show key headers only | View raw


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

On Sun, 2018-05-06 at 12:33 +1200, Ben Caradoc-Davies wrote:
> On 06/05/18 07:01, Ben Hutchings wrote:
> > I wonder if this is related to the recent RNG changes.  It seems that
> > many programs have started using blocking RNG functions like
> > getentropy(), and now that the kernel is more conservative in its
> > initial entropy estimation they can block for a long time.  Keyboard or
> > mouse input adds entropy.
> > At a guess, plymouth is starting the X server and the X server wants
> > random bits for MIT-MAGIC-COOKIE authentication.
> 
> Ben, I think you might be right. Only a few mouse wiggles are sufficient 
> to trigger the appearance of the plymouth LUKS screen. I guess that 
> mouse activity is a richer source of entropy than key presses.
> 
> So, where to from here? Should this be reassigned to plymouth or xorg?

Now that I've looked, it appears that Xorg is actually still using
/dev/urandom (via arc4random_buf() in libbsd).  So far as I know, reads
from /dev/urandom have historically succeeded without blocking, even
when there is very little entropy available.  Since many daemons depend
on this I think it has to be maintained.

But so far as I can see from the kernel code, that hasn't changed -
only the newer getentropy() function is more likely to block.  So I'm
quite confused.

Ben.

-- 
Ben Hutchings
If more than one person is responsible for a bug, no one is at fault.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt (missing Kaby Lake firmware?) Ben Caradoc-Davies <ben@transient.nz> - 2018-05-03 04:10 +0200
  Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-03 06:50 +0200
  Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-03 07:30 +0200
  Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-03 07:40 +0200
    Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-04 01:40 +0200
    Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-04 02:00 +0200
  Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Hutchings <ben@decadent.org.uk> - 2018-05-05 21:10 +0200
    Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Caradoc-Davies <ben@transient.nz> - 2018-05-06 02:40 +0200
      Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Hutchings <ben@decadent.org.uk> - 2018-05-06 05:10 +0200
    Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Laurent Bigonville <bigon@debian.org> - 2018-05-06 17:30 +0200
      Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt Ben Hutchings <ben@decadent.org.uk> - 2018-05-06 19:50 +0200
  Bug#897572: plymouth: long delay before splashscreen with kernel 4.16 Ben Caradoc-Davies <ben@transient.nz> - 2018-05-06 03:10 +0200
    Bug#897572: plymouth: long delay before splashscreen with kernel 4.16 at46 <at46n@t-online.de> - 2018-05-06 08:50 +0200
      Bug#897572: plymouth: long delay before splashscreen with kernel 4.16 Ben Caradoc-Davies <ben@transient.nz> - 2018-05-07 02:50 +0200
  Bug#897572:  Eric Mill <eric@konklone.com> - 2018-05-06 19:30 +0200
  Bug#897572: [PATCH] Revert "random: fix crng_ready() test" Ben Caradoc-Davies <ben@transient.nz> - 2018-05-07 05:10 +0200
    Bug#897572: [PATCH] Revert "random: fix crng_ready() test" "Theodore Y. Ts'o" <tytso@mit.edu> - 2018-05-07 06:20 +0200
  Bug#897572: [PATCH] Revert "random: fix crng_ready() test" Ben Caradoc-Davies <ben@transient.nz> - 2018-05-07 05:50 +0200
    Bug#897572: [PATCH] Revert "random: fix crng_ready() test" "Theodore Y. Ts'o" <tytso@mit.edu> - 2018-05-07 06:20 +0200
  Bug#897572: urandom hang in early boot Laurent Bigonville <bigon@debian.org> - 2018-05-07 19:40 +0200
    Bug#897572: urandom hang in early boot Ben Caradoc-Davies <ben@transient.nz> - 2018-05-08 01:20 +0200
      Bug#897572: urandom hang in early boot Ben Hutchings <ben@decadent.org.uk> - 2018-05-08 04:10 +0200
        Bug#897572: urandom hang in early boot Ben Caradoc-Davies <ben@transient.nz> - 2018-05-08 06:00 +0200
          Bug#897572: urandom hang in early boot Ben Caradoc-Davies <ben@transient.nz> - 2018-05-08 07:00 +0200
  Bug#897572: urandom hang in early boot Bjørn Mork <bjorn@mork.no> - 2018-05-08 13:40 +0200
    Bug#897572: urandom hang in early boot Yves-Alexis Perez <corsac@debian.org> - 2018-05-09 18:40 +0200
  Bug#897572: getrandom hang in early boot prevents plymouth passphrase entry Esokrates <esokrarkose@gmail.com> - 2018-05-09 11:00 +0200
  Bug#897572: [PATCH] Copy fontconfig .uuid files to avoid getrandom hang in early boot Ben Caradoc-Davies <ben@transient.nz> - 2018-05-10 02:00 +0200

csiph-web