Welcome, Guest. Please login or register.

Author Topic: FileSystem corruption with CF card  (Read 2514 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline darkageTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 583
    • Show all replies
FileSystem corruption with CF card
« on: March 30, 2012, 07:05:01 AM »
It seems like if I create a partition greater than 2gb on my CF card, I eventually get file system corruption.   ie..    1 massive 7.5gb partition works ok using FFS, but when I copy heaps of whdload data it gets some sort of checksum error.

I've tried updating scsi.device and replacing the FFS library with the ClassicWB 8gb and 128gb support...   Seems to always bomb.

I do correctly set MaxTransfers 0x1fe00, buffers = 100, etc.. Tried setting up SFS but couldn't get it to format correctly, it comes up with a checksum error or something when it accesses the partition to format.. I've correctly flagged the partition as  a SFS/00 one. and installed support for it..

I keep on going around in circles, doing diskpart (clean all) operation everytime I test a new method..  It seems very moody... Using a Sandisk Ultra 30MB/s card..

Anyone have any wise more fail safe approach..  I've used both HDToolbox and HDinsttool making sure each time I try I only soley use one of those utils since I've heard they dont like to interact with each others work done.
« Last Edit: March 30, 2012, 07:05:55 AM by darkage »
 

Offline darkageTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 583
    • Show all replies
Re: FileSystem corruption with CF card
« Reply #1 on: March 31, 2012, 05:10:16 AM »
So far so good, a list of things I have done to be able to manage formatting in SFS successfully -

- Updated Scsi.device with absolute latest update
- Updated both FS with newer versions FFS & SFS
- Used maxtransfer value of 0x1f000

I just selected the default partitioning from HDToolbox which setup 2x 3.8Gb-ish Partitions, I couldn't setup one large one seems like the parameters get screwed up..  After that I am able to format in SFS without error..

After reading the benefits of PFS over SFS, I'll try and see if I can get PFS going..

Many thanks!
 

Offline darkageTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 583
    • Show all replies
Re: FileSystem corruption with CF card
« Reply #2 on: April 02, 2012, 06:45:55 AM »
Well I decided to stick with SFS for starters after reading PFS isn't supported by default with ClassicWB hard drive image so you have to be careful what tools you need to use..

I've managed to copy 4 Gigs of data without it crashing etc...  but for some reason my Boot Partition 800mb SFS one won't boot on my real amiga..  Boots okay by itself on Winuae..

Before when formatting in FFS before 2GB it booted fine on my Real Amiga..   Anything special I need to do concerning a SFS boot partition ?
 

Offline darkageTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 583
    • Show all replies
Re: FileSystem corruption with CF card
« Reply #3 on: April 14, 2012, 07:57:41 PM »
I've cleaned my CF card and started again.. No problems in creating 2x SFS partitions..  ie 900MB system and 6.4GB something non-bootable data partition..

Weird thing is my CF card only boots if I disable the 2nd partition from the kickstart mouse click boot menu...  Both patitions are SFS/00 and Im using KS 3.0 roms..  

Hmm Im missing something here.
« Last Edit: April 14, 2012, 08:13:02 PM by darkage »
 

Offline darkageTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 583
    • Show all replies
Re: FileSystem corruption with CF card
« Reply #4 on: April 16, 2012, 01:40:16 AM »
Quote from: paul1981;688602
You've possibly set your 6.4GB partition as bootable with a priority above that of your 1st partition.  Only the 1st partition should be marked as bootable (your 900MB one) with its boot priority set below that of the floppy drive DF0:


Definitely made sure 2nd partition was not flagged as bootable..  Not sure where to set the boot priority.. from memory when you partition theres a SCSI ID and within the actual a1200 boot menu theres boot priority..

Using my CF Card in IDE mode btw.  

I guess more trial and error :)