"Cannot lock drive, not continuing." when dumping Xbox discs #393

Open
opened 2026-01-29 15:17:53 +00:00 by claunia · 2 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Mar 27, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Xubuntu 19.10...
  • ...in 64-bit

Description

When trying to dump an Xbox DVD, Aaru prints the message "Cannot lock drive, not continuing." and doesn't dump the disc. I can't currently test this in Windows so it may be a Linux specific bug. DIC does seem to dump the disc without any issue though.

Exact command line used:

dotnet aaru.dll -d m dump /dev/sr0 "XBOX 1.aaruf" -f

Output of command execution with debug output enabled

aaru 5.1.99.2880-25c7336f built by silas-All-Series in Debug, modified
Copyright © 2011-2020 Natalia Portillo

DEBUG (Dump-Media command): --cicm-xml=
DEBUG (Dump-Media command): --debug=True
DEBUG (Dump-Media command): --device=/dev/sr0
DEBUG (Dump-Media command): --encoding=
DEBUG (Dump-Media command): --first-pregap=False
DEBUG (Dump-Media command): --fix-offset=True
DEBUG (Dump-Media command): --force=True
DEBUG (Dump-Media command): --format=
DEBUG (Dump-Media command): --metadata=True
DEBUG (Dump-Media command): --options=
DEBUG (Dump-Media command): --output=XBOX 1.aaruf
DEBUG (Dump-Media command): --persistent=False
DEBUG (Dump-Media command): --resume=True
DEBUG (Dump-Media command): --retry-passes=5
DEBUG (Dump-Media command): --skip=512
DEBUG (Dump-Media command): --stop-on-error=False
DEBUG (Dump-Media command): --trim=True
DEBUG (Dump-Media command): --verbose=False
DEBUG (Dump-Media command): --subchannel=any
DEBUG (Dump-Media command): --private=False
DEBUG (Dump-Media command): Parsed options:
DEBUG (SCSI Device): INQUIRY took 0.3125 ms.
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 12 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 264, Return Type: Single, Sense: False, Last Error: 0) took 8 ms.
Uploading statistics
Output image format: Aaru Format.
Device in database since 2/16/20 2:32:31 AM.                                   
DEBUG (SCSI Device): TEST UNIT READY took 0.2551 ms.

DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 0, Return Type: Current, Sense: False, Last Error: 0) took 4 ms.
DEBUG (SCSI Device): READ CAPACITY took 0.3369 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscInformation, AGID: 0, Sense: False, Last Error: 0) took 4 ms.
PFI:                                                                           
Disc is a 120mm DVD-ROM version 1
Disc claims conformation to ECMA-267
Disc maximum transfer rate is 10,08 Mbit/sec.
Disc has 2 layers
Layers are in opposite track path
Pitch size is 0,147 μm/bit
Track size is 0,74 μm
Data area starts at PSN 30000h
Data area ends at PSN FCE5EFh
Layer 0 ends at PSN 31AAFh

DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscManufacturingInformation, AGID: 0, Sense: False, Last Error: 0) took 2.4074 ms.
DEBUG (SCSI Device): INQUIRY took 0.2588 ms.
DEBUG (SCSI Device): READ CAPACITY took 0.3352 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscInformation, AGID: 0, Sense: False, Last Error: 0) took 4 ms.
Reading Xbox Security Sector.                                                  
DEBUG (SCSI Device): KREON EXTRACT SS took 8 ms.
Decoding Xbox Security Sector.                                                 
DEBUG (Dump-media command): Getting video partition size
Locking drive.                                                                 
DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0204 ms.
Cannot lock drive, not continuing.
Originally created by @TheRogueArchivist on GitHub (Mar 27, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [X] I was running Aaru under Xubuntu 19.10... * [X] ...in 64-bit ### Description When trying to dump an Xbox DVD, Aaru prints the message "Cannot lock drive, not continuing." and doesn't dump the disc. I can't currently test this in Windows so it may be a Linux specific bug. DIC does seem to dump the disc without any issue though. ### Exact command line used: `dotnet aaru.dll -d m dump /dev/sr0 "XBOX 1.aaruf" -f` ### Output of command execution with debug output enabled ``` aaru 5.1.99.2880-25c7336f built by silas-All-Series in Debug, modified Copyright © 2011-2020 Natalia Portillo DEBUG (Dump-Media command): --cicm-xml= DEBUG (Dump-Media command): --debug=True DEBUG (Dump-Media command): --device=/dev/sr0 DEBUG (Dump-Media command): --encoding= DEBUG (Dump-Media command): --first-pregap=False DEBUG (Dump-Media command): --fix-offset=True DEBUG (Dump-Media command): --force=True DEBUG (Dump-Media command): --format= DEBUG (Dump-Media command): --metadata=True DEBUG (Dump-Media command): --options= DEBUG (Dump-Media command): --output=XBOX 1.aaruf DEBUG (Dump-Media command): --persistent=False DEBUG (Dump-Media command): --resume=True DEBUG (Dump-Media command): --retry-passes=5 DEBUG (Dump-Media command): --skip=512 DEBUG (Dump-Media command): --stop-on-error=False DEBUG (Dump-Media command): --trim=True DEBUG (Dump-Media command): --verbose=False DEBUG (Dump-Media command): --subchannel=any DEBUG (Dump-Media command): --private=False DEBUG (Dump-Media command): Parsed options: DEBUG (SCSI Device): INQUIRY took 0.3125 ms. DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 12 ms. DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 264, Return Type: Single, Sense: False, Last Error: 0) took 8 ms. Uploading statistics Output image format: Aaru Format. Device in database since 2/16/20 2:32:31 AM. DEBUG (SCSI Device): TEST UNIT READY took 0.2551 ms. DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 0, Return Type: Current, Sense: False, Last Error: 0) took 4 ms. DEBUG (SCSI Device): READ CAPACITY took 0.3369 ms. DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscInformation, AGID: 0, Sense: False, Last Error: 0) took 4 ms. PFI: Disc is a 120mm DVD-ROM version 1 Disc claims conformation to ECMA-267 Disc maximum transfer rate is 10,08 Mbit/sec. Disc has 2 layers Layers are in opposite track path Pitch size is 0,147 μm/bit Track size is 0,74 μm Data area starts at PSN 30000h Data area ends at PSN FCE5EFh Layer 0 ends at PSN 31AAFh DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscManufacturingInformation, AGID: 0, Sense: False, Last Error: 0) took 2.4074 ms. DEBUG (SCSI Device): INQUIRY took 0.2588 ms. DEBUG (SCSI Device): READ CAPACITY took 0.3352 ms. DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DiscInformation, AGID: 0, Sense: False, Last Error: 0) took 4 ms. Reading Xbox Security Sector. DEBUG (SCSI Device): KREON EXTRACT SS took 8 ms. Decoding Xbox Security Sector. DEBUG (Dump-media command): Getting video partition size Locking drive. DEBUG (SCSI Device): KREON SET LOCK STATE took 0.0204 ms. Cannot lock drive, not continuing. ```
claunia added the bug label 2026-01-29 15:17:53 +00:00
Author
Owner

@FakeShemp commented on GitHub (Mar 27, 2020):

sudo?

@FakeShemp commented on GitHub (Mar 27, 2020): `sudo`?
Author
Owner

@TheRogueArchivist commented on GitHub (Mar 27, 2020):

Yeah, just to be sure it isn’t some sort of weird permissions issue with the firmware or something.

@TheRogueArchivist commented on GitHub (Mar 27, 2020): Yeah, just to be sure it isn’t some sort of weird permissions issue with the firmware or something.
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#393