Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 224587 - Make sure PV-on-HVM xen has an entropy source
Make sure PV-on-HVM xen has an entropy source
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Xen Maintainance List
Virtualization Bugs
Depends On:
Blocks: 246139 222399 246258 296411
  Show dependency treegraph
Reported: 2007-01-26 10:37 EST by Bryn M. Reeves
Modified: 2018-10-19 17:14 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-03 05:01:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
make platform_pci interrupts use SA_SAMPLE_RANDOM (594 bytes, patch)
2007-01-26 11:27 EST, Bryn M. Reeves
no flags Details | Diff

  None (edit)
Description Bryn M. Reeves 2007-01-26 10:37:47 EST
Description of problem:
When using PV-on-HVM drivers with Xen, there is no interrupt source to provide
data to the entropy pool used by /dev/random and /dev/urandom. This leads to
PV-on-HVM guests blocking on attempts to read /dev/random (urandom will fall
back to a pseudo-RNG and not block). 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a HVM guest configured to use vbd for the system disk
2. Read from /dev/random, for e.g.:
hexdump /dev/random

Actual results:
The reading process will block for ever waiting for the entropy pool to be refilled.

Expected results:
The reading process makes progress as interrupts replenish the data in the
entropy pool.

Additional info:
PV-on-HVM is not supported in RHEL5 GA and no PV-on-HVM drivers are shipped.
This bug targets future releases which may contain this support.
Comment 1 Bryn M. Reeves 2007-01-26 11:27:56 EST
Created attachment 146686 [details]
make platform_pci interrupts use SA_SAMPLE_RANDOM

This patch was created by Fujitsu's engineers and submitted to upstream xen:


The patch was merged in xen-unstable in the following commit:

Comment 3 RHEL Product and Program Management 2007-03-21 18:28:30 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Brian Stein 2007-06-28 16:00:12 EDT
Review & test in 5.1 beta.
Comment 5 Red Hat Bugzilla 2007-07-24 20:32:46 EDT
change QA contact
Comment 8 Gerd Hoffmann 2007-09-03 05:01:26 EDT
xen-3.1 upstream (which the upcoming pv-on-hvm packages are based on) has the
fix merged.

Note You need to log in before you can comment on or make changes to this bug.