Bug 219338
| Summary: | md 32bit compat ioctls missing on 64bit kernels | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryn M. Reeves <bmr> | ||||
| Component: | kernel | Assignee: | Doug Ledford <dledford> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.0 | CC: | paul.clements, tao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHBA-2008-0314 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-05-21 14:40:24 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 234654, 246139, 296411, 372911, 420521, 422431, 422441 | ||||||
| Attachments: |
|
||||||
Created attachment 143416 [details]
Add md bitmap compat ioctl support
Patch merging the changes from the two git commits
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. *** Bug 210175 has been marked as a duplicate of this bug. *** 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 the 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/RHBA-2008-0314.html |
Description of problem: When "mdadm --query" runs in a 32bit userspace on a 64bit kernel, compat ioctls (ioctl32) are used to talk to the md driver. Support for md bitmap ioctls was merged upstream in 2.6.19 but is missing from the RHEL5 kernels. This leads to error messages in dmesg when "mdadm --query" runs. Version-Release number of selected component (if applicable): 2.6.18-1.2714.el5 How reproducible: 100% Steps to Reproduce: 1. Install 32bit mdadm on a system running a 64bit kernel 2. Run "mdadm --query /some/md/device" Actual results: error printed to dmesg/console: ioctl32(mdadm:1776): Unknown cmd fd(3) cmd(50000915){10} arg(fa80e460) Expected results: No errors reported in dmesg. Additional info: This was fixed upstream by the following commits: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=da3ed32fe568148ede256975d40825ffcdac767b http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d19c2ee0b8d1cd83f8bc0f1f5e94e6b6ec71ea10