Red Hat Bugzilla – Bug 376831
Read from /proc/ppc64/rtas/error_log does not honor O_NONBLOCK
Last modified: 2009-01-20 15:26:34 EST
Description of problem:
After open(2) on /proc/ppc64/rtas/error_log with O_NONBLOCK flag, read(2) the
file is blocked, and waited on an event.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open ("/proc/ppc64/rtas/error_log", O_RDONLY | O_NONBLOCK);
2. read (fd, buf, 4096);
read(2) is blocked.
read(2) shall return EAGAIN.
RHEL-3 and RHEL-4 have the same problem, btw
patch posted on 7/10. dev ack.
Request exception since this bug was found by QE in 5.2 testing.
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
Created attachment 316612 [details]
For completeness - Vitaly had posted upstream here:
Last link was RH-internal; here's the upstream post:
You can download this test kernel from http://people.redhat.com/dzickus/el5
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.