Bug 1724

Summary: File corruption when copied from CD-ROM
Product: AtapiCDD Reporter: jhall@freedos.org <jhall@freedos.org>
Component: coreAssignee: jeremyd@computer.org
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Alpha 0.2.x   
Hardware: PC   
OS: FreeDOS   

Description:   Opened: 2003-11-16 09:53
Re-posting a bug from the fd-dev list.  Discussion started 11/04/2003.


johnson@tmfc.net writes:
Hello,

I've been installing FreeDOS in many Pentium or Pentium II PC. I found 
that when I use file copy utilities (Directory Control 1.1 - modified 
from PC Magazine's) copying files from CD-ROM, sometimes the files will 
corrupt. Using FreeDOS XCOPY and COPY is better but still not 100%. Only 
CONTROL COPY (with verify) can avoid corruption.

I suspect the CD-ROM driver have bugs, but I've no way to prove it. 
Anyone have similar situation?

Last question, is the ATAPICDD.SYS use PIO transfer? I feel very slow 
when copying.

Thanks.
------- Comment #1 From jhall@freedos.org 2003-11-16 09:54:10 -------
Re-posting the discussion from fd-dev.


Michal Tyc writes:

Try different driver (e.g., one shipped by CD-ROM manufacturer); if you
don't have any, I seem to remember some collection at www.bootdisk.com.

This will immediately prove if ATAPICDD is the culprit. And this is
the general rule in similar cases: replace the elements, step by step,
with other, functionally equivalent, and watch when your problem
disappears. Then you know the faulty element.

Michal
------- Comment #2 From jhall@freedos.org 2003-11-16 09:54:43 -------
Re-posting the discussion from fd-dev.


Jeremy Davis writes:

Atapicdd is ALPHA software at the moment.  Yes it does use PIO.
DMA transfers will be added at some point in the future, but the
basic driver is my first priority.  I am going to try and have
another release out in about a month or two (around Christmas)
that should be more stable, but still probably only PIO based.

Jeremy
------- Comment #3 From jhall@freedos.org 2003-11-16 09:57:14 -------
Re-posting the discussion from fd-dev.


johnson@tmfc.net writes:

Hi Michal,


>> Try different driver (e.g., one shipped by CD-ROM manufacturer); if you 
>> don't have any, I seem to remember some collection at www.bootdisk.com.


Thanks for remaining me.


>> This will immediately prove if ATAPICDD is the culprit. And this is
>> the general rule in similar cases: replace the elements, step by step, 
>> with other, functionally equivalent, and watch when your problem
>> disappears. Then you know the faulty element.


I got the test result, it's the ATAPICDD.SYS that cause the problem. 
Since it's public domain and beta version. Sincerely I hope it's author 
can have more leisure time to continue develop.



------- Comment #4 From jhall@freedos.org 2003-11-16 09:59:30 -------
Re-posting the discussion from fd-dev.


johnson@tmfc.net writes:

Hi Kenneth,


>> Atapicdd is ALPHA software at the moment.  Yes it does use PIO.
>> DMA transfers will be added at some point in the future, but the
>> basic driver is my first priority.  I am going to try and have
>> another release out in about a month or two (around Christmas)
>> that should be more stable, but still probably only PIO based.


Thanks for your work.

Temporary I switch to OAK driver, it's much more faster but I don't want 
to use those commercial product. PIO was painfully slow and cause the 
CD-ROM to generate a lot of heat. IMO DMA transfers is the next top 
priority.

Sincerely hope that you can have more time and mood to work on the 
driver.

Lastly, can you add more output message? It's necesary for user to know 
more information about the CD-ROM.
------- Comment #5 From John 2003-11-17 10:57:49 -------
I'm going to try and find another driver for my installation of FreeDOS. For 
the last hour now my installation of M.A.X. from CD-Rom has gone about 5% of 
the way on the progess bar. This seems a lot slower than floppy access would 
be. No complaints though, I know this is Alpha.
------- Comment #6 From John 2003-11-17 12:36:10 -------
http://sony.storagesupport.com/dvdrw/downloads.htm

To solve my problem, I downloaded atapi227b.exe from Sony.