Displaying 5 results from an estimated 5 matches for "khwrng".
Did you mean:
hwrng
2014 Sep 10
2
RFC virtio-rng: fail to read sysfs of a busy device
...ll' in guest
> - check sysfs files in the same time, 'cat /sys/class/misc/hw_random/rng_*'
>
> Result: cat process will get stuck, it will return if we kill dd process.
How common is it going to be to have a long-running 'dd' process on
/dev/hwrng?
Also, with the new khwrng thread, reading from /dev/hwrng isn't
required -- just use /dev/random?
(This doesn't mean we shouldn't fix the issue here...)
> We have some static variables (eg, current_rng, data_avail, etc) in hw_random/core.c,
> they are protected by rng_mutex. I try to workaround this issu...
2014 Sep 10
2
RFC virtio-rng: fail to read sysfs of a busy device
...ll' in guest
> - check sysfs files in the same time, 'cat /sys/class/misc/hw_random/rng_*'
>
> Result: cat process will get stuck, it will return if we kill dd process.
How common is it going to be to have a long-running 'dd' process on
/dev/hwrng?
Also, with the new khwrng thread, reading from /dev/hwrng isn't
required -- just use /dev/random?
(This doesn't mean we shouldn't fix the issue here...)
> We have some static variables (eg, current_rng, data_avail, etc) in hw_random/core.c,
> they are protected by rng_mutex. I try to workaround this issu...
2014 Sep 10
0
RFC virtio-rng: fail to read sysfs of a busy device
...hw_random/rng_*'
> >
> > Result: cat process will get stuck, it will return if we kill dd process.
>
> How common is it going to be to have a long-running 'dd' process on
> /dev/hwrng?
Not a common usage, but we have this strict testing.
> Also, with the new khwrng thread, reading from /dev/hwrng isn't
> required -- just use /dev/random?
Yes.
> (This doesn't mean we shouldn't fix the issue here...)
Completely agree :-)
> > We have some static variables (eg, current_rng, data_avail, etc) in hw_random/core.c,
> > they are pro...
2014 Sep 09
2
mutex
Hi Amit, Rusty
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1127062
steps:
- Read random data by 'dd if=/dev/hwrng of=/dev/null' in guest
- check sysfs files in the same time, 'cat /sys/class/misc/hw_random/rng_*'
Result: cat process will get stuck, it will return if we kill dd process.
We have some static variables (eg, current_rng, data_avail, etc) in hw_random/core.c,
2014 Sep 09
2
mutex
Hi Amit, Rusty
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1127062
steps:
- Read random data by 'dd if=/dev/hwrng of=/dev/null' in guest
- check sysfs files in the same time, 'cat /sys/class/misc/hw_random/rng_*'
Result: cat process will get stuck, it will return if we kill dd process.
We have some static variables (eg, current_rng, data_avail, etc) in hw_random/core.c,