Bug 56576 - (IDE IDE-TAPE)ide-tape and DMA trashes filesystem
Summary: (IDE IDE-TAPE)ide-tape and DMA trashes filesystem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2004-09-30 15:39:17 UTC
Embargoed:


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 
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/



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