Bug 513827
| Summary: | Out of SW-IOMMU space: External hard disk inaccessible | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryn M. Reeves <bmr> | ||||
| Component: | kernel | Assignee: | Jay Fenlason <fenlason> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.3 | CC: | cward, dzickus, fedora-bugs, jfeeney, jtluka, kernel-maint, peterm, qcai, stefan-r-rhbz, tao | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 475156 | Environment: | |||||
| Last Closed: | 2010-03-30 07:15:21 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: | 499522, 525215, 533192 | ||||||
| Attachments: |
|
||||||
|
Description
Bryn M. Reeves
2009-07-26 12:08:20 UTC
Created attachment 355191 [details]
fix firewire iommu mapping leak
I don't see why this won't make 5.5, either as a standalone patch, or as part of a re-backport of the current upstream firewire stack. 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. Hello! Are we able to reproduce this in-house? Could we get confirmation on testing this from customer side? Afaik this is fairly easily reproduced with firewire storage. I don't have any suitable hardware available here to test with but I can ask around. I'll also check with the original reporter to see if they are willing to verify. FireWire on boxes which do have an IOMMU or use swiotlb should indeed exhaust IOMMU resources rather quickly without the fix since the respective DMA mappings happen very frequently during asynchronous FireWire I/O. Both the bug and the fix are rather obvious in hindsight, I'd say. The fix has one problem though as the test for "was this DMA-mapped?" may yield a false negative on certain rare architectures at a very unlikely condition --- when a payload was mapped to bus address zero. I therefore posted a suggested fix for the fix just now: http://lkml.org/lkml/2009/10/14/362 PS: "the respective DMA mappings happen very frequently during asynchronous FireWire I/O" == e.g. one of these mappings for each SCSI request on behalf of firewire-sbp2, one of these for each IP datagram on behalf of firewire-net. in kernel-2.6.18-170.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please do NOT transition this bugzilla state to VERIFIED until our QE team has sent specific instructions indicating when to do so. However feel free to provide a comment indicating that this fix has been verified. ~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~ RHEL 5.5 Beta has been released! There should be a fix present in this release that addresses your request. Please test and report back results here, by March 3rd 2010 (2010-03-03) or sooner. Upon successful verification of this request, post your results and update the Verified field in Bugzilla with the appropriate value. If you encounter any issues while testing, please describe them and set this bug into NEED_INFO. If you encounter new defects or have additional patch(es) to request for inclusion, please clone this bug per each request and escalate through your support representative. I've not managed to reproduce this so far but can attempt to borrow some FW hardware to do so. 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-2010-0178.html |