Bug 376831
| Summary: | Read from /proc/ppc64/rtas/error_log does not honor O_NONBLOCK | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Qian Cai <qcai> | ||||
| Component: | kernel | Assignee: | Vitaly Mayatskikh <vmayatsk> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.1 | CC: | bpeters, bugproxy, dzickus, jburke, mgahagan, syeghiay | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | ppc64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-01-20 20:26: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: |
|
||||||
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 release. Created attachment 316612 [details]
Proposed patch
For completeness - Vitaly had posted upstream here: http://post-office.corp.redhat.com/archives/rhkernel-list/2008-July/msg00225.html Last link was RH-internal; here's the upstream post: http://lkml.org/lkml/2008/7/4/112 in kernel-2.6.18-121.el5 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. http://rhn.redhat.com/errata/RHSA-2009-0225.html |
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): RHEL5.1-Server How reproducible: Always Steps to Reproduce: 1. open ("/proc/ppc64/rtas/error_log", O_RDONLY | O_NONBLOCK); 2. read (fd, buf, 4096); Actual results: read(2) is blocked. Expected results: read(2) shall return EAGAIN.