Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-29 Thread chris gibbons
Hi Thomas.

sorry that it has taken a while to get back to you.
the drive failed completely, would not read or write.
i have perchased another drive, and that is workig ok.
the srange this is that if you use the Disks program in utilities. it
shows the drive as read only. this is what got me thinking that ubuntu
was at fault.

thank you for your time and assistance.

many thanks
Chris

On Fri, 2020-09-25 at 09:01 +, Thomas Schmitt wrote:
> Correction:
> The single command READ DISC INFORMATION probably did not timeout,
> but was repeated
> with intermediate waiting until 30 seconds had elapsed. So the drive
> probably reacts swiftly but
> always says that it is not yet ready.
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-25 Thread chris gibbons
Hi Thomas.

did the alteration to spc.c and ran make. ububnu is still seeing the
drive as read only. see the output below.

chris@chris-A320M-S2H-V2:~/xorriso/xorriso-1.5.3$ ./xorriso/xorriso
-outdev /dev/sr0 -toc
GNU xorriso 1.5.3 : RockRidge filesystem manipulator, libburnia
project.

libburn : SORRY : Timeout exceed (3 ms). Retry canceled.

libburn : SORRY : Command: READ DISC INFORMATION #63,[2 04 00] : 51 00
00 00 00 00 00 00 22 00  : dxfer_len= 34
xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: is not recognizable
Media status : is not recognizable

xorriso : NOTE : Tolerated problem event of severity 'SORRY'
Drive current: -outdev '/dev/sr0'
Drive access : exclusive:unrestricted
Drive type   : vendor 'HL-DT-ST' product 'DVDRAM GH20NS10' revision
'EL00'
Drive id : 'K1386NK4932 '
Media current: is not recognizable
Media status : is not recognizable

Media blocks : 0 readable , 0 writable , 0 overall
TOC layout   : Idx ,  sbsector ,   Size , Volume Id
xorriso : SORRY : Cannot obtain Table Of Content
xorriso : NOTE : Tolerated problem event of severity 'SORRY'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity
SORRY

Regards
Chris

On Thu, 2020-09-24 at 16:09 +, Thomas Schmitt wrote:
> Hi,
> 
> > libburn : SORRY : Asynchronous SCSI error on waiting after START
> > UNIT
> > (+ LOAD) [6 28 81] Drive event. Unknown ASCQ with drive event ASC
> > 28.
> 
> Grr. A higher level intervened.
> 
> In line 198 of file
> 
>   ~/xorriso/xorriso-1.5.3/libburn/spc.c
> 
> there is
> 
> if (key == 0x6 && asc == 0x28 && ascq ==
> 0x00)
> 
> which should be shortened to
> 
> if (key == 0x6 && asc == 0x28)
> 
> Do you feel apt to make this code change and then run
> 
>   make
> 
> again ?
> (Else i would upload a new tarball.)
> 
> This time i simulated the drive reply 0x6, 0x28, 0x81 in the waiting
> loop
> from where the message stems. Without " && ascq == 0x00" in line 198
> it
> works for me. So now it is up to your drive to tell me where else
> this
> unexpected error code creates mistrust, or what other interesting
> replies
> it has to offer.
> 
> Have a nice day :)
> 
> Thomas
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-24 Thread chris gibbons
Thanks for getting back to me.
I have not done this before, but will have a go and let you know.

Regards
Chris

On Thu, 24 Sep 2020, 17:20 Thomas Schmitt, <1896...@bugs.launchpad.net>
wrote:

> Hi,
>
> > libburn : SORRY : Asynchronous SCSI error on waiting after START UNIT
> > (+ LOAD) [6 28 81] Drive event. Unknown ASCQ with drive event ASC 28.
>
> Grr. A higher level intervened.
>
> In line 198 of file
>
>   ~/xorriso/xorriso-1.5.3/libburn/spc.c
>
> there is
>
> if (key == 0x6 && asc == 0x28 && ascq == 0x00)
>
> which should be shortened to
>
> if (key == 0x6 && asc == 0x28)
>
> Do you feel apt to make this code change and then run
>
>   make
>
> again ?
> (Else i would upload a new tarball.)
>
> This time i simulated the drive reply 0x6, 0x28, 0x81 in the waiting loop
> from where the message stems. Without " && ascq == 0x00" in line 198 it
> works for me. So now it is up to your drive to tell me where else this
> unexpected error code creates mistrust, or what other interesting replies
> it has to offer.
>
> 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=
>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
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-24 Thread chris gibbons
Hi Thomas.
 have followed your instructions. still no good.
this is the terminal readout.
chris@chris-A320M-S2H-V2:~/xorriso/xorriso-1.5.3$ ./xorriso/xorriso
-outdev /dev/sr0 -toc
GNU xorriso 1.5.3 : RockRidge filesystem manipulator, libburnia
project.

libburn : SORRY : Asynchronous SCSI error on waiting after START UNIT
(+ LOAD): [6 28 81] Drive event. Unknown ASCQ with drive event ASC 28.
xorriso : FAILURE : Cannot acquire drive '/dev/sr0'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

i have attached a screen print.

regards
Chris

On Thu, 2020-09-24 at 10:31 +, Thomas Schmitt wrote:
> The line with the absolute address was meant to be:
> 
>   /home/chris/xorriso/xorriso-1.5.3/xorriso/xorriso -outdev /dev/sr0
> -toc
> 


** Attachment added: "Screenshot from 2020-09-24 15-37-56.png"
   
https://bugs.launchpad.net/bugs/1896804/+attachment/5413875/+files/Screenshot%20from%202020-09-24%2015-37-56.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-24 Thread chris gibbons
Thanks Thomas.
Will give it a go later today.

Regards
Chris

On Thu, 24 Sep 2020, 11:30 Thomas Schmitt, <1896...@bugs.launchpad.net>
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=
>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
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1896804] Re: CD/DVD drive detected as read only, command line and GUI programs

2020-09-24 Thread chris gibbons
Hi Thomas.

this is the output from running "xorriso -outdev /dev/sr0 -toc"

xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.

libburn : SORRY : Asynchronous SCSI error on waiting after START UNIT
(+ LOAD): See MMC specs: Sense Key 6 "Drive event", ASC 28 ASCQ 81.
xorriso : FAILURE : Cannot acquire drive '/dev/sr0'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

I used the program Brasero, but all programs that write to the drive
will not see it as recordable drive.
if i use the program Disks to show all drives, /dev/sr0 is detected as
read only. CD-R and DVD-R, makes no differance what disk is in the
drive.

hope this helps.
regards
Chris


On Thu, 2020-09-24 at 07:09 +, Thomas Schmitt wrote:
> I forgot to ask for putting in the desired medium before performing
> 
>   xorriso -outdev /dev/sr0 -toc
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896804

Title:
  CD/DVD drive detected as read only, command line and GUI programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1896804/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs