Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Entropy error blocks lang/python38 installation



> Hi,

> This problem was reported/discussed several time I believe and I guess
> it does not have final solution yet (you can check this thread:
> http://mail-index.netbsd.org/tech-security/2021/01/11/msg001100.html).
> However, there are workarounds to build python38 now.

> One described here
> https://mail-index.netbsd.org/current-users/2020/05/01/msg038495.html,
> you can fool system into believing that it has enough entropy:
>   dd if=/dev/urandom of=/dev/random bs=32 count=1
>   sysctl -w kern.entropy.consolidate=1

> Another workaround which also makes python to compile was described in
> pkg/55847: https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55847

> Regards,
> Andrius V

> On Mon, Jun 14, 2021 at 08:15:27AM +0000, Thomas Mueller wrote:
> > [ 386.3532035] entropy: pid 24617 (python) blocking due to lack of entropy

> This means your setup is incomplete. You need to seed entropy, e.g.
> by one of the methods in entropy(7) in the "Adding entropy" subsection.

> Python is probably stupid, but that is a harder battle to fight.

> Martin

Thanks for the suggestions!  I will surely try when I get the chance.

I am now in a different partition/installation that I don't want to mess up.

I want to be able to build packages besides and beyond lang/python38.

When was this entropy issue introduced (what NetBSD version)?

Does any other OS have such an entropy issue?

On the other computer, I am now on FreeBSD-current mass-building packages with synth.

Another old bug has popped up that I thought was fixed some time ago for NetBSD-current and releng-9:

[ 190470.442443] wd1d: error writing fsbn 2316146760 of 2316146760-2316146791 (wd1 bn 2316146760; cn 2297764 tn 10 sn 18)
[ 190480.442412] wd1d: device timeout writing fsbn 2316146792 of 2316146792-2316146823 (wd1 bn 2316146792; cn 2297764 tn 10 sn 50), xfer 40, retry 0
[ 190480.442412] wd1d: device timeout writing fsbn 2316146824 of 2316146824-2316146855 (wd1 bn 2316146824; cn 2297764 tn 11 sn 19), xfer e0, retry 0
[ 190480.442412] wd1d: device timeout writing fsbn 2316146856 of 2316146856-2316146887 (wd1 bn 2316146856; cn 2297764 tn 11 sn 51), xfer 180, retry 0
[ 190480.442412] wd1d: device timeout writing fsbn 2316146888 of 2316146888-2316146919 (wd1 bn 2316146888; cn 2297764 tn 12 sn 20), xfer 220, retry 0
[ 190490.942379] wd1d: device timeout writing fsbn 2316146888 of 2316146888-2316146919 (wd1 bn 2316146888; cn 2297764 tn 12 sn 20), xfer 220, retry 1
[ 190490.942379] wd1d: device timeout writing fsbn 2316146856 of 2316146856-2316146887 (wd1 bn 2316146856; cn 2297764 tn 11 sn 51), xfer 180, retry 1
[ 190490.942379] wd1d: device timeout writing fsbn 2316146824 of 2316146824-2316146855 (wd1 bn 2316146824; cn 2297764 tn 11 sn 19), xfer e0, retry 1
[ 190490.942379] wd1d: device timeout writing fsbn 2316146792 of 2316146792-2316146823 (wd1 bn 2316146792; cn 2297764 tn 10 sn 50), xfer 40, retry 1
[ 190501.442347] wd1d: device timeout writing fsbn 2316146792 of 2316146792-2316146823 (wd1 bn 2316146792; cn 2297764 tn 10 sn 50), xfer 40, retry 2
[ 190501.442347] wd1d: device timeout writing fsbn 2316146824 of 2316146824-2316146855 (wd1 bn 2316146824; cn 2297764 tn 11 sn 19), xfer e0, retry 2
[ 190501.442347] wd1d: device timeout writing fsbn 2316146856 of 2316146856-2316146887 (wd1 bn 2316146856; cn 2297764 tn 11 sn 51), xfer 180, retry 2
[ 190501.442347] wd1d: device timeout writing fsbn 2316146888 of 2316146888-2316146919 (wd1 bn 2316146888; cn 2297764 tn 12 sn 20), xfer 220, retry 2
[ 190511.942314] wd1d: device timeout writing fsbn 2316146888 of 2316146888-2316146919 (wd1 bn 2316146888; cn 2297764 tn 12 sn 20), xfer 220, retry 3
[ 190511.942314] wd1d: device timeout writing fsbn 2316146856 of 2316146856-2316146887 (wd1 bn 2316146856; cn 2297764 tn 11 sn 51), xfer 180, retry 3
[ 190511.942314] wd1d: device timeout writing fsbn 2316146824 of 2316146824-2316146855 (wd1 bn 2316146824; cn 2297764 tn 11 sn 19), xfer e0, retry 3
[ 190511.942314] wd1d: device timeout writing fsbn 2316146792 of 2316146792-2316146823 (wd1 bn 2316146792; cn 2297764 tn 10 sn 50), xfer 40, retry 3
[ 190522.442281] wd1d: device timeout writing fsbn 2316146792 of 2316146792-2316146823 (wd1 bn 2316146792; cn 2297764 tn 10 sn 50), xfer 40, retry 4
[ 190532.442250] wd1d: device timeout writing fsbn 2316146824 of 2316146824-2316146855 (wd1 bn 2316146824; cn 2297764 tn 11 sn 19), xfer e0, retry 4
[ 190542.442218] wd1d: device timeout writing fsbn 2316146856 of 2316146856-2316146887 (wd1 bn 2316146856; cn 2297764 tn 11 sn 51), xfer 180, retry 4

I have to go into the debugger (Ctrl-Alt-Esc) if I can and reboot, otherwise Reset button.

Tom



Home | Main Index | Thread Index | Old Index