Bug 56576 - (IDE IDE-TAPE)ide-tape and DMA trashes filesystem
Summary: (IDE IDE-TAPE)ide-tape and DMA trashes filesystem
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-11-21 08:57 UTC by Neil Darlow
Modified: 2008-08-01 16:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 15:39:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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 

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

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/

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