lkml.org 
[lkml]   [2000]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectData corruption reading IDE CD-ROM in 2.2.x
I've noticed a nasty problem with CD on 2.2.x including latest 2.2.14. The
problem manifests itself in corrupting every large file that is read from
CD. Corruption is repeatable, but not happen always in the same place in
the file - i.e., if I repeat the copy in small amount of time, it's the
same place, but if I wait some time, unmount the CD and mount it back,
etc., place of corruption can change.

It doesn't seem to be hardware related bug, since if I downgrade to 2.2.5
from Redhat 6.0 RPMs, problem disappears.

The application that always triggers the bug is rpm - when it is run on
large RPM from the CD, it says "unpacking of archive failed: cpio: Bad
magic", but it isn't program-related too - copy to HD makes the same
result (file is corrupted). No kernel messages or other errors are
reported - kernel thinks the file is OK, but it isn't.

The CD is SAMSUNG SC-140F.
Kernel report on IDE:
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: WDC AC418000D, ATA DISK drive
hdb: SAMSUNG CD-ROM SC-140F, ATAPI CDROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC418000D, 17206MB w/1966kB Cache, CHS=2193/255/63, UDMA
hdb: ATAPI 40X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.56

--
Stanislav Malyshev stas@zend.com
+972-3-6139665





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.068 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site