Comment 7 for bug 1896804

Revision history for this message
chris gibbons (chrisgibbons) wrote : Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

Thanks Thomas.
Will give it a go later today.

Regards
Chris

On Thu, 24 Sep 2020, 11:30 Thomas Schmitt, <email address hidden>
wrote:

> Hi,
>
> > Sense Key 6 "Drive event", ASC 28 ASCQ 81.
>
> This SCSI error reply is not listed in SCSI specs SPC or MMC or in the
> summary of T10 committee
> https://www.t10.org/lists/asc-num.htm#ASC_28
>
> So the drive's firmware programmers were overly creative.
>
> If it was ASCQ 0 or 2, then libburn would tolerate it:
> 6 28 00 NOT READY TO READY CHANGE, MEDIUM MAY HAVE CHANGED
> 6 28 02 FORMAT-LAYER MAY HAVE CHANGED
> but the other ASCQs of ASC 28 were too obscure to me to be tolerable.
>
> I now made a GNU xorriso tarball with a libburn which tolerates any Drive
> event error with ASC 28 so that you can drill deeper into the drive
> behavior.
>
> (I have to think whether this change is good as permanent solution. The
> list
> of key 6 errors looks in part fatal like
> 6 29 00 POWER ON, RESET, OR BUS DEVICE RESET OCCURRED
> 6 3B 0F END OF MEDIUM REACHED
> but in part retryable. My program change relies on the hope that all ASC
> 28
> codes are harmless.)
>
> ------------------------------------------------------------------------
>
> You will need the dependency packages of pseudo-package "build-essential"
> https://packages.ubuntu.com/xenial/build-essential
> then download
>
> https://www.gnu.org/software/xorriso/xorriso-1.5.3.tar.gz
>
> and copy it to a directory of your choice, e.g. to
> /home/chris/xorriso
>
> Then build it by
>
> cd /home/chris/xorriso
> tar xzf xorriso-1.5.3.tar.gz
> cd xorriso-1.5.3
> ./configure --prefix=/usr && make
>
> On a modern machine the "make" part should be done in half a minute.
> Afterwards there should be an executable program
> ./xorriso/xorriso
>
> You may use it in place by its relative address
>
> ./xorriso/xorriso -outdev /dev/sr0 -toc
>
> or by its absolute address
>
> /home/chris/xorriso/xorriso-1.5.3/xorriso/xorriso
>
> Your Ubuntu xorriso will stay installed and your package manager cannot
> get confused by the newly made xorriso. (It is quite large because it
> contains
> own copies of libburn, libisofs, libisoburn, and libjte.)
>
> ------------------------------------------------------------------------
>
> Have a nice day :)
>
> Thomas
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896804
>
> Title:
> CD/DVD drive detected as read only, command line and GUI programs
>
> Status in brasero package in Ubuntu:
> New
>
> Bug description:
> Disks utility program and command line only seeing the drive as read
> only. unable to write data to the disk. all works OK in Windows 10.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: brasero 3.12.2-6ubuntu1
> ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
> Uname: Linux 5.4.0-31-generic x86_64
> NonfreeKernelModules: lkp_Ubuntu_5_4_0_31_35_generic_70 nvidia_modeset
> nvidia
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Wed Sep 23 17:47:26 2020
> InstallationDate: Installed on 2020-02-04 (232 days ago)
> InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64
> (20190805)
> ProcEnviron:
> LANGUAGE=en_GB:en
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_GB.UTF-8
> SHELL=/bin/bash
> SourcePackage: brasero
> UpgradeStatus: Upgraded to focal on 2020-05-07 (138 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions
>