Aaru icon indicating copy to clipboard operation
Aaru copied to clipboard

Verification counts error at same address multiple time in SmartE image

Open TheRogueArchivist opened this issue 3 years ago • 1 comments

Prerequisites

  • [X] Are you running the latest version?
  • [X] Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • [X] I was running Aaru under Windows 10...
  • [ ] I was running Aaru under Linux [version here]...
  • [ ] I was running Aaru under macOS [version here]...
  • [ ] ...in 32-bit
  • [X] ...in 64-bit
  • [X] ...using an Intel / AMD processor
  • [ ] ...using an ARM or Apple Silicon processor
    • Image format: CCD
    • Application that created the image: DIC
  • [ ] I was converting the image...
    • ...Destination image format:
  • [ ] I was listing the filesystem contents...
  • [ ] I was extracting the filesystem contents...
    • ...Filesystem:
    • [ ] Analyze command recognizes the filesystem
  • [ ] I was creating a metadata sidecar
  • [ ] I was checksumming the image
  • [X] I was verifying the image

Description

When verifying a CCD image of a disc protected with SmartE, the verify command lists 10 sectors as bad, and when running with debug, Aaru says that the same address is bad 10 times instead of 10 different addresses.

Exact command line used:

aaru -d i verify .\AOE3X.ccd

Expected behavior:

Actual behavior:

Output of command execution with debug output enabled

aaru 5.2.99.3380-alpha+10d286ad built by DESKTOP-8B4K7NM in Debug
Copyright c 2011-2021 Natalia Portillo

