Closed smesgr9000 closed 9 months ago
Unfortunately it didn't work at all:
warning: descramble failed (LBA: [0 .. 262092])
As this is data disc, most likely all your output sectors are zeroed, that's why you get this descrambling warning. I'm not sure if the reason is your changes or it's the drive issue.
I've never seen a drive that can do DATA_SUB and DATA_C2 separately, but cannot do DATA_SUB_C2 or DATA_C2_SUB order, there might be something else at play here.
As a first step for you I would suggest to use --drive-sector-order=DATA_SUB, do a full dump and see if you get descrambling warning. If you don't - you've got legit dump without C2 support but if your disc is not too scratched, it might be just fine. When you specify the sector order, it's sent to drive, but it's up to the drive to honor that or not, drive might ignore or return something unexpected and we don't know that. If you don't get descrambling errors, at least that guarantees that DATA channel is good.
I also want to mention that right now I am in a middle of GENERIC drive dumping rework that will improve overall support and do more meaningful diagnostics. Another thing that I plan after this is an automatic drive tester command that will intelligently try all sector order combinations / sector types / C2 offsets / leadin / leadout / cache and will output detail drive report. Depending on your use case you might want just to wait a little bit ;)
hm i think you are right. I did a redump with only DATA_SUB and the same error message occured. Afterwards I did compare both .subcode files. Alot of zeros and later some "@". There are some minor differences between both dumps some bits here and there are neither @ nor zero on both dumps differ.
Visuel HexDiff v 0.0.53 by tTh 2007 dec 7bits
12060512 00 40 00 40 00 00 40 40 00 00 00 23 00 40 40 00 @ @ @@ # @@
12060528 00 00 00 00 00 00 00 00 00 00 00 40 00 40 40 40 @ @@@
12060544 00 40 00 40 00 40 00 40 00 00 00 00 00 40 40 00 @ @ @ @ @@
12060560 00 40 00 00 00 40 00 00 40 40 40 00 00 00 00 40 @ @ @@@ @
12060576 00 40 00 00 00 00 00 40 00 00 00 00 00 00 00 40 @ @ @
12060592 00 00 00 00 00 00 00 40 00 00 00 40 00 40 40 40 @ @ @@@
12060608 00 40 00 40 00 00 40 40 00 00 00 00 00 40 40 40 @ @ @@ @@@
12060624 00 00 00 00 00 00 00 00 00 00 00 40 00 40 40 40 @ @@@
12060640 00 40 00 40 00 40 00 40 00 00 00 00 00 40 40 40 @ @ @ @ @@@
12060656 40 40 40 40 40 40 40 00 40 00 00 40 00 00 00 40 @@@@@@@ @ @ @
12060672 00 40 00 00 00 00 00 40 00 00 00 00 00 00 00 40 @ @ @
12060688 00 00 00 00 00 00 00 40 00 00 00 40 00 40 40 40 @ @ @@@
** dump_231230_234812_sg1.subcode 29495520 12060512 40%
12060512 00 40 00 40 00 00 40 40 00 00 00 b3 00 40 40 00 @ @ @@ @@
12060528 00 00 00 00 00 00 00 00 00 00 00 40 00 40 40 40 @ @@@
12060544 00 40 00 40 00 40 00 40 00 00 00 00 00 40 40 00 @ @ @ @ @@
12060560 00 40 00 00 00 40 00 00 40 40 40 00 00 00 00 40 @ @ @@@ @
12060576 00 40 00 00 00 00 00 40 00 00 00 00 00 00 00 40 @ @ @
12060592 00 00 00 00 00 00 00 40 00 00 00 40 00 40 40 40 @ @ @@@
12060608 00 40 00 40 00 00 40 40 00 00 00 00 00 40 40 40 @ @ @@ @@@
12060624 00 00 00 00 00 00 00 00 00 00 00 40 00 40 40 40 @ @@@
12060640 00 40 00 40 00 40 00 40 00 00 00 00 00 40 40 40 @ @ @ @ @@@
12060656 40 40 40 40 40 40 40 00 40 00 00 40 00 00 00 40 @@@@@@@ @ @ @
12060672 00 40 00 00 00 00 00 40 00 00 00 00 00 00 00 40 @ @ @
12060688 00 00 00 00 00 00 00 40 00 00 00 40 00 40 40 40 @ @ @@@
dump_240101_093649_sg1.subcode 29495520 12060512 40%
edit: Additionally at the end (last 1%) there are some "80 c0 80 80 80 80 80 c0 80" patterns
Subchannel will always be different due to not having enough redundancy there, this is expected and there is a way (crc16) to tell whether subchannel frame is valid or not.
Unclear what to do here.
I own an BR drive which does not allow DATA_SUB_C2 or DATA_C2_SUB. In both configurations the following error occurs:
[LBA: 100] SCSI error (SC: CHECK CONDITION, SK: ILLEGAL REQUEST, ASC: INVALID FIELD IN CDB)
but works fine in both DATA_SUB or DATA_C2. Thus I was wondering if it would be possible to read every sector twice and combine the data. As a proof of concept i hacked the current git:
diff.txt
as a result my dump run ended without an error - but I'm still unsure if it worked:
is there a good way to check if subcode yielded some useful information?