[Debburn-devel] Error message for command "readom -fulltoc dev=/dev/dvd"

Thomas Schmitt scdbackup at gmx.net
Sat Jul 14 10:35:01 UTC 2012


Hi,

> CDB: 43 00 02 00 00 00 00 00 04 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0

The failed command is inappropriate for DVD.
42 00 02 is READ TOC/PMA/ATIP with requested format "Raw TOC".

The specification MMC-5 prescribes above reaction:
"6.26.3.4.3 Non-CD Discs
 [...]
 If the Host requests a TOC/PMA/ATIP of this form when a non-CD disc
 is present, the Drive shall terminate the command with
 CHECK CONDITION status and set sense bytes SK/ASC/ASCQ to
 ILLEGAL REQUEST/INVALID FIELD IN CDB."


So probably option -fulltoc of readom is not suitable for DVD.


> [...] wodim -toc [...]
> track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 4 mode: -1
> track:lout lba:   1803456 (  7213824) -1:59:74 adr: 1 control: 7 mode: -1

Obviously retrieved by a differenct SCSI command, this states that the
DVD is supposed to have 1803456 readable data blocks of 2048 bytes each.


Have a nice day :)

Thomas




More information about the Debburn-devel mailing list