English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 01 May 2024, 13:15   #1
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Checksum Error on SD card repair?

Using my 1200 Pistorm this morning I got a requester appear with the worrying message:


SDH0: has a checksum error on disk block 1478925




Am I right in thinking any Amiga repair software is not going to be equipped to fix an SD card? Things like Quarter master tools - or HDTools configured for SD?


Thanks for any advice.
Angus is offline  
Old 01 May 2024, 14:01   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
It depends on the drive/partition setup really, and not the underlying technology. Most tools won't work above the 4GB point on the drive, so if it's a partition fully within the first 4GB you should be able to use most tools. For more modern drives, there's a version of DiskDoctor included with OS 3.2 that can handle FFS partitions above 4GB.

What might be pertinent though is to understand why it happened. It might be a corrupted file from a write operation that was interrupted, or it could be an indication of some hardware issue. It might make sense to take an image of the card at this point in case it deteriorates, and use any recovery tools on the image instead.
Daedalus is offline  
Old 01 May 2024, 14:19   #3
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,648
The Amiga has no idea whether or not you are using an SD card. It's just a block device with a file system. Any tool will work as good (or bad) as with a real hard disk.

However, any tool that does lots of write operations during repair might actually kill the SD card, as those are not made for bulk writes.

I would image the card, repair it in WinUAE, and write the repaired image back to the card. This way, you also have a backup if the repair fails.
derSammler is offline  
Old 01 May 2024, 14:33   #4
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
It really depends of the filesystem. DiskDoctor for FFS or there is a tool for PFS3 too.

At least it's not the dreaded "disk is invalidated, have to re-validate" which used to take forever

I think PFS3 is a journaled file system? That makes it more difficult to get checksum errors.
alexh is offline  
Old 01 May 2024, 20:26   #5
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Hi guys,

Thanks so much for the responses.

It's my boot partition which I kept as FFS.

I haven't used Disk Doctor since I messed up some floppies with it in probably the late eighties. I'm sure it's very good, but I'm a bit concerned it maybe designed for people who are more clued up than me.

I had a look at it with HDToolBox but the only error checking thing I found wouldn't offer anything useful that I could see.... so I ran an Analyse Repair scan with Quaterback Tools and found the following 2 files with problems:

FileX-68K checksum error - file will be recalculated

Mod1OutrunMSS checksum error - file will be recalculated (music file from Outrun port, I think)

Because I skipped them I can't check the bitmap.

Can I safely select repair instead of skipping them and then repair the bitmap if it needs it.



P.S. I have fairly recent backups of the card on separate cards so this is (hopefully) not a major drama. For now, I'd like to see if I can fix the card in the 1200 and see how it goes from there.

Vaguely connected:
When I installed the Cannonball Outrun port some months back, I could NOT get the Amiga .mods to play with it. I seem to remember something about corrupted files in the roms at the time..... I wonder if this is why I got no music. :-/
Angus is offline  
Old 01 May 2024, 20:44   #6
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
Well, the checksum being wrong means that the file has been modified in some way, and more than likely that modification hasn't been completed. So there's no real harm in trying it because chances are the files are damaged anyway, so if you can recover them it's a bonus. Fixing the checksums shouldn't affect any other files either so even if the files are damaged you can get your volume revalidated and copy back those files from your backups.
Daedalus is offline  
Old 02 May 2024, 12:24   #7
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Quote:
Originally Posted by Daedalus View Post
Well, the checksum being wrong means that the file has been modified in some way, and more than likely that modification hasn't been completed. So there's no real harm in trying it because chances are the files are damaged anyway, so if you can recover them it's a bonus. Fixing the checksums shouldn't affect any other files either so even if the files are damaged you can get your volume revalidated and copy back those files from your backups.



Okay, I allowed Quarterback Tools to fix things, and it ended up saying:


Volume is Useable. Never a hugely inspiring expression.


I cycled through it again, and "Useable" got promoted to "Good".


I'll obviously keep an eye on it, hopefully it was just some issue with those 2 files. (fingers crossed). Thanks guys.
Angus is offline  
Old 02 May 2024, 13:13   #8
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,007
Send a message via MSN to FOL
I found FFS in 3.2 kept currupting my sd every couple of boots. Ended up using pfs3 and never had another issue.



Quote:
Originally Posted by Angus View Post
Okay, I allowed Quarterback Tools to fix things, and it ended up saying:


Volume is Useable. Never a hugely inspiring expression.


I cycled through it again, and "Useable" got promoted to "Good".


I'll obviously keep an eye on it, hopefully it was just some issue with those 2 files. (fingers crossed). Thanks guys.
FOL is offline  
Old 02 May 2024, 16:05   #9
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
I think that could be due to it being a non-journaled FS and having a write buffer? If you reset the Amiga before it has flushed the write buffers then you get corruption. But I may be wrong I am not 100% familiar with Amiga xFS.
alexh is offline  
Old 03 May 2024, 16:31   #10
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Quote:
Originally Posted by FOL View Post
I found FFS in 3.2 kept currupting my sd every couple of boots. Ended up using pfs3 and never had another issue.

Well, my boot partition, SDH0: I thiought I would keep as FFS, all the rest are PFS3.


I'm on 3.1 by the way.
Angus is offline  
Old 03 May 2024, 20:35   #11
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,001
Quote:
Originally Posted by Angus View Post
Well, my boot partition, SDH0: I thiought I would keep as FFS, all the rest are PFS3.
That's a stupid decision. The boot partition benefits the most from the speed of PFS.

Also mixing file systems is strange. If you like PFS, use it everywhere. If you suspect it, don't use it at all. It does not make sense to mix.
thomas is offline  
Old 04 May 2024, 13:26   #12
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Quote:
Originally Posted by thomas View Post
That's a stupid decision. The boot partition benefits the most from the speed of PFS.

Also mixing file systems is strange. If you like PFS, use it everywhere. If you suspect it, don't use it at all. It does not make sense to mix.
Everything okay, Thomas? That seemed unnecessarily rude. :-/ I'm very happy with the performance of my boot partition, and it seemed to me (perhaps wrongly) that with FFS residing in the rom, it might be a good thing for a recovery situation.

Since I got the PiStorm I've been trying out things like Quake 2 that I keep on the other partitions with similar things that really require a more capable system like PFS3. As for having more than one filesystem, why not? Was Jimi Hendrix "wrong", as a left handed guy, to play an inverted right hand Fender? Now there's a question.

As ever I'm grateful for your wisdom, but I'd appreciate it if you can keep it civil.
Angus is offline  
Old 04 May 2024, 14:28   #13
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,001
I apologise, it was not my intention to sound rude. I just wanted to point out the facts.
thomas is offline  
Old 04 May 2024, 18:15   #14
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Quote:
Originally Posted by thomas View Post
I apologise, it was not my intention to sound rude. I just wanted to point out the facts.



No worries, Thomas.
Angus is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difficult case of "Checksum error" WinUAE CF-card Dajo support.WinUAE 31 24 September 2019 09:25
Workbench Checksum Error after WinImage SD Card Restore zorblon98 support.Other 8 29 January 2019 20:48
Fix a Checksum error with SD card as HD Zippy Zapp support.Hardware 4 03 October 2013 17:11
Can't change MaxTransfer, Checksum error CF card in WinUAE KS2.05 WB2.1 e5frog support.Hardware 19 09 June 2010 09:10
Checksum Error leongt New to Emulation or Amiga scene 2 30 June 2002 07:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:01.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14011 seconds with 15 queries