DEBUG (Verify command): --debug=True
DEBUG (Verify command): --input=.\AOE3X.ccd
DEBUG (Verify command): --verbose=False
DEBUG (Verify command): --verify-disc=True
DEBUG (Verify command): --verify-sectors=True
DEBUG (Format detection): Trying plugin Aaru Format
DEBUG (Format detection): Trying plugin ACT Apricot Disk Image
DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure
DEBUG (Format detection): Trying plugin Anex86 Disk Image
DEBUG (Anex86 plugin): fdihdr.unknown = 1869366107
DEBUG (Anex86 plugin): fdihdr.hddtype = 1145267566
DEBUG (Anex86 plugin): fdihdr.hdrSize = 1443499357
DEBUG (Anex86 plugin): fdihdr.dskSize = 1769173605
DEBUG (Anex86 plugin): fdihdr.bps = 859663983
DEBUG (Anex86 plugin): fdihdr.spt = 1146817037
DEBUG (Anex86 plugin): fdihdr.heads = 1566798697
DEBUG (Anex86 plugin): fdihdr.cylinders = 1867778573
DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image
DEBUG (Format detection): Trying plugin Apple 2IMG
DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool
DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2
DEBUG (Format detection): Trying plugin Apple New Disk Image Format
DEBUG (Format detection): Trying plugin Apple NIB
DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format
DEBUG (Format detection): Trying plugin Basic Lisa Utility
DEBUG (Format detection): Trying plugin BlindWrite 4
DEBUG (Format detection): Trying plugin BlindWrite 5
DEBUG (Format detection): Trying plugin CDRDAO tocfile
DEBUG (Format detection): Trying plugin CDRWin cuesheet
DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File)
DEBUG (Format detection): Trying plugin CloneCD
DEBUG (CloneCD plugin): Found Version at line 2
DEBUG (CloneCD plugin): Found TocEntries at line 4
DEBUG (CloneCD plugin): Found Sessions at line 5
DEBUG (CloneCD plugin): Found DataTracksScrambled at line 6
DEBUG (CloneCD plugin): Found CDTextLength at line 7
DEBUG (CloneCD plugin): Found PreGapMode at line 9
DEBUG (CloneCD plugin): Found PreGapSubC at line 10
DEBUG (CloneCD plugin): Found Session at line 12
DEBUG (CloneCD plugin): Found Point at line 13
DEBUG (CloneCD plugin): Found ADR at line 14
DEBUG (CloneCD plugin): Found Control at line 15
DEBUG (CloneCD plugin): Found TrackNo at line 16
DEBUG (CloneCD plugin): Found AMin at line 17
DEBUG (CloneCD plugin): Found ASec at line 18
DEBUG (CloneCD plugin): Found AFrame at line 19
DEBUG (CloneCD plugin): Found ALBA at line 20
DEBUG (CloneCD plugin): Found Zero at line 21
DEBUG (CloneCD plugin): Found PMin at line 22
DEBUG (CloneCD plugin): Found PSec at line 23
DEBUG (CloneCD plugin): Found PFrame at line 24
DEBUG (CloneCD plugin): Found PLBA at line 25
DEBUG (CloneCD plugin): Found Session at line 27
DEBUG (CloneCD plugin): Found Point at line 28
DEBUG (CloneCD plugin): Found ADR at line 29
DEBUG (CloneCD plugin): Found Control at line 30
DEBUG (CloneCD plugin): Found TrackNo at line 31
DEBUG (CloneCD plugin): Found AMin at line 32
DEBUG (CloneCD plugin): Found ASec at line 33
DEBUG (CloneCD plugin): Found AFrame at line 34
DEBUG (CloneCD plugin): Found ALBA at line 35
DEBUG (CloneCD plugin): Found Zero at line 36
DEBUG (CloneCD plugin): Found PMin at line 37
DEBUG (CloneCD plugin): Found PSec at line 38
DEBUG (CloneCD plugin): Found PFrame at line 39
DEBUG (CloneCD plugin): Found PLBA at line 40
DEBUG (CloneCD plugin): Found Session at line 42
DEBUG (CloneCD plugin): Found Point at line 43
DEBUG (CloneCD plugin): Found ADR at line 44
DEBUG (CloneCD plugin): Found Control at line 45
DEBUG (CloneCD plugin): Found TrackNo at line 46
DEBUG (CloneCD plugin): Found AMin at line 47
DEBUG (CloneCD plugin): Found ASec at line 48
DEBUG (CloneCD plugin): Found AFrame at line 49
DEBUG (CloneCD plugin): Found ALBA at line 50
DEBUG (CloneCD plugin): Found Zero at line 51
DEBUG (CloneCD plugin): Found PMin at line 52
DEBUG (CloneCD plugin): Found PSec at line 53
DEBUG (CloneCD plugin): Found PFrame at line 54
DEBUG (CloneCD plugin): Found PLBA at line 55
DEBUG (CloneCD plugin): Found Session at line 57
DEBUG (CloneCD plugin): Found Point at line 58
DEBUG (CloneCD plugin): Found ADR at line 59
DEBUG (CloneCD plugin): Found Control at line 60
DEBUG (CloneCD plugin): Found TrackNo at line 61
DEBUG (CloneCD plugin): Found AMin at line 62
DEBUG (CloneCD plugin): Found ASec at line 63
DEBUG (CloneCD plugin): Found AFrame at line 64
DEBUG (CloneCD plugin): Found ALBA at line 65
DEBUG (CloneCD plugin): Found Zero at line 66
DEBUG (CloneCD plugin): Found PMin at line 67
DEBUG (CloneCD plugin): Found PSec at line 68
DEBUG (CloneCD plugin): Found PFrame at line 69
DEBUG (CloneCD plugin): Found PLBA at line 70
DEBUG (CloneCD plugin): Disc Type: 0
Checking sector 512 of 318113, on track 1DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC P check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, fails ECC Q check
DEBUG (CD checksums): Mode 1 sector at address: 00:15:19, got CRC 0xE1E613A7 expected 0x00000000
All sector checksums are correct
Total sectors........... 318113
Total errors............ 10
Total unknowns.......... 0
Total errors+unknowns... 10

Image

TheRogueArchivist avatar Aug 21 '21 07:08 TheRogueArchivist

SmartE images created by DIC actually contain 10 sectors with the same MSF. AFAIK that's how SmartE works.

vvs- avatar Sep 06 '21 20:09 vvs-