Bug 56576

Summary: (IDE IDE-TAPE)ide-tape and DMA trashes filesystem
Product: [Retired] Red Hat Linux Reporter: Neil Darlow <neil>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: zaitcev
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-30 15:39:17 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:

Description Neil Darlow 2001-11-21 08:57:28 UTC
Description of Problem:
If DMA is enabled for an IDE Tape device filesystem corruption can occur

Version-Release number of selected component (if applicable):
errata kernel 2.4.9-13.i586

How Reproducible:
Leave ide settings at Red Hat default i.e. hdparm says tape drive is DMA 
capable.

Steps to Reproduce:
1. Fresh install - dual UDMA/33 drives - RAID-1 mirrored - ext3
2. Perform e2fsck -f -n /dev/md[0-4]; echo $?
3. Execute a full backup with afbackup
4. Perform e2fsck -f -n /dev/md[0-4]; echo $?

Actual Results:
Directories are hit returning errors like "invalid fs type" or attempting 
to ls -l their contents returns "unable to stat ..." or permissions 
damaged e.g. "?--------x"

Expected Results:
None of the above is expected

Additional Information:
This took some tracking down. I had to watch several fresh installs 
through the RAID-1 creation process (bad block check enabled and 
formatted to ext3) then did readonly e2fscks of the partitions before and 
after the full backup.
On three separate occasions filesystem damage occurred with DMA enabled 
for the IDE Tape Drive and does not occur with DMA disabled.
I don't mind doing some testing for you on this but I'm getting a little 
bored with doing fresh installs :-)

Comment 1 Pete Zaitcev 2001-11-21 19:12:26 UTC
See also #54617 (Just see with your eyes, do not mark dups!!!)


Comment 2 Pete Zaitcev 2001-11-21 19:14:03 UTC
Sorry, I meant Bug 54517.


Comment 3 Bugzilla owner 2004-09-30 15:39:17 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/