Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 16:19:38 -0800
From:      "Jack L." <xxjack12xx@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Old laptop not able to get enough entropy in FreeBSD 11
Message-ID:  <CALeGphyXVVKVoaFRtM9COKhCHCvzDQ83edT9B=135vUC_vvWKA@mail.gmail.com>
In-Reply-To: <20161126150144.GA65709@becker.bs.l>
References:  <CALeGphz-dL9jwy7=8hN0p7YtmY=ad-dgi7Ee2NqRtuURk%2Bu1ew@mail.gmail.com> <20161109121030.2f678bea@gumby.homeunix.com> <CALeGphx=UBhBmE4X_Q3H%2BwE3Zg=Tki_EWmVAs-728fjuMPzJxw@mail.gmail.com> <CALeGphyfmSCy8dOg-8_JHm=P6o6ucNhV2TsAZGxWMo-PULAAqg@mail.gmail.com> <20161126033259.GA57873@becker.bs.l> <CALeGphz3dm_u2OTbrzwh1y0eR2rqHDZMtfQFWG3fa6qsw7ijhA@mail.gmail.com> <20161126150144.GA65709@becker.bs.l>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 26, 2016 at 7:01 AM, Bertram Scharpf <lists@bertram-scharpf.de>
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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALeGphyXVVKVoaFRtM9COKhCHCvzDQ83edT9B=135vUC_vvWKA>