After updating the kernel to 2.6.18-238.1.1.el5, Oracle DB does not work any more
Environment
- Red Hat Enterprise Linux 5.6
- Oracle / ocfs2
- Red Hat Enterprise Linux 5.5 (2.6.18-194.el5) does not exhibit this problem
Issue
- The kernel on a Oracle DB server has been updated to the version 2.6.18-238.1.1.el5 from the version 2.6.18-194.el5. After this upgrade, the Oracle Grid infrastructure could not start any more.
- Oracle Doc ID 1321757.1 refers to an "unpublished Linux bug 10365195", "missing aio_complete() in end_io()". Does Red Hat provide a fix for this issue?
Resolution
NOTE: Before updating, be sure Oracle supports the kernel version you plan to use.
Red Hat Enterprise Linux 5.7.z
- Update to kernel 2.6.18-274.7.1.el5 (from RHSA-2011:1386) or later.
Red Hat Enterprise Linux 5.6 Extended Update Support and Red Hat Enterprise Linux 5.6 Long Life
-
Update to kernel kernel 2.6.18-238.28.1.el5 (from RHSA-2011:1419) or later for a fix for this issue:
-
A previously applied patch introduced a regression for third-party file systems that do not set the
FS_HAS_IODONE2flag, specifically, Oracle Cluster File System 2 (OCFS2). The patch removed a call to theaio_completefunction, resulting in no completion events being processed, causing user-space applications to become unresponsive. This update reintroduces theaio_completefunction call, fixing this issue. (BZ#734156)
Red Hat Enterprise Linux 5.5
- Downgrade to kernel 2.6.18-194.el5.
Root Cause
- The semantics of the async+direct-io completion path had changed.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
