Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 05425782BC2 for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 07:27:57 +0000 (UTC) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x867MIOO057023 for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 03:27:54 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2uu37np20u-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <~alpine/users@lists.alpinelinux.org>; Fri, 06 Sep 2019 03:27:54 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <~alpine/users@lists.alpinelinux.org> from ; Fri, 6 Sep 2019 08:27:52 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 6 Sep 2019 08:27:50 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x867Rnin39321800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 07:27:49 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C79F411C04C for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 07:27:49 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A931B11C064 for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 07:27:49 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.145.53.221]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Sep 2019 07:27:49 +0000 (GMT) Subject: Re: How to debug slow start To: ~alpine/users@lists.alpinelinux.org References: From: Tuan Hoang Date: Fri, 6 Sep 2019 09:27:49 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19090607-0008-0000-0000-00000311C132 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19090607-0009-0000-0000-00004A301D69 Message-Id: <9ff14cff-792a-949a-4642-11da42c584f1@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-06_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909060080 On 8/23/19 12:44 AM, Cosmo Borsky wrote: >> Fresh Alpine Virt 3,10.1 installation is hanging up after starting NTP >> service ( is marked ok ) >> but just sits there for about 30+ seconds doing nothing. > > This may be due to the vm gathering entropy. > Try to add an entropy builder like `haveged` or `rng-tools` and ensure > it is started on boot. > >> How can I check what happens in the mean time ? > > Try typing random keys on your keyboard at the vm window during init. > Once you can log in, type `dmesg` to check the logs. You might see > something like "crng init done". Take a look at the timestamp between > that message and the message before it. > I thought we solved this when we added trust cpu vendor kernel option ? CONFIG_RANDOM_TRUST_CPU=y