Received: by 10.192.165.148 with SMTP id m20csp3064672imm; Sun, 29 Apr 2018 13:10:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrftqpBeI6zF5YCafxKwZ+8FHFwya3Fejldsp3rISUsrKhl3xRzLjgR6btaD6/zm+Whii+x X-Received: by 2002:a17:902:aa94:: with SMTP id d20-v6mr10319686plr.323.1525032618081; Sun, 29 Apr 2018 13:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525032618; cv=none; d=google.com; s=arc-20160816; b=aWyq7AgCPSepnGvj8p7tvSoY9QIfLx2VJn8aQOAbXF4SoibB32UDXLUOY2/EJzjuag 9dMX3hxqb3z/nba8n9teY+9Jc4CVf0FNxAphMzdAQmgf7PZFMvQ7UlxkS98AgZnf2bO+ cYJxRMTrtMSP1GMYxS+5xPCXnJvmSMBhjMC2NgPal1OfUjGGkSt/HGlrnHl6vDCtBrQO GHsHAZiPRPL8QVHnBGZoc4P9xERYVSm//qll+ih8tSli4wgRpY+DjuxDizBLpav/ooAe if/dg2KVZCU5rXRon66PP3xQBMccov+u8TTHUZTRHYGKqcJFS2ZimGGF5jBYep02loZj RQMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=bBrB131Kkoj2TpGkxZz+VwAp+LQ+1nDgG+nr3eAOxYg=; b=XEuQj6J/WA0gsIUzRZFXkksBvIjr3jeje6fvpY1rDXFjosYYK4p0ALcZynpN5elp7x 6C5WzHlMxscTR5v5Ao+i+7JhumvWOlb3y8GCgGfaReXoFL/74CubZwLwYwdUeKrCkfsp qmGHxFbiGMNDvWkhgYGXXL0ksaE4GyhgJyIO975Z+E4E5MKjVBoapCPzrcNxeU1m5TJE C0eFsfmUaQkRDG2tDTfZKfWjY0K/CdJTrQO9gkNigx8vSXMiOr36e4E9UEflTROmLuN9 nyAu6CMslTXHxPfoiVHZfMSbzn8JB7sFq8xcUYseEkhkZQAhMe/YzWMK1ycdsobMGuIs 2u1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=QSW91XdI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si2432451plo.62.2018.04.29.13.10.04; Sun, 29 Apr 2018 13:10:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=QSW91XdI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754228AbeD2UIt (ORCPT + 99 others); Sun, 29 Apr 2018 16:08:49 -0400 Received: from imap.thunk.org ([74.207.234.97]:43234 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753985AbeD2UIs (ORCPT ); Sun, 29 Apr 2018 16:08:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bBrB131Kkoj2TpGkxZz+VwAp+LQ+1nDgG+nr3eAOxYg=; b=QSW91XdIfIkac4RP+OIunmg07e ueCQwNskrkJrn1XlTI/f+4/QDR04utyLj0FjPkJgPr0WHsLFju5AgPxOuo2CUmYFvfb1f9WihOBs4 lwf7SfqZMwYG0216yw5A4uEjnAiJ9kBTyN9PtKA4O1qG9ecZxi2M0X2XrOw4Ga3i+0bI=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1fCscp-0004Fn-M2; Sun, 29 Apr 2018 20:08:47 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id E06B67A0158; Sun, 29 Apr 2018 16:08:46 -0400 (EDT) Date: Sun, 29 Apr 2018 16:08:46 -0400 From: "Theodore Y. Ts'o" To: Sultan Alsawaf Cc: linux-kernel@vger.kernel.org, Jann Horn Subject: Re: Linux messages full of `random: get_random_u32 called from` Message-ID: <20180429200846.GP5965@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Sultan Alsawaf , linux-kernel@vger.kernel.org, Jann Horn References: <20180426050056.GF18803@thunk.org> <20180426073255.GH18803@thunk.org> <20180426192524.GD5965@thunk.org> <2add15cb-2113-0504-a732-81255ea61bf5@gmail.com> <20180426235630.GG5965@thunk.org> <3eb5761e-7b25-4178-0560-fba5eb43ce6a@gmail.com> <20180427201036.GL5965@thunk.org> <20180429183057.kk666r4z5biamzvs@sultan-box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180429183057.kk666r4z5biamzvs@sultan-box> User-Agent: Mutt/1.9.5 (2018-04-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 29, 2018 at 11:30:57AM -0700, Sultan Alsawaf wrote: > > Mind you, this laptop has a 45W CPU, so power savings were definitely not > considered in its design. Do you have any machines that can provide enough > boot entropy to satisfy crng init without requiring user-provided entropy? My 2018 Dell XPS 13 laptop, running "egrep '(random|EXT4)' /var/log/kern.log": Apr 24 17:05:01 cwcc kernel: [ 0.000000] random: get_random_bytes called from start_kernel+0x83/0x500 with crng_init=0 Apr 24 17:05:01 cwcc kernel: [ 1.363383] random: fast init done Apr 24 17:05:01 cwcc kernel: [ 3.567432] random: lvm: uninitialized urandom read (4 bytes read) Apr 24 17:05:01 cwcc kernel: [ 3.593132] random: lvm: uninitialized urandom read (4 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.584838] random: cryptsetup: uninitialized urandom read (2 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.600685] random: cryptsetup: uninitialized urandom read (2 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.803194] random: cryptsetup: uninitialized urandom read (2 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.831050] random: lvm: uninitialized urandom read (4 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.851884] random: lvm: uninitialized urandom read (4 bytes read) Apr 24 17:05:01 cwcc kernel: [ 7.875382] random: lvm: uninitialized urandom read (2 bytes read) Apr 24 17:05:01 cwcc kernel: [ 8.162552] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null) Apr 24 17:05:01 cwcc kernel: [ 8.646497] random: crng init done - Ted