Bug 176361
| Summary: | io_setup() fails for 32bit tasks in x86-64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Zach Brown <zach.brown> | ||||
| Component: | kernel | Assignee: | Jeff Moyer <jmoyer> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0 | CC: | jbaron, tao, yanmin.zhang | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHSA-2006-0575 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-08-10 21:46:59 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: | 181409, 185411 | ||||||
| Attachments: |
|
||||||
|
Description
Zach Brown
2005-12-21 18:48:16 UTC
Created attachment 122502 [details]
copy user's ctx in sys32_io_setup() before calling sys_io_setup()
I've posted this patch for internal review. I've also verified that x86_64 should be the only affected platform. *** Bug 185646 has been marked as a duplicate of this bug. *** committed in stream U4 build 34.6. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 4.4 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 4.4 release. [root@dhcp59-204 ltp-aiodio]# ./aio-stress32 -s 2 file > out-`uname -r` 2>&1 [root@dhcp59-204 ltp-aiodio]# cat out-2.6.9-34.ELsmp file size 2MB, record size 64KB, depth 64, ios per iteration 8 max io_submit 8, buffer alignment set to 4KB threads 1 files 1 contexts 1 context offset 2MB verification off io_queue_setup(512) returned -22 (Invalid argument) Running single thread version [root@dhcp59-204 ltp-aiodio]# cat out-2.6.9-37.ELsmp file size 2MB, record size 64KB, depth 64, ios per iteration 8 max io_submit 8, buffer alignment set to 4KB threads 1 files 1 contexts 1 context offset 2MB verification off write on file (581.73 MB/s) 2.00 MB in 0.00s thread 0 write totals (17.28 MB/s) 2.00 MB in 0.12s read on file (1252.35 MB/s) 2.00 MB in 0.00s thread 0 read totals (487.92 MB/s) 2.00 MB in 0.00s random write on file (907.03 MB/s) 2.00 MB in 0.00s thread 0 random write totals (19.02 MB/s) 2.00 MB in 0.11s random read on file (1719.69 MB/s) 2.00 MB in 0.00s thread 0 random read totals (1672.24 MB/s) 2.00 MB in 0.00s Running single thread version Confirmed this fails on -34, and passes on -37 using 32-bit build of ltp-aiodio/aio-stress from ltp-20060515. *** Bug 134218 has been marked as a duplicate of this bug. *** 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/RHSA-2006-0575.html |