bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] To Thomas Schmitt: how to go on, xorriso is installed


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] To Thomas Schmitt: how to go on, xorriso is installed
Date: Sat, 13 Apr 2019 09:41:22 +0200

Hi,

Adalbert Hanßen wrote:
> I successfully burned the content of my pictures file onto a
> Verbatim CD using the W530 laptop and xfburn
> I disabled Streamrecording and left modus on automatic.

So "Stream Recording"/""Datenstromaufnahme" looks indeed like the culprit.
A spoiled run on the other laptop and drive would confirm it further.


I re-read the specification document MMC-5 meanwhile and found that
a drive is allowed to refuse on Stream Recording if it does not announce to
be able with the loaded medium.
So i now plan to check for this announcement and to automatically disable
Stream Recording in libburn if this announcement is missing.

The announcement is done by the reply to SCSI command GET CONFIGURATION.
It is already performed by libburn when a drive is acquired and maybe
again after the tray was loaded automatically.

Please do the following experiment on both drives while a blank CD-R is
inserted (it will not be used up):

  xorriso -scsi_log on -outdev /dev/sr0 2>&1 | tee -i /tmp/xorriso_w530_log

  xorriso -scsi_log on -outdev /dev/sr0 2>&1 | tee -i /tmp/xorriso_t400_log

Please send the emerging two files from /tmp to me.

----------------------------------------------------------------------
What i am looking for:

The files in /tmp will then contain the SCSI commands and drive replies
which happen when libburn acquires a drive.
The reply to the last GET CONFIGURATION in the log will tell whether the
drive is willing to do Stream Recording with the given medium.

  GET CONFIGURATION
  46 00 00 00 00 00 00 01 b8 00
  From drive: 440b
  00 00 01 b4 00 00 00 00 00 00 03 40 00 40 00 00 00 50 00 00
  ...
  01 05 07 04 00 00 00 00 01 06 00 04 00 00 00 01 01 07 10 04
  1f 00 00 00 01 08 03 0c 4b 35 43 38 38 4c 4a 31 36 31 36 20
  ...

The part of interest in this example is
                                                   01 07 10 04
   1f 00 00 00

which tells that feature 0107h "Real Time Streaming" is not "current"
because the hex number 10 has bit 0 set to 0.
So this drive should currently not be annoyed by Stream Recording.

Among the 5 drives at my desktop only one ever says that it does not
support Stream Recording. That's when i insert a CD-R or CD-RW.
Nevertheless it tolerates Stream Recording on CD-RW.

My other drives always say
  01 07 15 04 1f 00 00 00
where bit 0 of the value 15 tells that the feature is current.

This explains why it lasted nearly 10 years until the first problem
was reported about Stream Recording on CD.

----------------------------------------------------------------------

Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]