From owner-freebsd-questions@freebsd.org Sat Nov 26 15:01:48 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1568C56A61 for ; Sat, 26 Nov 2016 15:01:48 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC5ECA7 for ; Sat, 26 Nov 2016 15:01:47 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.2.200]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPSA (Nemesis) id 0Lzb2g-1coi7O33fG-014nG3 for ; Sat, 26 Nov 2016 16:01:44 +0100 Received: from bsch by becker.bs.l with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cAeU4-000H8I-88 for freebsd-questions@freebsd.org; Sat, 26 Nov 2016 16:01:44 +0100 Date: Sat, 26 Nov 2016 16:01:44 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: Old laptop not able to get enough entropy in FreeBSD 11 Message-ID: <20161126150144.GA65709@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20161109121030.2f678bea@gumby.homeunix.com> <20161126033259.GA57873@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: Bertram Scharpf X-Provags-ID: V03:K0:wRoRn276HF3dr2RuXiOnhbyZJjhm4C1uqqn9urr24mJcOaAVLoO GU2V9+ZHFHXZ310C6QQqAEf0MfMBeElHVFxurZHtuyV6qLaGydwEwihu6M+pOidLBf2RB83 onUOfGCYnHA46d5ZwG9gR4qj4cxnSzWRCxY1jA1hxZ+jeC+ofUFUExj0bGos/i9QwHNflNF 7B9bQjDigJ4AhjU+zdBwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:JwVC63Qwyb8=:1US1Lqc5syGyRs4MbuezOP x4iRnvRmyMn9NyB7ydxvdpsY0x19MbGRwxul0QrRfSAW2blPnV9dmQQWP2/iIGrkaz4qqgU4v Q/RDPWxasvFSJmVza9KZqH4v6siSNhSsQxnS6t+cJZwViP+E4xxareLpQGOhIbUt1FZshVRbm dJOM4/aecHunDgeIULF6jDVNNh0ughOXnq0U8u14uaIoyKUg/N+eSsQKrdGtBHHV0++KdLVrp 1kEa1FfyC55Ii7A3+50PnSOGJHz8gAhrSiGModLCe0+SujuhoDMmnXkdfvrClEiNOUYacgsC4 3iz79vkK04DeAgrIAQQqh2JD79ut7/ewvwTnjnsR3ehopkKjsQNlftCGxevvcaghH53M4F7la wwz9uBuRke+E15aqnKBPj+L9FJQRhJ4og28M0+Oy4kVM1SS0r3jbLzfGcD7VSqCth0ZajCdLN f1dX2rAjRxCAFD91pDJ6BUTLwwig8EYUD1Hdfdt5w3NsJdGGOZss5ckNxlOZmeuRGOrDiiHaI xoXU3EvRjEBHgdlFkcA3+4gYZRe+0vLbyEiTMljbv7cArHnBZgcHCX+/oeUkGaa2puuE1hIfE eCUDYmGjg16pOGIW3AM/rcR4lnPxMK7NBOxntAzSqH8VnbIT/yDOyqqfeohDvzjbeeloKs8Jm 5HooKE2opVzd2TCFoOsin5HmaIu9O2dmGg/SojD7Q57YFrNbhijzlxxAqY0aLbD1iy5Q= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 15:01:48 -0000 On Friday, 25. Nov 2016, 20:06:55 -0800, Jack L. wrote: > On Fri, Nov 25, 2016 at 7:32 PM, Bertram Scharpf > wrote: > > > On Friday, 25. Nov 2016, 18:31:24 -0800, Jack L. wrote: > > > >> > I have an old single core AMD Turion ML-37 laptop that has nothing > > > >> > installed. When I boot it up, the moment it displays login:, it hangs > > > >> > until i press some random keys. At shutdown, it will hang until I > > > >> > press keys and it will not move onto the next line of shutdown until > > > >> > I keep pressing keys. > > > >> > > > > >> > If I cat /dev/random > ./dev/null while using the laptop, it works > > > >> > fine but when nothing is happening, the laptop hangs. Any ideas? It's > > > >> > running 11.0-STABLE > > > > > > > > Any ideas on why the laptop would have that behavior in 11? It didn't hang > > > > at all in 10.3-STABLE > > > > > > > I just installed 12-CURRENT on the laptop and it also hangs even at > > > install/boot/shutdown until I hit keys, then it will move as long as I > > > continue to hit keys. I also found that if I ping the laptop, it will > > > respond but in between pings, it will hang. Using FreeBSD 10.3, it works > > > perfectly fine without any random keypresses. Any ideas? > > > > I'm convinced this behaviour it worth being analysed. > > > > Can you gain any knowlegde by calling cat through truss? > > How should I run that? Sorry, that was probably too fast. You could run one of those: # truss cat /dev/random >/dev/null # truss dd if=/dev/random of=/dev/null bs=512 count=3 But they will show just a series of read-write calls until a read will hang. The detain presumably occurs in the random device. That's kernel stuff. Does anybody have a hint how to debug that without influencing the behaviour in question? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de