Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-10-01 Thread Vincent Lefevre
Hi,

On 2013-09-30 15:11:08 +0200, Thomas Schmitt wrote:
  Now, when I burn my old DVD+RW's (purchased in December 2005) with
  the same drive, I get I/O errors when I re-read them,
 
 To my experience, written DVD+RW media rarely deteriorate
 over 5 to 10 years. So this bad read quality might mean
 your drive is going blind.
 
 If you have an opportunity to test the media with a
 different drive, then you will get an impression whether
 drive or media are to blame.

I've tried the DVD+RW on another machine, and I also get I/O errors.
Then I've just burnt it with the same archive on the same machine,
and I could re-read it with no errors (same contents).

So, there may be problems with the drive of my 4-year laptop, which
can no longer handle some media.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-10-01 Thread Thomas Schmitt
Hi,

 So, there may be problems with the drive of my 4-year laptop, which
 can no longer handle some media.

So let's classify it as drive-media problem, and not a bug
of growisofs.

Now ... how does one mark a bug report as non-bug ?
Shall we ask ow...@bugs.debian.org ?


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Thomas Schmitt
Hi,

obviously the drive does not like this particular medium.

The SCSI error message SK=5h/ILLEGAL MODE FOR THIS TRACK
indicates that the drive does not perceive the medium
as blank.

What do you get with medium inserted and tray loaded from
this command:
  dvd+rw-mediainfo /dev/sr0

Possibly the same medium might work better in a different
drive.


You may also try to format it, which would remove the need
for blanking it before re-use
  dvd+rw-format -force /devsr0

Wenn overwriting such a medium, it might be necessary to
use growisofs option
  -use-the-force-luke
so that growisofs is willing to overwrite a valid ISO 9660
filesystem.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Vincent Lefevre
On 2013-09-30 09:03:01 +0200, Thomas Schmitt wrote:
 obviously the drive does not like this particular medium.

I forgot to say that there were no such problems a few months ago,
with the same DVD and the same machine (and drive). And this DVD
was burnt on this machine (running Debian/unstable).

 The SCSI error message SK=5h/ILLEGAL MODE FOR THIS TRACK
 indicates that the drive does not perceive the medium
 as blank.

I suspect that the blank command actually failed (but why?), but it
forgot to report an error. Its output was buggy as the 0.0 didn't
increase during the 10 minutes.

 What do you get with medium inserted and tray loaded from
 this command:
   dvd+rw-mediainfo /dev/sr0

INQUIRY:[TSSTcorp][DVD+-RW TS-U633A][D300]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 14h, DVD-RW Sequential
 Media ID:  MCC 01RW4X  
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:4.0x1385=5540KB/s
 Write Speed #1:3.0x1385=4155KB/s
 Write Speed #2:3.0x1385=4155KB/s
 Write Speed #3:3.0x1385=4155KB/s
 Write Speed #4:3.0x1385=4155KB/s
 Write Speed #5:3.0x1385=4155KB/s
 Write Speed #6:3.0x1385=4155KB/s
 Write Speed #7:3.0x1385=4155KB/s
 Write Speed #8:3.0x1385=4155KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 4.0x1385=5540KB/s@[0 - 2298496]
 Speed Descriptor#0:00/2297887 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:00/2297887 R@8.0x1385=11080KB/s W@3.0x1385=4155KB/s
