Middle zone size: 18446744073709544784 sectors #287

Closed
opened 2026-01-29 15:15:06 +00:00 by claunia · 0 comments
Owner

Originally created by @FakeShemp on GitHub (Nov 13, 2019).

Prerequisites

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

Check and fill as appropriate:

  • I was running DiscImageChef under Linux [Ubuntu 19.10]...
  • ...using .NET Core [3.0.100]...
  • ...in 64-bit

Description

When I try to dump an Xbox or Xbox 360 game with a Kreon drive, the middle zone size reported is extremely large; around 18446744073709544784 sectors.

Exact command line used:

DiscImageChef dump-media /dev/sr0 THUG2.dicf

Expected behavior:

The disc to dump.

Actual behavior:

After a while of dumping, the Chef starts to actually try to dump all those billions of sectors, at which point the drive spins down. I never waited a million years for the dump to finish.

If command was expected to work with a device fill this out:

  • Manufacturer: TSST
  • Model: TS-H352 (Kreon)
  • Bus:
    • USB

Output of command execution with debug output enabled

./DiscImageChef -d dump-media /dev/sr0 THUG2.dicf
DiscImageChef 4.5.99.1693-f0897168 built by rebecca-H67MA-UD2H-B3 in Debug
Copyright © 2011-2019 Natalia Portillo

DEBUG (Dump-Media command): --cicm-xml=
DEBUG (Dump-Media command): --debug=True
DEBUG (Dump-Media command): --device=/dev/sr0
DEBUG (Dump-Media command): --encoding=
DEBUG (Dump-Media command): --first-pregap=False
DEBUG (Dump-Media command): --force=False
DEBUG (Dump-Media command): --force=False
DEBUG (Dump-Media command): --format=
DEBUG (Dump-Media command): --no-metadata=False
DEBUG (Dump-Media command): --options=Mono.Options.OptionSet
DEBUG (Dump-Media command): --output=THUG2.dicf
DEBUG (Dump-Media command): --persistent=False
DEBUG (Dump-Media command): --resume=True
DEBUG (Dump-Media command): --retry-passes=5
DEBUG (Dump-Media command): --skip=512
DEBUG (Dump-Media command): --stop-on-error=False
DEBUG (Dump-Media command): --verbose=False
DEBUG (Dump-Media command): Parsed options:
DEBUG (SCSI Device): INQUIRY took 4 ms.
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 0.0055 ms.
DEBUG (SCSI Device): GET CONFIGURATION took 4 ms.
Output image format: DiscImageChef format.
DEBUG (SCSI Device): TEST UNIT READY took 0.4469 ms.

DEBUG (SCSI Device): GET CONFIGURATION took 8 ms.
DEBUG (SCSI Device): READ CAPACITY took 0.5347 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7442 ms.
PFI:                                                                           
Disc is a 120mm DVD-ROM version 1
Disc claims conformation to ECMA-267
Disc maximum transfer rate is 10,08 Mbit/sec.
Disc has 2 layers
Layers are in opposite track path
Pitch size is 0,147 μm/bit
Track size is 0,74 μm
Data area starts at PSN 30000h
Data area ends at PSN FCE5EFh
Layer 0 ends at PSN 31AAFh

DEBUG (SCSI Device): READ DISC STRUCTURE took 4 ms.
DEBUG (SCSI Device): INQUIRY took 0.6074 ms.
Uploading statistics
Reading Xbox Security Sector.                                                  
DEBUG (SCSI Device): KREON EXTRACT SS took 12 ms.
Decoding Xbox Security Sector.                                                 
DEBUG (Dump-media command): Getting video partition size
Locking drive.                                                                 
DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0053 ms.
Getting video partition size.                                                  
DEBUG (SCSI Device): READ CAPACITY took 0.6814 ms.
Reading Physical Format Information.                                           
DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7271 ms.
DEBUG (Dump-media command): Video partition total size: 3629407 sectors
Reading Disc Manufacturing Information.                                        
DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7109 ms.
DEBUG (Dump-media command): Getting game partition size
Unlocking drive (Xtreme).                                                      
DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0036 ms.
Getting game partition size.                                                   
DEBUG (SCSI Device): READ CAPACITY took 0.5222 ms.
DEBUG (Dump-media command): Game partition total size: 3629408 sectors
DEBUG (Dump-media command): Getting middle zone size
Unlocking drive (Wxripper).                                                    
DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0035 ms.
Getting disc size.                                                             
DEBUG (SCSI Device): READ CAPACITY took 0.498 ms.
Reading Physical Format Information.                                           
DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7434 ms.
DEBUG (Dump-media command): Unlocked total size: 3629407 sectors
Reading Disc Manufacturing Information.                                        
DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7454 ms.
Video layer 0 size: 6832 sectors                                               
Video layer 1 size: 3622576 sectors                                            
Middle zone size: 18446744073709544784 sectors                                 
Game data size: 3629408 sectors                                                
Total size: 7245152 sectors                                                    
Real layer break: 1814704                                                      
                                                                               
