aaru-dps / Aaru

Aaru Data Preservation Suite
Other
495 stars 34 forks source link

Video DVD-R identified as DVDROM on BW-16D1HT #511

Closed TheRogueArchivist closed 3 years ago

TheRogueArchivist commented 3 years ago

Prerequisites

Check and fill as appropriate:

Description

When running media info on a DVD-R on my BW-16D1HT, it's detected as DVDROM. On a different drive, it's detected properly as DVDR. The media is a Video-DVD.

Exact command line used:

aaru m info e:

Output of command execution with debug output enabled

aaru 5.2.99.3380-alpha+cce0a874 built by DESKTOP-8B4K7NM in Debug, modified
Copyright c 2011-2021 Natalia Portillo

DEBUG (Media-Info command): --debug=True
DEBUG (Media-Info command): --device=e:
DEBUG (Media-Info command): --output-prefix=511
DEBUG (Media-Info command): --verbose=False
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 5.8072 ms.
DEBUG (SCSI Device): INQUIRY took 2.1521 ms.
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 2.6144 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 264, Return Type: Single, Sense: False, Last Error: 0) took 2.4025 ms.
DEBUG (SCSI Device): TEST UNIT READY took 1.7448 ms.
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 2.5448 ms.
DEBUG (SCSI Device): INQUIRY took 1.5515 ms.
DEBUG (SCSI Device): MODE SENSE(10) took 2.5996 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 0, Return Type: All, Sense: False, Last Error: 0) took 1.5708 ms.
DEBUG (SCSI Device): READ CAPACITY took 2.1785 ms.
DEBUG (SCSI Device): READ CAPACITY(16) took 1.7561 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 0, Return Type: Current, Sense: False, Last Error: 0) took 2.3033 ms.
DEBUG (Media-Info command): GET CONFIGURATION current profile is 0010h
DEBUG (Media-Info command): READ DISC STRUCTURE: Recognized Format Layers
SCSI SENSE: ILLEGAL REQUEST
ILLEGAL FIELD IN CDB

DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: WriteProtectionStatus, AGID: 0, Sense: False, Last Error: 0) took 0.2881 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 0.5471 ms.
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.1027 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: LastBorderOutRmd, AGID: 0, Sense: False, Last Error: 0) took 33.5554 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: PreRecordedInfo, AGID: 0, Sense: False, Last Error: 0) took 0.2212 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DvdrMediaIdentifier, AGID: 0, Sense: False, Last Error: 0) took 0.3821 ms.
DEBUG (SCSI Device): READ DISC STRUCTURE (Media Type: Dvd, Address: 0, Layer Number: 0, Format: DvdrPhysicalInformation, AGID: 0, Sense: False, Last Error: 0) took 33.3887 ms.
DEBUG (SCSI Device): READ MEDIA SERIAL NUMBER took 0.2417 ms.
DEBUG (SCSI Device): READ DISC INFORMATION (Data Type: DiscInformation, Sense: False, Last Error: 0) took 0.2906 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 0, Return Type: Current, Sense: False, Last Error: 0) took 0.6517 ms.
DEBUG (Media-Info command): GET CONFIGURATION current profile is 0010h
DEBUG (SCSI Device): READ CD (LBA: 0, Block Size: 2352, Transfer Length: 1, Expected Sector Type: AllTypes, DAP: False, Relative Address: False, Sync: True, Headers: AllHeaders, User Data: True, ECC/EDC: True, C2: None, Subchannel: None, Sense: True, Last Error: 0) took 0.5393 ms.
DEBUG (SCSI Device): READ CD (LBA: 0, Block Size: 2352, Transfer Length: 1, Expected Sector Type: Cdda, DAP: False, Relative Address: False, Sync: False, Headers: None, User Data: True, ECC/EDC: False, C2: None, Subchannel: None, Sense: True, Last Error: 0) took 0.5711 ms.
DEBUG (SCSI Device): READ (16) took 0.5221 ms.
DEBUG (SCSI Device): READ (12) took 40.0904 ms.
DEBUG (SCSI Device): READ (12) took 32.7576 ms.
DEBUG (SCSI Device): READ (12) took 32.9021 ms.
DEBUG (Media-info Command): PlayStation 2 boot sectors SHA256: de676bae28a480011d3d012db14bef539324e62a841a9627863c689bea168af3
DEBUG (Media-Info command): Writing SCSI MODE SENSE (10) to 511_scsi_modesense10.bin
DEBUG (Media-Info command): Writing SCSI READ CAPACITY to 511_readcapacity.bin
Media has 342976 blocks of 2048 bytes/each. (for a total of 669.875 MiB)
DEBUG (Media-Info command): Writing SCSI GET CONFIGURATION to 511_getconfiguration_current.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_writeprotection.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvd_pfi.bin
PFI:
Disc is a 120mm DVD-R version 5
Disc claims conformation to ECMA-359
Disc maximum transfer rate is unspecified.
Disc has 1 layers
Pitch size is 0,267 µm/bit
Track size is 0,74 µm
Data area starts at PSN 30000h
Data area ends at PSN 83BBFh
Current Border-Out first sector is PSN 0h
Next Border-In first sector is PSN 0h

DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvd_dmi.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvd_lastrmd.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvd_pri.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvdr_mediaid.bin
DEBUG (Media-Info command): Writing SCSI READ DISC STRUCTURE to 511_readdiscstructure_dvdr_pfi.bin
DEBUG (Media-Info command): Writing SCSI READ DISC INFORMATION to 511_readdiscinformation_000b.bin
Standard Disc Information:
Disc type declared as CD-DA or CD-ROM
Disc is finalized
Last session is complete
First track on disc is track 1
Disc has 1 sessions
First track in last session is track 1
Last track in last session is track 1
Last session Lead-In address is 0 (as LBA) or 00:00:00
Last possible Lead-Out address is 0 (as LBA) or 00:00:00
Disc is defined for restricted use

DEBUG (Media-Info command): Writing SCSI READ MEDIA SERIAL NUMBER to 511_mediaserialnumber.bin
Media Serial Number: 4D4343203033524732302020
Media identified as DVDROM

Media details

511.zip

TheRogueArchivist commented 3 years ago

Fixed by 91f3928a67210bf958a4348c8ce4781fa0db22d7