READ DVD STRUCTURE[#10h]:
 Media Book Type:   00h, DVD-ROM book [revision 0]
 Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type:   33h, DVD-RW book [revision 3]
 Last border-out at:2045*2KB=4188160
READ DISC INFORMATION:
 Disc status:   appendable
 Number of Sessions:2
 State of Last Session: empty
 Next Track:  2
 Number of Tracks:  2
READ FORMAT CAPACITIES:
 formatted: 779568*2048=1596555264
 00h(800):  2297888*2048=4706074624
 10h(10):   2297888*2048=4706074624
 15h(10):   2297888*2048=4706074624
READ TRACK INFORMATION[#1]:
 Track State:   complete incremental
 Track Start Address:   0*2KB
 Free Blocks:   0*2KB
 Track Size:779568*2KB
 Last Recorded Address: 779567*2KB
READ TRACK INFORMATION[#2]:
 Track State:   invisible incremental
 Track Start Address:   817472*2KB
 Next Writable Address: 817472*2KB
 Free Blocks:   1480416*2KB
 Track Size:1480416*2KB
FABRICATED TOC:
 Track#1  : 14@0
 Track#AA : 17@779568
 Multi-session Info:#1@0
READ CAPACITY:  779568*2048=1596555264

 You may also try to format it, which would remove the need
 for blanking it before re-use
   dvd+rw-format -force /devsr0

That's much better: the 0.0 increased to 100.0:

* BD/DVD±RW/-RAM format utility by ap...@fy.chalmers.se, version 7.1.
* 4.7GB DVD-RW media in Sequential mode detected.
* formatting 100.0/

and now I'm currently burning it, with no errors.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Thomas Schmitt
Hi,

 I forgot to say that there were no such problems a few months ago,
 with the same DVD and the same machine (and drive).

This is a common pattern with ageing drives and DVD-RW.

I am developer of burn software myself (libburn ... xorriso)
and am currently discussing a very similar case with one
of the users. He experimented with DVD-RW. Blanking, formatting,
burning data, ... forth and back. Suddenly he experienced
  3 73 04 PROGRAM MEMORY AREA UPDATE FAILURE
and the medium was not usable any more.

Then he put that DVD-RW into the drive of a laptop.
There it is still usable.
He bought new DVD-RW. No luck on his usual drive.
But they are usable with the laptop's one.
My own older drives throw errors on DVD-RW or burn them to an
unreadble state.

The capability to write DVD+RW deteriorates much later
than the capability to deal with DVD-RW.


 I suspect that the blank command actually failed (but why?),
 READ DISC INFORMATION:
  Disc status:   appendable
 ...
 READ TRACK INFORMATION[#2]:
  Track State:   invisible incremental
 ...
  Free Blocks:   1480416*2KB

Indeed the medium is still reported by the drive as being ready
for more sessions (e.g. by growisofs -M) of up to 2.9 GB.
I.e. blanking did not have the normal effect.

There are exactly two applicable variations of the BLANK
command. MMC specs call them Blank the disc and Minimally
blank the disc. Burn programs call them full/all and
fast.
So the fault is most likely internal in the drive and its
relation to the medium.


  You may also try to format it,
 That's much better [...] I'm currently burning it, with no errors.

Let's hope that it is entirely readable.

E.g. inspect the result by dvd+rw-mediainfo and look for a
line READ CAPACITY. Like
  READ CAPACITY:  779568*2048=1596555264
Then let dd read all blocks
  dd if=/dev/sr0 count=779568 bs=2048 of=/dev/null
and watch for i/o errors or early end of reading.

Or mount the medium and let diff compare the files on medium
with their originals on disc.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Thomas Schmitt
Hi,

i see that the advise about the read capacity is overdone,
now that you have a formatted DVD-RW.
dvd+rw-mediainfo will always report the full capacity
of the formatted medium (~ 4482 MB).

For checkreading only the valid range of the ISO filesystem
by dd, you may inquire the size of the ISO image.
E.g. get the byte count by
  isosize /dev/sr0
and divide it by 2048 to get the number of blocks for
  dd ... count=...


Not to forget:

Do not blank the formatted DVD-RW any more.
This would de-format it.

If you want to erase its content for privacy reasons, then
overwrite it by publicly presentable content. E.g. by
  dd if=/dev/zero bs=2048 count=2295104 of=/dev/sr0
(Your kernel should well be able to write to formatted DVD-RW
 without the need for a burn program.)


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Vincent Lefevre
Hi,

On 2013-09-30 10:46:21 +0200, Thomas Schmitt wrote:
  I forgot to say that there were no such problems a few months ago,
  with the same DVD and the same machine (and drive).
 
 This is a common pattern with ageing drives and DVD-RW.
 
 I am developer of burn software myself (libburn ... xorriso)
 and am currently discussing a very similar case with one
 of the users. He experimented with DVD-RW. Blanking, formatting,
 burning data, ... forth and back. Suddenly he experienced
   3 73 04 PROGRAM MEMORY AREA UPDATE FAILURE
 and the medium was not usable any more.
 
 Then he put that DVD-RW into the drive of a laptop.
 There it is still usable.
 He bought new DVD-RW. No luck on his usual drive.
 But they are usable with the laptop's one.
 My own older drives throw errors on DVD-RW or burn them to an
 unreadble state.

Thanks for the information. I wish growisofs be distributed with
some FAQ. Moreover, in case of error, in addition to technical
information, I think it should give practical information about
what could be wrong.

 The capability to write DVD+RW deteriorates much later
 than the capability to deal with DVD-RW.

After getting problems with DVD-RW, this is also what I've read.
I've also noticed that there are many Debian bug reports concerning
DVD-RW, but not DVD+RW.

Now, when I burn my old DVD+RW's (purchased in December 2005) with
the same drive, I get I/O errors when I re-read them, though they
have been burnt only a few times.

  I suspect that the blank command actually failed (but why?),
  READ DISC INFORMATION:
   Disc status:   appendable
  ...
  READ TRACK INFORMATION[#2]:
   Track State:   invisible incremental
  ...
   Free Blocks:   1480416*2KB
 
 Indeed the medium is still reported by the drive as being ready
 for more sessions (e.g. by growisofs -M) of up to 2.9 GB.
 I.e. blanking did not have the normal effect.

Maybe a bug in dvd+rw-format, which should have detected the error
(the 0.0 for 10 minutes was suspicious).

   You may also try to format it,
  That's much better [...] I'm currently burning it, with no errors.
 
 Let's hope that it is entirely readable.

With the same drive, everything is OK, by reading the DVD entirely
and comparing.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-30 Thread Thomas Schmitt
Hi,

 I wish growisofs be distributed with some FAQ.

There is http://fy.chalmers.se/~appro/linux/DVD+RW/
which begins by questions and answers. :o)

Problem is that dvd+rw-tools have not been updated since
about 5 years. Upstream (Andy Polyakov) and Debian
maintainers seem to be inactive alike. I posted a bug
fix a few months ago
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713016
but got no reaction.

Except that bug, growisofs is still in well usable shape.
(Docs and option set are quite obscure, though. Strictly
 following the principle of Read the source, Luke.)


 Moreover, in case of error, in addition to technical
 information, I think it should give practical information about
 what could be wrong.

This is really not easy. At least my own stuff is not
able to diagnose all possible problems.
Best you can have is a maintainer who knows the MMC and
SPC specs and who can make experiments.


 Now, when I burn my old DVD+RW's (purchased in December 2005) with
 the same drive, I get I/O errors when I re-read them,

To my experience, written DVD+RW media rarely deteriorate
over 5 to 10 years. So this bad read quality might mean
your drive is going blind.

If you have an opportunity to test the media with a
different drive, then you will get an impression whether
drive or media are to blame.


  Indeed the medium is still reported by the drive as being ready
  for more sessions 
 Maybe a bug in dvd+rw-format,

As said, there are only two variations of SCSI command BLANK,
and both should have yielded a state that is different from
the found one.

It rather looks like the drive just botched while blanking.


  Let's hope that it [the DVD-RW] is entirely readable.
 With the same drive, everything is OK, by reading the DVD entirely
 and comparing.

Well, stay cautious and checkread your burns.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724964: growisofs: fails to burn DVD-RW media with error SK=5h/ILLEGAL MODE FOR THIS TRACK

2013-09-29 Thread Vincent Lefevre
Package: growisofs
Version: 7.1-10
Severity: important

I've blanked a DVD-RW with:

$ dvd+rw-format -blank=full /dev/sr0
* BD/DVD±RW/-RAM format utility by ap...@fy.chalmers.se, version 7.1.
* 4.7GB DVD-RW media in Sequential mode detected.
* blanking 0.0-

which terminated after 10 minutes with no errors.
Then I tried to burn the DVD, but it failed:

$ growisofs -Z /dev/sr0 -R -J -udf -V Archives-201309 backup
Executing 'genisoimage -R -J -udf -V Archives-201309 backup | builtin_dd 
of=/dev/sr0 obs=32k seek=0'
I: -input-charset not specified, using utf-8 (detected in locale settings)
[...]
  0.59% done, estimate finish Mon Sep 30 04:35:35 2013
  1.18% done, estimate finish Mon Sep 30 04:35:35 2013
  1.77% done, estimate finish Mon Sep 30 04:36:31 2013
/dev/sr0: Current Write Speed is 4.1x1352KBps.
:-[ WRITE@LBA=0h failed with SK=5h/ILLEGAL MODE FOR THIS TRACK]: Input/output 
error
:-( attempt to re-run with -dvd-compat -dvd-compat to engage DAO or apply full 
blanking procedure
:-( write failed: Input/output error

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages growisofs depends on:
ii  libc6   2.17-93
ii  libgcc1 1:4.8.1-10
ii  libstdc++6  4.8.1-10

growisofs recommends no packages.

growisofs suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org