"0 subchannels could not be read." displayed when dumping to an image format that doesn't support subchannels #892

Open
opened 2026-01-29 15:32:11 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Jul 31, 2022).

Originally assigned to: @claunia on GitHub.

Version

5.3.0

Commit hash

No response

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Description

When dumping media that has subchannels to a format that doesn't support them, Aaru displays "0 subchannels could not be read." after the dump is finished. In my opinion, this message should be omitted entirely (or a different message should be displayed) when subchannels aren't dumped, even if the media has them.

Exact command line used

aaru m dump D: image.cue

Expected behavior

For no "X subchannels could not be read" line to be printed.

Actual behavior

"0 subchannels could not be read" was printed.

Output of command execution with debug output enabled

aaru 5.3.1
Copyright c 2011-2022 Natalia Portillo

Output image format: CDRWin cuesheet.
Device in database since 12/10/2021 22:25:50.

Reading full TOC
Building track map...
Checking if drive supports PQ subchannel reading...
Checking if drive supports full raw subchannel reading...
Output format does not support subchannels, continuing...
Full raw subchannel reading supported...
Drive returns subchannel in BCD...
Calculating pregaps, can take some time...
Reading ATIP
Reading Disc Information
Reading PMA
Reading Session Information
Reading CD-Text from Lead-In
Output format does not support CD_FullTOC, continuing...
Solving lead-outs...
Detecting disc type...
Checking mode for track 1...
Track 1 is MODE2 FORM 1
Reading 32 sectors at a time.
Device reports 12601 blocks (30847248 bytes).
Device can read 32 blocks at a time.
Device reports 2448 bytes per logical block.
SCSI device type: MultiMediaDevice.
Media identified as CDROMXA.
Setting flags for track 1...
Track 1 starts at LBA 0 and ends at LBA 12600
No audio tracks, disabling offset fix.
Drive reading offset is 24 bytes (6 samples).
Disc offsets is -2288 bytes (-572 samples)
Setting speed to MAX for data reading.
Setting index 1 for track 1 to LBA 0.
Reading sector 12576 of 12601 (1.488 MiB/sec.)
Dump finished in 20.8730039 seconds.
Average dump speed 1466.051 KiB/sec.
Average write speed 149949.064 KiB/sec.
Closing output file.
Closed in 0.0094679 seconds.
Hashing image file...
Hashing image file byte 0 of 352
Hashing media tags...
Checking filesystems
Hashing tracks...
Hashing sector 12288 of 12601

Writing metadata sidecar

Took a total of 29.024 seconds (20.550 processing commands, 4.325 checksumming, 0.201 writing, 0.009 closing).
Average speed: 1.432 MiB/sec.
Fastest speed burst: 2.315 MiB/sec.
Slowest speed burst: 0.196 MiB/sec.
0 sectors could not be read.
0 subchannels could not be read.
Originally created by @TheRogueArchivist on GitHub (Jul 31, 2022). Originally assigned to: @claunia on GitHub. ### Version 5.3.0 ### Commit hash _No response_ ### Tested debug version? - [X] Yes ### Which operating systems have you used? - [X] Windows - [ ] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [X] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [X] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Description When dumping media that has subchannels to a format that doesn't support them, Aaru displays "0 subchannels could not be read." after the dump is finished. In my opinion, this message should be omitted entirely (or a different message should be displayed) when subchannels aren't dumped, even if the media has them. ### Exact command line used aaru m dump D: image.cue ### Expected behavior For no "X subchannels could not be read" line to be printed. ### Actual behavior "0 subchannels could not be read" was printed. ### Output of command execution with debug output enabled ```shell aaru 5.3.1 Copyright c 2011-2022 Natalia Portillo Output image format: CDRWin cuesheet. Device in database since 12/10/2021 22:25:50. Reading full TOC Building track map... Checking if drive supports PQ subchannel reading... Checking if drive supports full raw subchannel reading... Output format does not support subchannels, continuing... Full raw subchannel reading supported... Drive returns subchannel in BCD... Calculating pregaps, can take some time... Reading ATIP Reading Disc Information Reading PMA Reading Session Information Reading CD-Text from Lead-In Output format does not support CD_FullTOC, continuing... Solving lead-outs... Detecting disc type... Checking mode for track 1... Track 1 is MODE2 FORM 1 Reading 32 sectors at a time. Device reports 12601 blocks (30847248 bytes). Device can read 32 blocks at a time. Device reports 2448 bytes per logical block. SCSI device type: MultiMediaDevice. Media identified as CDROMXA. Setting flags for track 1... Track 1 starts at LBA 0 and ends at LBA 12600 No audio tracks, disabling offset fix. Drive reading offset is 24 bytes (6 samples). Disc offsets is -2288 bytes (-572 samples) Setting speed to MAX for data reading. Setting index 1 for track 1 to LBA 0. Reading sector 12576 of 12601 (1.488 MiB/sec.) Dump finished in 20.8730039 seconds. Average dump speed 1466.051 KiB/sec. Average write speed 149949.064 KiB/sec. Closing output file. Closed in 0.0094679 seconds. Hashing image file... Hashing image file byte 0 of 352 Hashing media tags... Checking filesystems Hashing tracks... Hashing sector 12288 of 12601 Writing metadata sidecar Took a total of 29.024 seconds (20.550 processing commands, 4.325 checksumming, 0.201 writing, 0.009 closing). Average speed: 1.432 MiB/sec. Fastest speed burst: 2.315 MiB/sec. Slowest speed burst: 0.196 MiB/sec. 0 sectors could not be read. 0 subchannels could not be read. ```
claunia added the bug label 2026-01-29 15:32:11 +00:00
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#892