Received: by 10.192.165.148 with SMTP id m20csp2573481imm; Thu, 26 Apr 2018 13:23:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+7GeJUBQEu0Quqp9YkeBFpvfZ5PykmCU4vBlK0JPptuAwiNb2dA3uCBYzXNWNJ53tevzVP X-Received: by 2002:a17:902:57c7:: with SMTP id g7-v6mr35095170plj.222.1524774218983; Thu, 26 Apr 2018 13:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524774218; cv=none; d=google.com; s=arc-20160816; b=UKN/eMcuO64qZRv3tEWEAQWkqBD7U5pSR0SzqpJAP+rg1Fy0rkIQmQHZdKJRV86iqo gUpCKr98m79sUMn3T+l7nzYi77EKnfzCKwFfn1WoqC/9I1eteXCdy0xePoK8tcfdnD7t gTZhlWZsV7S6Y+JwYD13zEUuzMrH9oZUOLq4OXWAMYrri04xeMhaYL6foKAmQHfw1IxC 0DdMC7fmxhRiDkQ2+G5ckVEA4qItEa+si6A+nO2SJYDhDKEc8qDbIibq17/VZ7xrA8pA dcY2FbYHdGqBy69Na3evmu0kU83fk6gkUmsWVr+J+KyUazIft9N2YfG6IUDXKHGek2E/ hG3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=AfP/Gvj5WOtNols5wP5878izSnt/ybW5aGhyHHXrCa0=; b=XjLLHPUkx7nxx3jwZecZSSDDPmNp+8Jq16trgmNfbXZjhOBKXvJo0KbN0vFGwlY9BY ZR6/wgwlaitOfYNfKQdlCftX7vCPH/Jlepj/SvuaSNYcc3/9pjIpXcETFCYtoMhFnMwF JHCRhdNYV49/6yUOnR9Hjbz3iDkuyAH8+V8bmIfU4i71VZcIngw2yIBvplaYlAzW7qig 4afnR5MUgSBf5npABqhro69N+VcCLz6V/Z7VBjhQHqgA2hGS5hTKciJ1AYsmx3t9TQjf qhbFTKZ5BDUuZn8v/RrzOkSh5Q+3hIYPS4sD+b9aJ3uVngeexbqs8ZVgxdL93HB3yC8q 7VpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7g8/n1X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7-v6si19739160plk.397.2018.04.26.13.23.24; Thu, 26 Apr 2018 13:23:38 -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=pass header.i=@gmail.com header.s=20161025 header.b=a7g8/n1X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755830AbeDZUWH (ORCPT + 99 others); Thu, 26 Apr 2018 16:22:07 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33762 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754558AbeDZUWG (ORCPT ); Thu, 26 Apr 2018 16:22:06 -0400 Received: by mail-pf0-f171.google.com with SMTP id f15so19258565pfn.0 for ; Thu, 26 Apr 2018 13:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=AfP/Gvj5WOtNols5wP5878izSnt/ybW5aGhyHHXrCa0=; b=a7g8/n1X3PpM/Z59w7qrU1eOFpIQknMJmAWuFMGiiFBjtbtHc/+5Z+8NqT8HSJpZ+S a2Q11G0y4lG9+YHRQe1li4OxffuSbrU1aqFjaqwB3uTsRv3dICdT6ZGO4RGxLsDGEl4o jaS2FaIG792wyCqLOmDL/M3XbeLlcZQDav6ayGEnd6pGn0VT86CPZLEFg5FcsDTlEq3+ /HCaGliAfLIw6Q4gW5WBLgF2jz4UDR5YCLaK9GIoP0Sj75cXabmd6uhHUuUNR68loAGY DHBgK5RSHh3avmJTBbCi1lilclAxT9JU7xcIkTwx9NnCW0gEF1Z8XLDH8dSFU2LbL/CR GZAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=AfP/Gvj5WOtNols5wP5878izSnt/ybW5aGhyHHXrCa0=; b=JmvtvyE1xA08EUbCOU+NfRcgr4XQrRG0wp9wCJkfFcmcvjlodp3B3PRBHhefP3nK4/ xyV0FWyomyvpWH7VjVIQ8ev7cYv6vDfmH+zQ1ToljadPfxi09J1X1aSD8heqoR4FKYFa XPdd+ly8d8KLoTyrZTsCTU92w4oYy40R5Z10TBsYtFHl812KJ2Nvs428svwlOc7GThN2 PMSAbyRsIpjh1V3Lq3Nahw7KfXWry3ENZRUBysJAbKGzbkzydnoFLn4q5A9dlIxrj2bZ dwkwlQqUoy1Nauk904AywteTilHVkLy0tJqhjYYV9Gkkzlxv5F4izkl7H96y1UwjcxqE waDg== X-Gm-Message-State: ALQs6tBnadmNsUPWMmT0v/Ro3E18EwBHnUBYQrPswEzlo+8rjtkEu6p1 NVjDgiD04MbOhRuAec/tdLo= X-Received: by 10.99.100.69 with SMTP id y66mr28596912pgb.206.1524774125493; Thu, 26 Apr 2018 13:22:05 -0700 (PDT) Received: from [10.51.1.195] ([192.234.214.110]) by smtp.gmail.com with ESMTPSA id b3sm34328344pfi.54.2018.04.26.13.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 13:22:04 -0700 (PDT) Subject: Re: Linux messages full of `random: get_random_u32 called from` To: "Theodore Y. Ts'o" , linux-kernel@vger.kernel.org, Jann Horn References: <20180426050056.GF18803@thunk.org> <20180426073255.GH18803@thunk.org> <20180426192524.GD5965@thunk.org> From: Sultan Alsawaf Message-ID: <2add15cb-2113-0504-a732-81255ea61bf5@gmail.com> Date: Thu, 26 Apr 2018 13:22:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180426192524.GD5965@thunk.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hmm, it looks like the multiuser startup is getting blocked on snapd: > > 29.060s snapd.service > > graphical.target @1min 32.145s > └─multi-user.target @1min 32.145s > └─hddtemp.service @6.512s +28ms > └─network-online.target @6.508s > └─NetworkManager-wait-online.service @2.428s +4.079s > └─NetworkManager.service @2.016s +404ms > └─dbus.service @1.869s > └─basic.target @1.824s > └─sockets.target @1.824s > └─snapd.socket @1.821s +1ms > └─sysinit.target @1.812s > └─apparmor.service @587ms +1.224s > └─local-fs.target @585ms > └─local-fs-pre.target @585ms > └─keyboard-setup.service @235ms +346ms > └─systemd-journald.socket @226ms > └─system.slice @225ms > └─-.slice @220ms > > This appears to be some kind of new package management system for > Ubuntu: > > Description-en: Tool to interact with Ubuntu Core Snappy. > Install, configure, refresh and remove snap packages. Snaps are > 'universal' packages that work across many different Linux systems, > enabling secure distribution of the latest apps and utilities for > cloud, servers, desktops and the internet of things. > > Why it the Ubuntu package believes it needs to be fully started before > the login screen can display is unclear to me. It might be worth > using systemctl to disable snapd.serivce and see if that makes things > work better for you. > > - Ted I removed snapd completely which did nothing. Here are new logs: systemd-analyze blame: https://hastebin.com/edehikuyeb.css systemd-analyze critical-chain: https://hastebin.com/vedufafema.pl dmesg: https://hastebin.com/zuwuwoxadu.vbs I should also note that leaving the system untouched does not result in it booting: I must provide a source of entropy, otherwise it just stays stuck. In both of the dmesgs I've given, I manually provided entropy to the system after about 5 minutes of waiting. Also, regardless of what's hanging on CRNG init, CRNG should be able to init on its own in a timely manner without the need for user-provided entropy. Userspace was working fine before the recent CRNG kernel changes, so I don't think this is a userspace bug. -Sultan