Bug 439920

Summary: entropy generation in bnx2 driver not consistent with other network drivers on RHEL4
Product: Red Hat Enterprise Linux 4 Reporter: Greg Marsden <greg.marsden>
Component: kernelAssignee: Ivan Vecera <ivecera>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: agospoda, jtluka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 19:36:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bnx2 irqf_sample_random patch
none
Final patch sent to review none

Description Greg Marsden 2008-03-31 23:38:51 UTC
Description of problem:

Applications requesting random data from /dev/random either hang, or print
out the following information message:

  Not enough random bytes available.  Please do some other work to give
  the OS a chance to collect more entropy!

Analysis:

In OEL4 and RHEL4, the e1000 module was contributing entropy to the system
by passing the IRQF_SAMPLE_RANDOM during request_irq() calls.

Comment 1 Greg Marsden 2008-03-31 23:38:51 UTC
Created attachment 299791 [details]
bnx2 irqf_sample_random patch

Comment 2 Ivan Vecera 2008-06-03 17:18:09 UTC
This functionality (in e1000) was removed in version 2.6.9-42.28. There was an
upstream update of e1000 that removes SA_SAMPLE_RANDOM flag from request_irq.
Upstream bnx2 driver also does not include this functionality.

To include it in RHEL kernel the incorporation into upstream is required. But I
doubt about success because this is little bit problematic (see discussion
http://lkml.org/lkml/2006/5/5/107).

Comment 3 Ivan Vecera 2009-01-12 09:41:44 UTC
Created attachment 328714 [details]
Final patch sent to review

Because the patch solving the same issue (bug #439898) for RHEL 5 seems to be acceptable for our engineers I prepared the similar patch also for RHEL 4. Now I'm going to post this patch for a review.

Comment 4 RHEL Program Management 2009-01-12 10:09:03 UTC
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
release.

Comment 6 Vivek Goyal 2009-01-19 19:58:10 UTC
Committed in 79.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 9 errata-xmlrpc 2009-05-18 19:36:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1024.html