From owner-freebsd-questions@freebsd.org Sun Nov 27 00:20:19 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 BF834C57EDC for ; Sun, 27 Nov 2016 00:20:19 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85C007ED for ; Sun, 27 Nov 2016 00:20:19 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-io0-x229.google.com with SMTP id c21so171604011ioj.1 for ; Sat, 26 Nov 2016 16:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+xJ4xTGhcYXMUmr2UND6trT/K9jGH0BsRvrLCe1IxmE=; b=RfO9YSHrkLy4RMaSQX6CYmMN36kSyvl0qrFYPSxly6j+JcXBk6x1QqIZW1Ka5r0Isp l7IeGv8kb0rNPwKlAU98PdHjhS5A7h/tuboJ776eXyYZBMiNkM8l1up6tkg3xeT3yNcI SxWprnpzi59UcZHGpFi4SrtG2d+x9MG5Epwl8yoj2FiH7aFNGm9A2MQeS0gIBmx5AhhX uTg1g0CvSsNiJ1rNJ1Q8OJPdACUce24SeUCzABUIH4wi23QILRjEw+zqw5s4rbxcJEIK DWt4oqoyU2jzAzKG41AJrVM9UIahWd4tjcn+yzrq7VoYlVtJFmfv8c+JMZS96frbgwWW I+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+xJ4xTGhcYXMUmr2UND6trT/K9jGH0BsRvrLCe1IxmE=; b=ZSsXXvV0aKbpxSsKi7ak465o1D0fqz0grILHDMOEQ5z2TACkDrsozvZDpz6nwUM2I9 wX1pWMSKsEsGv6S16WGO7RdW2Sy0yjQujQsebozQ/5o/alPClrn68VyxpXERAEe0EAS3 SAYN9zF//BtN/LRhqm6xXERXP/h97yV8QtF6I09DH1ZjJ4Cs9uEpdIOnhLVrCCEybKHq 5nPza9QMOnzd0+O42yZsE4qgdVdzgMc28XwhBIPh0eAz9jRwNDiDf2NAn966gSAeKKCH gd/z6dJzsImiEcccf01OZGSAbYcx12Oa2f8diu4rD465hpdTuRfETdrmKAlOmVcgn8bN GryA== X-Gm-Message-State: AKaTC01+e7v7uN8EZowMm/MNHNuUGHz9lWcJ5PYehl2Q3W02NQ3cmNjJVtUGdDF+YJKryUIR1EKk90YirIv2gQ== X-Received: by 10.107.175.80 with SMTP id y77mr11868755ioe.12.1480206018548; Sat, 26 Nov 2016 16:20:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.178.21 with HTTP; Sat, 26 Nov 2016 16:19:38 -0800 (PST) In-Reply-To: <20161126150144.GA65709@becker.bs.l> References: <20161109121030.2f678bea@gumby.homeunix.com> <20161126033259.GA57873@becker.bs.l> <20161126150144.GA65709@becker.bs.l> From: "Jack L." Date: Sat, 26 Nov 2016 16:19:38 -0800 Message-ID: Subject: Re: Old laptop not able to get enough entropy in FreeBSD 11 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 27 Nov 2016 00:20:19 -0000 On Sat, Nov 26, 2016 at 7:01 AM, Bertram Scharpf wrote: > On Friday, 25. Nov 2016, 20:06:55 -0800, Jack L. wrote: > > On Fri, Nov 25, 2016 at 7:32 PM, Bertram Scharpf < > lists@bertram-scharpf.de> > > 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? > So truss cat /dev/random >/dev/null will keep going and going and going and going truss dd if=/dev/random of=/dev/null bs=512 count=3 sits there and hangs with no activity until i hit a key, then the dd happens. > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" >