Dumping with Alcohol 120% temporarily affects Aaru's dumping of bad sectors #883

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

Originally created by @TheRogueArchivist on GitHub (Jun 25, 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

Device manufacturer

ASUS

Device model

BW16D1HT

Bus the device uses to attach to the computer

  • Parallel ATA
  • Serial ATA
  • SCSI (any)
  • ATAPI (mark above if parallel or serial)
  • USB
  • FireWire
  • PCMCIA
  • SecureDigital
  • MultiMediaCard

USB cable or card reader manufacturer

No response

USB cable or card reader model

No response

What were you doing when it failed?

  • I was dumping media (disk, tape, etc)...
  • I was retrieving media (disk, tape, etc) information...
  • I was scanning media (disk, tape, etc)...
  • I was retrieving device information...

Description

When dumping a SafeDisc protected disc (and presumably any other disc with bad sectors), having previously dumped a disc on the same drive as Alcohol 120% (on the SafeDisc 2/3/4 profile, may be related to the "Fast skip error blocks" option) causes Aaru to not see the errors present on the disc. Although the dump time is slowed when reaching these sectors, Aaru does not attempt to trim or retry reading the bad sectors, and does not report any unreadable sectors at the end of the dump. The "image verify" command does pick up on these sectors as being errors, but they are not properly 00 filled due to not being recognized as errors during the dump. Power-cycling the drive fixes the issue.

Exact command line used

aaru m dump D: Sweet1.aaruf

Expected behavior

For the disc to be dumped normally, with the proper sectors getting recognized as bad, independent of any dumping program used beforehand.

Actual behavior

The dump is altered when Alcohol 120% had been run previously and the bad sectors aren't reported as bad.

Output of command execution with debug output enabled

5.3.1
Copyright c 2011-2022 Natalia Portillo

Output image format: Aaru Format.
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...
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
Solving lead-outs...
Detecting disc type...
Checking mode for track 1...
Track 1 is MODE1
Reading 16 sectors at a time.
Device reports 19527 blocks (47802096 bytes).
Device can read 16 blocks at a time.
Device reports 2448 bytes per logical block.
SCSI device type: MultiMediaDevice.
Media identified as CDROM.
Setting flags for track 1...
Track 1 starts at LBA 0 and ends at LBA 19526
No audio tracks, disabling offset fix.
Disc offsets is 0 bytes (0 samples)
Setting speed to MAX for data reading.
Setting index 1 for track 1 to LBA 0.
Reading sector 19520 of 19527 (0.736 MiB/sec.)
Dump finished in 257.2228421 seconds.
Average dump speed 194.201 KiB/sec.
Average write speed 2841.440 KiB/sec.
Retrying sector 19460 subchannel, pass 3, forward
Closing output file.
Closed in 1.3840839 seconds.
Hashing image file...
Hashing image file byte 32505856 of 33052083
Hashing media tags...
Checking filesystems
Hashing tracks...
Hashing sector 19456 of 19527
Hashing subchannel sector 19456 of 19527

Writing metadata sidecar

Took a total of 292.498 seconds (242.535 processing commands, 19.232 checksumming, 16.430 writing, 1.384 closing).
Average speed: 0.188 MiB/sec.
Fastest speed burst: 21.742 MiB/sec.
Slowest speed burst: 0.013 MiB/sec.
0 sectors could not be read.
9 subchannels could not be read.

Media details

Confirmed to occur with http://redump.org/disc/91538/ and http://redump.org/disc/25579/

Originally created by @TheRogueArchivist on GitHub (Jun 25, 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 ### Device manufacturer ASUS ### Device model BW16D1HT ### Bus the device uses to attach to the computer - [ ] Parallel ATA - [ ] Serial ATA - [ ] SCSI (any) - [ ] ATAPI (mark above if parallel or serial) - [X] USB - [ ] FireWire - [ ] PCMCIA - [ ] SecureDigital - [ ] MultiMediaCard ### USB cable or card reader manufacturer _No response_ ### USB cable or card reader model _No response_ ### What were you doing when it failed? - [X] I was dumping media (disk, tape, etc)... - [ ] I was retrieving media (disk, tape, etc) information... - [ ] I was scanning media (disk, tape, etc)... - [ ] I was retrieving device information... ### Description When dumping a SafeDisc protected disc (and presumably any other disc with bad sectors), having previously dumped a disc on the same drive as Alcohol 120% (on the SafeDisc 2/3/4 profile, may be related to the "Fast skip error blocks" option) causes Aaru to not see the errors present on the disc. Although the dump time is slowed when reaching these sectors, Aaru does not attempt to trim or retry reading the bad sectors, and does not report any unreadable sectors at the end of the dump. The "image verify" command does pick up on these sectors as being errors, but they are not properly 00 filled due to not being recognized as errors during the dump. Power-cycling the drive fixes the issue. ### Exact command line used aaru m dump D: Sweet1.aaruf ### Expected behavior For the disc to be dumped normally, with the proper sectors getting recognized as bad, independent of any dumping program used beforehand. ### Actual behavior The dump is altered when Alcohol 120% had been run previously and the bad sectors aren't reported as bad. ### Output of command execution with debug output enabled ```shell 5.3.1 Copyright c 2011-2022 Natalia Portillo Output image format: Aaru Format. 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... 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 Solving lead-outs... Detecting disc type... Checking mode for track 1... Track 1 is MODE1 Reading 16 sectors at a time. Device reports 19527 blocks (47802096 bytes). Device can read 16 blocks at a time. Device reports 2448 bytes per logical block. SCSI device type: MultiMediaDevice. Media identified as CDROM. Setting flags for track 1... Track 1 starts at LBA 0 and ends at LBA 19526 No audio tracks, disabling offset fix. Disc offsets is 0 bytes (0 samples) Setting speed to MAX for data reading. Setting index 1 for track 1 to LBA 0. Reading sector 19520 of 19527 (0.736 MiB/sec.) Dump finished in 257.2228421 seconds. Average dump speed 194.201 KiB/sec. Average write speed 2841.440 KiB/sec. Retrying sector 19460 subchannel, pass 3, forward Closing output file. Closed in 1.3840839 seconds. Hashing image file... Hashing image file byte 32505856 of 33052083 Hashing media tags... Checking filesystems Hashing tracks... Hashing sector 19456 of 19527 Hashing subchannel sector 19456 of 19527 Writing metadata sidecar Took a total of 292.498 seconds (242.535 processing commands, 19.232 checksumming, 16.430 writing, 1.384 closing). Average speed: 0.188 MiB/sec. Fastest speed burst: 21.742 MiB/sec. Slowest speed burst: 0.013 MiB/sec. 0 sectors could not be read. 9 subchannels could not be read. ``` ### Media details Confirmed to occur with http://redump.org/disc/91538/ and http://redump.org/disc/25579/
claunia added the bugmedia labels 2026-01-29 15:31:50 +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#883