Bug 219338 - md 32bit compat ioctls missing on 64bit kernels
md 32bit compat ioctls missing on 64bit kernels
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Doug Ledford
Brian Brock
: 210175 (view as bug list)
Depends On:
Blocks: 234654 246139 296411 372911 420521 422431 422441
  Show dependency treegraph
Reported: 2006-12-12 12:17 EST by Bryn M. Reeves
Modified: 2011-01-24 16:35 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2008-0314
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 10:40:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Add md bitmap compat ioctl support (444 bytes, patch)
2006-12-12 12:19 EST, Bryn M. Reeves
no flags Details | Diff

  None (edit)
Description Bryn M. Reeves 2006-12-12 12:17:10 EST
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):

How reproducible:

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:
Comment 1 Bryn M. Reeves 2006-12-12 12:19:31 EST
Created attachment 143416 [details]
Add md bitmap compat ioctl support 

Patch merging the changes from the two git commits
Comment 5 RHEL Product and Program Management 2007-04-25 18:51:06 EDT
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
Comment 8 Doug Ledford 2007-11-30 10:39:33 EST
*** Bug 210175 has been marked as a duplicate of this bug. ***
Comment 9 Jay Turner 2007-12-13 09:06:44 EST
QE ack for RHEL5.2.  Reproducer in comment 0.
Comment 10 Don Zickus 2008-01-24 16:15:27 EST
You can download this test kernel from http://people.redhat.com/dzickus/el5
Comment 16 errata-xmlrpc 2008-05-21 10:40:24 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.