PYNQ 3.0.1 boot service unstable?

After playing around with the old overlay and reboot from time after time.

1) overlay do load when there are no error return after boot.

2) [FAILED] Failed to start Entropy Da…based on the HAVEGE algorithm.

See ‘systemctl status haveged.service’ for details.
Starting resolvconf-pull-resolved.service…
[ OK ] Finished resolvconf-pull-resolved.service.
Starting resolvconf-pull-resolved.service…
[ OK ] Finished resolvconf-pull-resolved.service.

I am not sure this is the root cause of jupyter notebook access fail and overlay load fail.

Thank you

1 Like

Hi Brian,

Could you clarify a bit what you’re doing? What is the problem you are seeing and what board you are using?

Thanks
Shawn

@skalade

Hi Shawn,

A) This is a custom board build.
B) Nothing, just a normal bootup and open browser and try to connect to Jupter NoteBook.
C) The problem as my original post has suggested, bootup services sound unstable sometime it will not have any error while most of the time the

[FAILED] Failed to start Entropy Da…based on the HAVEGE algorithm.

Will show up and even unable to connect to Jupter Notebook or overlay download fail.
*Which if lucky “the same bitstream” will work as usually.

Thank you

Hi Brian,

I haven’t seen this on any of my boards. What part is your board based on? Is it zynq7000 or mpsoc?

If it’s a reproducible issue for you, these commands might give some insight as to why the service is failing.

systemctl status haveged
journalctl -u haveged.service

Lack of collected entropy on your board could prevent some networking processes (this is something haveged would guard against). You can check the value your board has available using this command

cat /proc/sys/kernel/random/entropy_avail

Thanks
Shawn

@skalade

My chip is ZYNQ-7000 series with a highest LE XC7Z100FFG900-2.
I am also confused, if a good cold boot aka 1st time bootup nor reboot command is used.
The board will never shows an error services.

I will try using those command you suggest and debug a bit.
Update you once it is completed.

Thank you

@skalade

I think this is a unpredictable behavior.
It is known issue about the board I am using >HDMI power will sometime make the SD Card boot stuck but no in this case<

It is also confirmed that the overlay load and response time is way slower than PYNQ 2.7 (~x4 load time longer).

Meantime, if multi power cycle are conducted. There will be some cases:

Boot fail cases

image

Command - systemctl status haveged

image

Command - journalctl -u haveged.service

image

Command - cat /proc/sys/kernel/random/entropy_avail

image

Thank you