<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 6:49 AM 程 书意 <<a href="mailto:c15271843451@outlook.com">c15271843451@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span></span></div>
<pre style="background-color:rgb(255,255,255)">Hi all,</pre>
<pre style="background-color:rgb(255,255,255)">I am working on virtualization on armv8 platform and encountered a complex problem. From the below boot log, we can find:</pre>
<pre style="background-color:rgb(255,255,255)"><ol><li>Every unit init need about 30 seconds.</li><li><b>status_printf </b>function doesn't work. [no <b>status_welcome </b>print and no <b>manager_status_printf </b>print]</li><li>I'm trying to use <b>systemd.log_level=debug systemd.log_target=console console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 </b>to show more debug info<b>,</b> however the boot stoped at <b>systemd[1]: System time before build time, advancing clock.</b></li></ol></pre>
<pre style="background-color:rgb(255,255,255)"><pre>[ 2.478912] systemd[1]: System time before build time, advancing clock.
[ 2.499714] systemd[1]: systemd 237 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
[ 2.520807] systemd[1]: Detected architecture arm64.
[ 33.892575] systemd[1]: Set hostname to <imx8mqevk>.
[ 64.632124] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 64.648846] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 64.771322] random: systemd: uninitialized urandom read (16 bytes read)
[ 64.777950] systemd[1]: Reached target Swap.
[ 95.329244] random: systemd: uninitialized urandom read (16 bytes read)
[ 95.337197] systemd[1]: Created slice User and Session Slice.
[ 126.049246] random: systemd: uninitialized urandom read (16 bytes read)
[ 126.055962] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 156.769223] random: systemd: uninitialized urandom read (16 bytes read)
[ 156.776389] systemd[1]: Created slice System Slice.
[ 187.489398] random: systemd: uninitialized urandom read (16 bytes read)
[ 187.496097] systemd[1]: Listening on Journal Audit Socket.
[ 218.209185] random: systemd: uninitialized urandom read (16 bytes read)
[ 218.216387] systemd[1]: Created slice system-getty.slice.
[ 248.929177] random: systemd: uninitialized urandom read (16 bytes read)
[ 248.936006] systemd[1]: Listening on Journal Socket (/dev/log).
[ 279.649275] random: systemd: uninitialized urandom read (16 bytes read)
[ 279.655957] systemd[1]: Listening on Network Service Netlink Socket.
[ 310.369169] random: systemd: uninitialized urandom read (16 bytes read)
[ 310.375751] systemd[1]: Reached target Slices.
[ 341.089186] random: systemd: uninitialized urandom read (16 bytes read)
[ 341.095860] systemd[1]: Listening on udev Kernel Socket.</pre></pre></div></blockquote><div><br></div><div>I wonder if it is related to systemd trying to generate an "invocation ID" for every unit started. (I *thought* it had an internal PRNG for that, but I guess it might be calling getrandom() for every single unit?)</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>