Welcome, Guest. Please login or register.

Author Topic: What now? I/O errors on big files  (Read 1933 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline rvo_nlTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2006
  • Posts: 860
    • Show only replies by rvo_nl
What now? I/O errors on big files
« on: June 23, 2014, 12:44:06 PM »
Hi all, you may remember me from this thread:

http://www.amiga.org/forums/showthread.php?t=67551

As said I am currently installing 2 a1200's, one with a 2.5", one with a 3.5" hard drive.

I have managed to install the Amiga with the 2.5 hard drive fine, by connecting it to my ide-fix express in my main machine and putting all files on the drive needed for my 'Perfect Install'.

This morning I did the same thing for the 3.5 of the other Amiga, and it went much faster than before. (Around 5Gb in a few hours, not bad) So I put the drive in its new home, booted up Workbench, all went fine. Until I tried unpacking some of the lha archives I had put on. Most of them return I/O errors when unpacking, even when unpacking from Ram!

I have put one of the failing archives on a spare floppy and tried it out on my main Amiga, also corrupted. This means the files on the drive are corrupted. I am trying to find out why, ofcourse.

Immediately I went to HDToolbox, which is set up as follows:

250 Mb System - FFS (dont hate me, Thomas)
500 Mb Work - SFS
250 Mb Emulation - CFS
7000 Mb Games - SFS

Checked the Mask and Maxtransfer settings, they were different from the other 2.5 machine. Perhaps I forgot to set them.. Could that be the issue? They were set to:

Mask: 0x7ffffffe
MaxT: 0xffffff

On the other machine I have them set to:

Mask: 0xFFFFFFFF
MaxT: 0x7FFFFFFF

Before I copied the files on the drive. Changing them didnt solve my issue.

Is there any other thing that could be fauly? Like the chipmem? Can I test this somehow? (the machine does have a blizzard 1230 but the same problem occurs when I disable it)

Any advice is welcome here!

Edit: I have just found this thread: http://www.amiga.org/forums/showthread.php?t=33909

I guess I should disable 'fast mode' on the ide-fix and copy all files again. At the same time I will use the shortest IDE cable I can find.

In the meantime I still appreciate other ideas.
« Last Edit: June 23, 2014, 12:56:13 PM by rvo_nl »
Amiga 1200 (1d4) Kickstart 3.1 (40.68), Elbox Power/Winner tower (450w psu), BlizzardPPC 603e+ @240mhz & 060 @50mhz, 256MB, Bvision, IDE-fix Express, IndivisionAGA, 120GB IDE, cd, dvd, Cocolino, Micronik Keycase, PCMCIA Ethernet, Ratte monitor switcher, Prelude1200, triple boot WB3.1 / OS3.9 / OS4.1, Win95 / MacOS8.1
 

Offline TeamBlackFox

  • Master SPARC
  • Full Member
  • ***
  • Join Date: Jan 2014
  • Posts: 220
    • Show only replies by TeamBlackFox
Re: What now? I/O errors on big files
« Reply #1 on: June 23, 2014, 01:26:16 PM »
I/O errors normally mean one of four things:

Bad RAM
Bad HDD
Bad Cables
Bad Controller

Not necessarily in that order. I'd try another cable - then do some heavy I/O transfers. That should help isolate some causes. Looks like you're already onto something - good luck.
After many years in the Amiga community I have decided to leave the Amiga community permanently. If you have a question about SGI or Sun computers please PM me and I will return your contact as soon as I can.
 

Offline Thomas

Re: What now? I/O errors on big files
« Reply #2 on: June 23, 2014, 04:35:11 PM »
They are not true I/O errors. LhA just calls it an I/O error if it reads past the end of the file when it encounters corruption.

IDEfix solves MaxTransfer problems only while the IDEfix software is running. If you copy files before the software is started, restrictions of the Kickstart driver apply. And for that MaxTransfer is way too high. Files bigger than 128K are corrupted if MaxTransfer is bigger than 128K (= 0x20000 or 0x1fe00). It does not harm to set MaxTransfer to 0x1fe00 everywhere and always.

BTW, which file system is used for your Emulation partition?

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: What now? I/O errors on big files
« Reply #3 on: June 23, 2014, 04:37:10 PM »
Is there consistent I/O errors upon only reading?
 

Offline rvo_nlTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2006
  • Posts: 860
    • Show only replies by rvo_nl
Re: What now? I/O errors on big files
« Reply #4 on: June 23, 2014, 07:12:58 PM »
Quote from: Thomas;767404
IDEfix solves MaxTransfer problems only while the IDEfix software is running. If you copy files before the software is started, restrictions of the Kickstart driver apply.

Understood, but idefix was running when I copied the files. It was the only way to get the drive, connect on port 1 of the Express, to be recognised at all. I still suspect my hard drive doesnt like the fast mode of the Idefix Express. Strange, since its quite a new 250Gb drive. (yes, and Im using only 8. I know, I suck)

 
Quote from: Thomas;767404
And for that MaxTransfer is way too high. Files bigger than 128K are corrupted if MaxTransfer is bigger than 128K (= 0x20000 or 0x1fe00). It does not harm to set MaxTransfer to 0x1fe00 everywhere and always.

Thanks for that, I couldnt find a definitive answer to that anywhere. Have to admit, I dont have any trouble with my settings on my main Idefix/060 machine, but those 2 hardware additions may have something to do with that?

Quote from: Thomas;767404
BTW, which file system is used for your Emulation partition?

So far, nothing. Or just Workbench' Custom File System. I have already got Mac and PC partitions working on my main machine, not sure when / if Im going to bother with all that again for the other 2 machines. They are not auto mounted so not that important right now. Ofcourse they are within the first 4Gb.
Amiga 1200 (1d4) Kickstart 3.1 (40.68), Elbox Power/Winner tower (450w psu), BlizzardPPC 603e+ @240mhz & 060 @50mhz, 256MB, Bvision, IDE-fix Express, IndivisionAGA, 120GB IDE, cd, dvd, Cocolino, Micronik Keycase, PCMCIA Ethernet, Ratte monitor switcher, Prelude1200, triple boot WB3.1 / OS3.9 / OS4.1, Win95 / MacOS8.1
 

Offline rvo_nlTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2006
  • Posts: 860
    • Show only replies by rvo_nl
Re: What now? I/O errors on big files
« Reply #5 on: June 23, 2014, 07:14:33 PM »
going to try Idefix 'slow mode' now and will post the results. Will also use a shorter IDE cable and make sure Maxtransfer settings are at 0x1fe00.

edit: so far, so good. copied archives unpack fine when copied to ram on my main machine. Now copying the whole 5Gb again. Results later.
« Last Edit: June 23, 2014, 07:41:18 PM by rvo_nl »
Amiga 1200 (1d4) Kickstart 3.1 (40.68), Elbox Power/Winner tower (450w psu), BlizzardPPC 603e+ @240mhz & 060 @50mhz, 256MB, Bvision, IDE-fix Express, IndivisionAGA, 120GB IDE, cd, dvd, Cocolino, Micronik Keycase, PCMCIA Ethernet, Ratte monitor switcher, Prelude1200, triple boot WB3.1 / OS3.9 / OS4.1, Win95 / MacOS8.1
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: What now? I/O errors on big files
« Reply #6 on: June 24, 2014, 01:57:10 AM »
Regarding IDE watch out for stubs and improper termination.
 

Offline rvo_nlTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2006
  • Posts: 860
    • Show only replies by rvo_nl
Re: What now? I/O errors on big files
« Reply #7 on: June 24, 2014, 08:08:47 AM »
results: problem solved. I suspect the fast mode of the ide-fix express, mostly due to the other thread about that subject. but thomas is ofcourse right aswell, maxtransfer was set too high, resulting in errors. the shorter IDE cable may have helped, not sure.
 
 thanks all.
Amiga 1200 (1d4) Kickstart 3.1 (40.68), Elbox Power/Winner tower (450w psu), BlizzardPPC 603e+ @240mhz & 060 @50mhz, 256MB, Bvision, IDE-fix Express, IndivisionAGA, 120GB IDE, cd, dvd, Cocolino, Micronik Keycase, PCMCIA Ethernet, Ratte monitor switcher, Prelude1200, triple boot WB3.1 / OS3.9 / OS4.1, Win95 / MacOS8.1
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: What now? I/O errors on big files
« Reply #8 on: June 24, 2014, 11:56:43 PM »
Increase maxtransfer when reading. It ought to eliminate some causes to the problem?

In order to understand the nature of this system.