DEBUG (SCSI Device): READ (12) took 24 ms.
Using SCSI READ (12) command.                                                  
DEBUG (SCSI Device): READ (12) took 0.0033 ms.
DEBUG (SCSI Device): READ (12) took 4 ms.
Reading 32 sectors at a time.                                                  
DEBUG (DiscImageChef format plugin): Got a shift of 12 for 4096 sectors per block
DEBUG (DiscImageChef format plugin): Index at 7073 contains 9 entries
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type UserData is indexed to be at 104
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type DvdPfi is indexed to be at 1221
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxSecuritySector is indexed to be at 1301
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type DvdDmi is indexed to be at 2328
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxPfi is indexed to be at 2414
DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxDmi is indexed to be at 2494
DEBUG (DiscImageChef format plugin): Block type DumpHardwareBlock with data type NoData is indexed to be at 2580
DEBUG (DiscImageChef format plugin): Block type DeDuplicationTable with data type UserData is indexed to be at 2717
DEBUG (DiscImageChef format plugin): Block type TracksBlock with data type NoData is indexed to be at 7018
DEBUG (DiscImageChef format plugin): Found dump hardware block at position 2580
DEBUG (DiscImageChef format plugin): Decompressing DDT...
DEBUG (DiscImageChef format plugin): Took 0.1435363 seconds to decompress DDT
DEBUG (DiscImageChef format plugin): In memory DDT?: True
Resuming from block 577.                                                       
Reading game partition.                                                        
Reading sector 577 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 40 ms.
Reading sector 609 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 4 ms.
Reading sector 641 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 24 ms.
Reading sector 673 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms.
Reading sector 705 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 16 ms.
Reading sector 737 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms.
Reading sector 769 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms.
... More sectors until I cancel the dump
Originally created by @FakeShemp on GitHub (Nov 13, 2019). ### 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 DiscImageChef under Linux [Ubuntu 19.10]... * [X] ...using .NET Core [3.0.100]... * [X] ...in 64-bit ### Description When I try to dump an Xbox or Xbox 360 game with a Kreon drive, the middle zone size reported is extremely large; around 18446744073709544784 sectors. ### Exact command line used: `DiscImageChef dump-media /dev/sr0 THUG2.dicf` ### Expected behavior: The disc to dump. ### Actual behavior: After a while of dumping, the Chef starts to actually try to dump all those billions of sectors, at which point the drive spins down. I never waited a million years for the dump to finish. ### If command was expected to work with a device fill this out: * **Manufacturer**: TSST * **Model**: TS-H352 (Kreon) * **Bus**: * [X] USB ### Output of command execution with debug output enabled ``` ./DiscImageChef -d dump-media /dev/sr0 THUG2.dicf DiscImageChef 4.5.99.1693-f0897168 built by rebecca-H67MA-UD2H-B3 in Debug Copyright © 2011-2019 Natalia Portillo DEBUG (Dump-Media command): --cicm-xml= DEBUG (Dump-Media command): --debug=True DEBUG (Dump-Media command): --device=/dev/sr0 DEBUG (Dump-Media command): --encoding= DEBUG (Dump-Media command): --first-pregap=False DEBUG (Dump-Media command): --force=False DEBUG (Dump-Media command): --force=False DEBUG (Dump-Media command): --format= DEBUG (Dump-Media command): --no-metadata=False DEBUG (Dump-Media command): --options=Mono.Options.OptionSet DEBUG (Dump-Media command): --output=THUG2.dicf DEBUG (Dump-Media command): --persistent=False DEBUG (Dump-Media command): --resume=True DEBUG (Dump-Media command): --retry-passes=5 DEBUG (Dump-Media command): --skip=512 DEBUG (Dump-Media command): --stop-on-error=False DEBUG (Dump-Media command): --verbose=False DEBUG (Dump-Media command): Parsed options: DEBUG (SCSI Device): INQUIRY took 4 ms. DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 0.0055 ms. DEBUG (SCSI Device): GET CONFIGURATION took 4 ms. Output image format: DiscImageChef format. DEBUG (SCSI Device): TEST UNIT READY took 0.4469 ms. DEBUG (SCSI Device): GET CONFIGURATION took 8 ms. DEBUG (SCSI Device): READ CAPACITY took 0.5347 ms. DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7442 ms. PFI: Disc is a 120mm DVD-ROM version 1 Disc claims conformation to ECMA-267 Disc maximum transfer rate is 10,08 Mbit/sec. Disc has 2 layers Layers are in opposite track path Pitch size is 0,147 μm/bit Track size is 0,74 μm Data area starts at PSN 30000h Data area ends at PSN FCE5EFh Layer 0 ends at PSN 31AAFh DEBUG (SCSI Device): READ DISC STRUCTURE took 4 ms. DEBUG (SCSI Device): INQUIRY took 0.6074 ms. Uploading statistics Reading Xbox Security Sector. DEBUG (SCSI Device): KREON EXTRACT SS took 12 ms. Decoding Xbox Security Sector. DEBUG (Dump-media command): Getting video partition size Locking drive. DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0053 ms. Getting video partition size. DEBUG (SCSI Device): READ CAPACITY took 0.6814 ms. Reading Physical Format Information. DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7271 ms. DEBUG (Dump-media command): Video partition total size: 3629407 sectors Reading Disc Manufacturing Information. DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7109 ms. DEBUG (Dump-media command): Getting game partition size Unlocking drive (Xtreme). DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0036 ms. Getting game partition size. DEBUG (SCSI Device): READ CAPACITY took 0.5222 ms. DEBUG (Dump-media command): Game partition total size: 3629408 sectors DEBUG (Dump-media command): Getting middle zone size Unlocking drive (Wxripper). DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0035 ms. Getting disc size. DEBUG (SCSI Device): READ CAPACITY took 0.498 ms. Reading Physical Format Information. DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7434 ms. DEBUG (Dump-media command): Unlocked total size: 3629407 sectors Reading Disc Manufacturing Information. DEBUG (SCSI Device): READ DISC STRUCTURE took 0.7454 ms. Video layer 0 size: 6832 sectors Video layer 1 size: 3622576 sectors Middle zone size: 18446744073709544784 sectors Game data size: 3629408 sectors Total size: 7245152 sectors Real layer break: 1814704 DEBUG (SCSI Device): READ (12) took 24 ms. Using SCSI READ (12) command. DEBUG (SCSI Device): READ (12) took 0.0033 ms. DEBUG (SCSI Device): READ (12) took 4 ms. Reading 32 sectors at a time. DEBUG (DiscImageChef format plugin): Got a shift of 12 for 4096 sectors per block DEBUG (DiscImageChef format plugin): Index at 7073 contains 9 entries DEBUG (DiscImageChef format plugin): Block type DataBlock with data type UserData is indexed to be at 104 DEBUG (DiscImageChef format plugin): Block type DataBlock with data type DvdPfi is indexed to be at 1221 DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxSecuritySector is indexed to be at 1301 DEBUG (DiscImageChef format plugin): Block type DataBlock with data type DvdDmi is indexed to be at 2328 DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxPfi is indexed to be at 2414 DEBUG (DiscImageChef format plugin): Block type DataBlock with data type XboxDmi is indexed to be at 2494 DEBUG (DiscImageChef format plugin): Block type DumpHardwareBlock with data type NoData is indexed to be at 2580 DEBUG (DiscImageChef format plugin): Block type DeDuplicationTable with data type UserData is indexed to be at 2717 DEBUG (DiscImageChef format plugin): Block type TracksBlock with data type NoData is indexed to be at 7018 DEBUG (DiscImageChef format plugin): Found dump hardware block at position 2580 DEBUG (DiscImageChef format plugin): Decompressing DDT... DEBUG (DiscImageChef format plugin): Took 0.1435363 seconds to decompress DDT DEBUG (DiscImageChef format plugin): In memory DDT?: True Resuming from block 577. Reading game partition. Reading sector 577 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 40 ms. Reading sector 609 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 4 ms. Reading sector 641 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 24 ms. Reading sector 673 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms. Reading sector 705 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 16 ms. Reading sector 737 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms. Reading sector 769 of 7245152 (0.000 MiB/sec.)DEBUG (SCSI Device): READ (12) took 12 ms. ... More sectors until I cancel the dump ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#287