superg / redumper

Low level CD dumper utility
GNU General Public License v3.0
187 stars 17 forks source link

DVD sector size on KREON drives #100

Closed superg closed 7 months ago

superg commented 7 months ago

Is incorrectly reported if using SCSI READ_CAPACITY Prioritize size calculation from DVD physical structures, if structures are not reported (some lame drives), fallback to READ_CAPACITY.

mnadareski commented 7 months ago

According to claunia, the value being returned is not the equivalent of -1. The value is the equivalent of -16973820

mnadareski commented 7 months ago

Another tidbit that may help: "being a normal DVD maybe the Kreon is trying to read the second PFI from, well, a normal DVD block with normal data"

superg commented 7 months ago

Good to know, it's close to 24-bit signed integer and internally 24-bit value is using to report the structure size (might be related): https://github.com/superg/redumper/blob/main/dvd/dvd_dump.ixx#L160