[Debburn-devel] Error message for command "readom -fulltoc dev=/dev/dvd"
George Danchev
danchev at spnet.net
Sat Jul 14 11:20:20 UTC 2012
On Saturday 14 July 2012 12:35:01 Thomas Schmitt wrote:
> 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".
I guess it is a typo and you meant:
43 00 02 as given in the log, or you really mean 42 00 02?
I have no specs at hand, though.
> 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.
the readom source surely indicates that DVD is also meant to be read:
/*
* If read DVD structure is supported and works, then
* we must have a DVD media in the drive. Signal to
* use the DVD driver.
*/
but it can be buggy as well?
> > [...] 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
>
>
> _______________________________________________
> Debburn-devel mailing list
> Debburn-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debburn-devel
--
pub 4096R/0E4BD0AB <people.fccf.net/danchev/key pgp.mit.edu>
More information about the Debburn-devel
mailing list