speed47 / dvdisaster

A tool providing additional ECC protection for optical media (unofficial version)
https://dvdisaster.jcea.es
GNU General Public License v3.0
259 stars 20 forks source link

Scan hangs without reading data #89

Closed branchmispredictor closed 2 months ago

branchmispredictor commented 4 months ago

I am using Dvdisaster on Windows with a Pioneer BD-RW BDR-XD08 drive. I burned a BDXL 100GB disk using ImgBurn, based on an ISO generated by dvdisaster.

After burning, this disk shows up properly in windows containing all the files I expect it to. However, trying to verify the ECC data on disk using the "Scan" option from dvdisaster simply hangs, without reading anything from disk. Clicking "stop" at this point results in no change either, the program hanging.

Please see the log from verbose mode listed below:


09f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0a90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0aa0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ab0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ac0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ad0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ae0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0af0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0b90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ba0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0bb0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0bc0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0bd0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0be0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0bf0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0c90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ca0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0cb0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0cc0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0cd0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ce0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0cf0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0d90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0da0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0db0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0dc0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0dd0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0de0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0df0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e00: 00 00 00 00 45 42 01 00  00 00 00 00 ff ff ff ff  ....EB.. ........ 
0e10: ff ff ff ff 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0e90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ea0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0eb0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ec0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ed0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ee0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ef0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0f90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0fa0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0fb0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0fc0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0fd0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0fe0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
0ff0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ 
1000: 00 00 00 00                                       ....
#BD: BD medium successfully probed, type BD-R
# query_type() returned.
# deciding reading strategy...
Using READ(10).
GetImageFingerprint(16): read & cached

ExamineUDF(Device: PIONEER BD-RW BDR-XD08 1.02)
 Examining the ISO file system...
  Sector 16:
   Volume descriptor type    = 1
   Volume descriptor version = 1
   Standard identifier       = CD001
   -> primary volume descriptor:
    System identifier         : |LINUX                           |
    Volume identifier         : |Sony Handycam                   |
    Volume space size         : 32761665 sectors
    Volume set size           : 1
    Volume sequence size      : 1
    Logical block size        : 2048
    Path table size           : 1620 bytes
    L-Path table location     : 21
    Opt L-Path table location : 0
    M-Path table location     : 23
    Opt M-Path table location : 0
    Volume creation date/time : 15-02-2024 17:28:45.01
    Volume modification d/t   : 15-02-2024 17:28:45.01
    Volume expiration d/t     : 00-00-0000 00:00:00.00
    Volume effective d/t      : 15-02-2024 17:28:45.01
    File structure version    : 1
  Sector 17:
   Volume descriptor type    = 2
   Volume descriptor version = 2
   Standard identifier       = CD001
   -> supplementary volume descriptor: *skipped*
  Sector 18:
   Volume descriptor type    = 2
   Volume descriptor version = 1
   Standard identifier       = CD001
   -> supplementary volume descriptor: *skipped*
  Sector 19:
   Volume descriptor type    = 255
   Volume descriptor version = 1
   Standard identifier       = CD001
   -> volume descriptor set terminator;
      end of ISO file system parsing.
 Examining the UDF file system...
  not yet implemented.

# *** read_capacity(PIONEER BD-RW BDR-XD08 1.02) ***
 -> 47305567
ExamineECC() started
...trying RS01
...trying RS02
RS02Recognize: medium D:
try_sector: trying sector 32761665
try_sector: no cookie, skipping current modulo
try_sector: trying sector 32761515
try_sector: read error, trying next header
RS02Recognize: skipping exhaustive RS02 search
...trying RS03
RS03RecognizeImage: medium D:
FindRS03HeaderInImage: medium D:
FindRS03HeaderInImage(): Header found at pos +0
...augmented image found
# Calling query_size()
# *** query_size(PIONEER BD-RW BDR-XD08 1.02) ***
Medium size obtained from ECC header: 47305560 sectors
# returned: 47305560 sectors
Medium "Sony Handycam": BD-R, 47305560 sectors, Ecc, created 15-02-2024, Manuf.-ID: VERBAT,IMk.

Scanning medium for read errors.
Reading CRC information from ecc data (RS03) ... Calculated layout for RS03 image:
data sectors      = 32761665
data padding      = 73957
layer size        = 185512
total sectors     = 47305560
medium capacity   = 0
header position   = 32761665
first CRC sector  = 32835624
first ECC sector  = 33021136
ndata             = 178
nroots            = 77 (43.3%)
branchmispredictor commented 2 months ago

The two following non-default settings seems to have fixed this issue: image