Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236405

Re: Fatal error while burning CD

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Fatal error while burning CD
Date 2021-06-24 14:20 +0200
Message-ID <CtwuR-2U1-3@gated-at.bofh.it> (permalink)
References <CtuCK-1L6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

i got an SCSI log of a failed burn run from Michael Lange.

No artsy dance between drive and libburn is to see, which could explain
a misunderstanding between both.
The drive buffer becomes full, after 17 seconds some few sectors seem to
have been actually written, and then the second next WRITE(10) fails with
the "illegal request" error.
Its data would not fit into the buffer, but the drive does not wait until
there is room.

So it has something to do with a full drive buffer.

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

cdrskin can avoid to fill the buffer by an old workaround from the bad old
days of parallel ATA controllers when the CD burner blocked the hard disk
on the same controller while a WRITE(10) was waiting for buffer space in
the burner.

I wonder whether this workaround can avoid the drive's error reply.

If you are curious enough, add to your cdrskin runs this non-cdrecord option

   modesty_on_drive=1:min_percent=75:max_percent=80

It will pause sending of data when the drive buffer is in danger to become
more than 80 percent full. Sending data is resumed when it is below 75
percent full.
(Ye olde cdrecord option -immed is in cdrskin implemented as
   modesty_on_drive=1:min_percent=75:max_percent=95
but for this experiment we should give more free room than 5 percent.)

-------------------------------------------------------------------------
Long story of the SCSI log:

The reported drive buffer capacity is not 2 MiB but 1,179,648 bytes.

All looks well until LBA 416 is written. The most recent buffer inquiry
showed 98304 bytes free. Three more WRITE(10) succeeded which added
91728. So the buffer might be full up to 6576 free bytes. The WRITE(10)
to LBA 416 brings 30576 more bytes.

Now happens nothing for 17 seconds.
Then the pending WRITE(10) command gets a "no problem" reply. The
subsequent WRITE(10) command for LBA 429 ends swiftly without error reply.
Inquiry of the drive buffer reveils 10240 free bytes.

The next WRITE(10) goes to LBA 442 and gets an immediate error reply of
Key 5, ASC A8, ASCQ 04. (As said, ASC A8 is not listed in my copies of SCSI
specifications.)

libburn takes this as fatal error and brings the burn run to an emergency
halt.
The drive needs 110 seconds until it replies success to a TEST UNIT READY
command. That would suffice for the whole 168 MB of payload at the chosen
speed of 10x (= 750 sectors/second).
During that time, the TEST UNIT READYs got replied Key 2, ASC 04, ASCQ 07
which means "Logical unit not ready, operation in progress".

4 seconds later, the CD is ejected and the cdrskin run ends.

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

Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fatal error while burning CD Michael Lange <klappnase@freenet.de> - 2021-06-23 19:40 +0200
  Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-23 21:00 +0200
    Re: Fatal error while burning CD Michael Lange <klappnase@freenet.de> - 2021-06-23 23:40 +0200
      Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-24 09:20 +0200
        Re: Fatal error while burning CD Michael Lange <klappnase@freenet.de> - 2021-06-24 11:30 +0200
          Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-24 12:20 +0200
            Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-24 14:20 +0200
              Re: Fatal error while burning CD Michael Lange <klappnase@freenet.de> - 2021-06-25 00:50 +0200
                Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-25 08:50 +0200
                Re: Fatal error while burning CD Michael Lange <klappnase@freenet.de> - 2021-06-25 10:30 +0200
                Re: Fatal error while burning CD "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-25 11:50 +0200
                Re: Fatal error while burning CD mcgarrett <dmcgarrett@optonline.net> - 2021-06-26 04:00 +0200
        How to verify newly burned disc [Was: Fatal error while burning CD] Michael Lange <klappnase@freenet.de> - 2021-06-29 10:30 +0200
          Re: How to verify newly burned disc [Was: Fatal error while burning          CD] Linux-Fan <Ma_Sys.ma@web.de> - 2021-06-29 10:40 +0200
            Re: How to verify newly burned disc [Was: Fatal error while burning  CD] Michael Lange <klappnase@freenet.de> - 2021-06-29 11:10 +0200
          Re: How to verify newly burned disc "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-29 12:10 +0200
            Re: How to verify newly burned disc Michael Lange <klappnase@freenet.de> - 2021-07-02 09:10 +0200
          Re: How to verify newly burned disc "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-02 12:30 +0200
            Re: How to verify newly burned disc Michael Lange <klappnase@freenet.de> - 2021-07-02 20:00 +0200
              Re: How to verify newly burned disc "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-02 21:30 +0200
                Re: How to verify newly burned disc Michael Lange <klappnase@freenet.de> - 2021-07-03 01:00 +0200
                Re: How to verify newly burned disc Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-03 04:50 +0200
                Re: How to verify newly burned disc "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-03 10:50 +0200
          Re: How to verify newly burned disc [Was: Fatal error while burning CD] Richmond <richmond@criptext.com> - 2021-07-02 22:20 +0200
            Re: How to verify newly burned disc [Was: Fatal error while burning  CD] Greg Wooledge <greg@wooledge.org> - 2021-07-02 22:40 +0200
              Re: How to verify newly burned disc [Was: Fatal error while burning  CD] Richmond <richmond@criptext.com> - 2021-07-02 23:30 +0200
                Re: How to verify newly burned disc [Was: Fatal error while burning  CD] Greg Wooledge <greg@wooledge.org> - 2021-07-02 23:40 +0200
                Re: How to verify newly burned disc "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-03 00:00 +0200

csiph-web