[h3ulcb, h3ulcb-kf, refhw] hwrng not initialized

Fixed

Description

The hwrng seems not to be inizialized, thus entropy is lacking / slow:

 

Environment:

P.S.: ignore the date, time was not synced at this stage of the logs.

 

Links:

https://lava.automotivelinux.org/scheduler/job/15953

https://lava.automotivelinux.org/scheduler/job/15950

 

 

CC:   , ,

Environment

None

Attachments

1

Activity

Show:

Walt Miner 
February 10, 2021 at 11:49 PM

Close KK 11.0.0

Julien Massot 
January 28, 2021 at 2:08 PM

So I did a proposal on poky mailing list in order to backport 6.11 recipe to yocto dunfell

https://lists.yoctoproject.org/g/poky/topic/patch_v2_dunfell_rng_tools/80183574

Jan-Simon Moeller 
January 28, 2021 at 10:07 AM
(edited)

a) Submit the patches to poky/oe-core for inclusion in dunfell first

b) when pending there, we can add appends in meta-agl. (link to list post)

 
Update to a different version has to be discussed with upstream first. We will not carry out-of-tree versions w/o need.

Julien Massot 
January 28, 2021 at 8:14 AM

Hi,

I did test backporting the 3 patches available there https://github.com/nhorman/rng-tools/pull/99/commits

and it indeed fix the isssue.

Please tell what is your favorite way to integrate them.

1- Add these 3 patches in a bbappend recipes in meta-agl

2- Add these 3 patches in a bbappend recipes in poky dunfell

3- Update rng-tools to a version >=6.11 

 

My opinion is that we should go for 1 and 3 proposal, given the time constraints we could maintain a fix in

meta-agl and then try to update rng-tools in poky master, when backport is done to dunfell branch we will be able to

drop this bbappend recipe.

 

 how do you want to proceed ?

 

Stephane Desneux 
January 27, 2021 at 2:50 PM

I'm not sure if haveged and rngd can work concurrently and I'm not sure of the results. I mean: rngd complains about a slow source (jitter) and haveged won't solve the issue because the source will remain slow. The proper solution is to apply at least this patch . Given the commit message, this is exactly what you observe on lava jobs.

Details

Assignee

Reporter

Fix versions

Labels

Hardware Platform(s) Affected

Renesas H3
Renesas H3+KF
Renesas M3
Renesas M3+KF

Components

Affects versions

Priority

Created January 20, 2021 at 11:22 PM
Updated March 30, 2021 at 6:39 PM
Resolved February 9, 2021 at 2:07 PM