Current-Users archive

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

Re: hang while updating pkg_rolling-replace libvdpau

Hi David,

David Shao wrote:
Examine recently posted

kern/55641: Recent changes to random/entropy "pkgsrc devel brick" an
Intel Ivy Bridge system, with workaround

It mentions a workaround, but what does it mean to:
dd if=/dev/urandom of=/dev/random bs=32 count=1
sysctl -w kern.entropy.consolidate=1

copy some data from one random generator to another one? Before doing so I want to know it is fine :)

Try Ctrl-C after the hang. Is there at the bottom of the trace a call
to a random number function?

no, see below.

Do you have something like an Intel Ivy Bridge system?

No, it is an older CPU, it should be a Penryn:

[     1.000003] cpu0 at mainbus0 apid 0
[     1.000003] cpu0: Use lfence to serialize rdtsc
[ 1.000003] cpu0: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz, id 0x1067a
[     1.000003] cpu0: node 0, package 0, core 0, smt 0
[     1.000003] cpu1 at mainbus0 apid 1
[ 1.000003] cpu1: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz, id 0x1067a
[     1.000003] cpu1: node 0, package 0, core 1, smt 0

Are you getting some warning message on boot about entropy?

Yes, I see two warnings:

disc$ dmesg | grep entro
[     1.000000] entropy: no seed from bootloader
[ 40596.326165] entropy: WARNING: extracting entropy too early

If I hit ctrl-c I see something inside meson and python and the last is a random function. So there is probably some similarity.

sudo make replace
^CTraceback (most recent call last):
  File "/usr/pkg/bin/meson", line 11, in <module>
    load_entry_point('meson==0.55.1', 'console_scripts', 'meson')()
File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/", line 2852, in load_entry_point
    return ep.load()
File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/", line 2443, in load
    return self.resolve()
File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/pkg/lib/python3.7/site-packages/mesonbuild/", line 25, in <module> from . import mconf, mdist, minit, minstall, mintro, msetup, mtest, rewriter, msubprojects, munstable_coredata, mcompile File "/usr/pkg/lib/python3.7/site-packages/mesonbuild/", line 22, in <module>
    from .mtest import rebuild_all
File "/usr/pkg/lib/python3.7/site-packages/mesonbuild/", line 26, in <module>
    import multiprocessing
File "/usr/pkg/lib/python3.7/multiprocessing/", line 16, in <module>
    from . import context
File "/usr/pkg/lib/python3.7/multiprocessing/", line 5, in <module>
    from . import process
File "/usr/pkg/lib/python3.7/multiprocessing/", line 363, in <module>
    _current_process = _MainProcess()
File "/usr/pkg/lib/python3.7/multiprocessing/", line 347, in __init__
    self._config = {'authkey': AuthenticationString(os.urandom(32)),

Home | Main Index | Thread Index | Old Index