dvd burning problem, dvd+rw-tools, LG GSA-4120B

2004-09-24 Thread Ronny Haryanto
Hi all,

I just bought a LG GSA-4120B unit yesterday and immediately tried
burning a DVD-R with k3b (which uses growisofs), but it did not work.
I keep getting 03/0C/00 input/output (write) error.

I'm using dvd+rw-tools-5.21.4.10.8 vanilla.

Here are the relevant output and logs:

# uname -a
Linux mambo 2.6.8-gentoo-r3 #1 Fri Sep 3 16:08:26 EST 2004 i686 AMD Athlon(tm) XP 
2800+ AuthenticAMD GNU/Linux

This particular kernel from gentoo has the following patch applied, so the
whole fuss about 2.6.8-scsi-whatever-dvdwriting-"bug"(*) should not be a
problem(?):

Index: linux-2.6.8.1-ck/drivers/block/scsi_ioctl.c
===
--- linux-2.6.8.1-ck.orig/drivers/block/scsi_ioctl.c2004-08-19 19:58:28.041430003 
+1000
+++ linux-2.6.8.1-ck/drivers/block/scsi_ioctl.c 2004-08-19 19:59:01.705207615 +1000
@@ -193,8 +193,6 @@ static int sg_io(struct file *file, requ
return -EINVAL;
if (copy_from_user(cmd, hdr->cmdp, hdr->cmd_len))
return -EFAULT;
-   if (verify_command(file, cmd))
-   return -EPERM;
 
/*
 * we'll do that later

(Note: I tried with 2.6.7 too, just in case I'm wrong, but same problem.)
(*) http://k3b.plainblack.com/index.pl/news2

# dmesg | grep hdc
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: HL-DT-ST DVDRAM GSA-4120B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 79X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)

I use a new blank DVD-R media (Mr.Data 8x spindle, CMC really):

# dvd+rw-mediainfo /dev/hdc
INQUIRY:[HL-DT-ST][DVDRAM GSA-4120B][A102]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 11h, DVD-R Sequential
 Media ID:  CMC MAG. AE1
 Current Write Speed:   8.0x1385=11080KB/s
 Write Speed #0:8.0x1385=11080KB/s
 Write Speed #1:4.0x1385=5540KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 6.0x1385=8310KB/[EMAIL PROTECTED] -> 227567]
8.0x1385=11080KB/[EMAIL PROTECTED] -> 2298495]
 Speed Descriptor#0:02/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#1:02/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   25h, DVD-R book [revision 5]
 Legacy lead-out at:2298496*2KB=4707319808
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2298496*2KB
 Track Size:2298496*2KB
READ CAPACITY:  1*2048=2048

# growisofs -dvd-compat -Z /dev/hdc=/tmp/tj1-60.iso
Executing 'builtin_dd if=/tmp/tj1-60.iso of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 8.2x1385KBps.
 0/4679391232 ( 0.0%) @0x, remaining ??:??
 0/4679391232 ( 0.0%) @0x, remaining ??:??
:-[ [EMAIL PROTECTED] failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
:-( write failed: Input/output error
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc
/dev/hdc: reloading tray

And after I close the tray:

# dvd+rw-mediainfo /dev/hdc
INQUIRY:[HL-DT-ST][DVDRAM GSA-4120B][A102]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 11h, DVD-R Sequential
 Media ID:  CMC MAG. AE1
 Current Write Speed:   8.0x1385=11080KB/s
 Write Speed #0:8.0x1385=11080KB/s
 Write Speed #1:4.0x1385=5540KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 6.0x1385=8310KB/[EMAIL PROTECTED] -> 227567]
8.0x1385=11080KB/[EMAIL PROTECTED] -> 2298495]
 Speed Descriptor#0:02/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#1:02/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   25h, DVD-R book [revision 5]
 Legacy lead-out at:2298496*2KB=4707319808
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   invisible incremental
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2297888*2KB
 Track Size:2297888*2KB
READ CAPACITY:  1*2048=2048

So, this is my 4th "coaster" so far :( all of them failed with the
same error, I tried with K3b, dvdrecord, cdrecord-prodvd.

What could be the problem? Any ideas?

In the meantime, I'm going to put the DVD burner in another PC with
Windows XP on it just to make sure that there's nothing wrong with the
hardware. (I could've done this yesterday but I was too pi**ed off to
do anything.) Currently I don't have any other media to try with, but
I'll buy different brands and type just to make sure it's not the
media, well actually I hope it's the media that's causing problem.

There is an official firmware update A111 from LG, I'm going to update

Re: dvd burning problem, dvd+rw-tools, LG GSA-4120B

2004-09-25 Thread Ronny Haryanto
On Sat, Sep 25, 2004 at 04:05:56PM +0200, Andy Polyakov wrote:
> >READ TRACK INFORMATION[#1]:
> > Track State:   invisible incremental
> > Track Start Address:   0*2KB
> > Next Writable Address: 0*2KB
> 
> In DVD+R case the last line would mean that it's OK to write.

So the disc is not (yet) a coaster after all, eh?

> What happens if you try to re-run growisofs? Does it fail in the
> very same or some other way?

OK, I just tried rerunning growisofs again on the same media, twice.
It failed in exactly the same way, and dvd+rw-mediainfo gives the same
information as the above, nothing changes.

> >What could be the problem? Any ideas?
> 
> Try another media brand. Also try to lower the recording speed. Being 
> rather bizarre, the problem smells poor firmware media support for 
> particular brand or media product. A.

OK, this is wierd, I tried -speed=6 and -speed=4 but
growisofs kept saying the "Current Write Speed is 8.2x".

# growisofs -speed=6 -dvd-compat -Z /dev/hdc=/tmp/tj1-60.iso
Executing 'builtin_dd if=/tmp/tj1-60.iso of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 8.2x1385KBps.
 0/4679391232 ( 0.0%) @0x, remaining ??:??
 0/4679391232 ( 0.0%) @0x, remaining ??:??
:-[ [EMAIL PROTECTED] failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
:-( write failed: Input/output error
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc
/dev/hdc: reloading tray

# growisofs -speed=4 -dvd-compat -Z /dev/hdc=/tmp/tj1-60.iso
Executing 'builtin_dd if=/tmp/tj1-60.iso of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 8.2x1385KBps.
 0/4679391232 ( 0.0%) @0x, remaining ??:??
 0/4679391232 ( 0.0%) @0x, remaining ??:??
:-[ [EMAIL PROTECTED] failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
:-( write failed: Input/output error
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc
/dev/hdc: reloading tray

But when I tried -speed=1 then growisofs said "Current Write Speed" is
4.1 and it worked!! ...for a while. (Keep reading).

# growisofs -speed=1 -dvd-compat -Z /dev/hdc=/tmp/tj1-60.iso
Executing 'builtin_dd if=/tmp/tj1-60.iso of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 4.1x1385KBps.
  14024704/4679391232 ( 0.3%) @3.0x, remaining 27:43
  32505856/4679391232 ( 0.7%) @3.9x, remaining 19:03
  50921472/4679391232 ( 1.1%) @3.9x, remaining 18:10
  ... and so on until ...
3487268864/4679391232 (74.5%) @3.1x, remaining 3:40
3505717248/4679391232 (74.9%) @3.9x, remaining 3:36
:-[ [EMAIL PROTECTED] failed with SK=4h/ASC=09h/ACQ=01h]: Input/output error
builtin_dd: 1716384*2KB out @ average 3.8x1385KBps
:-( write failed: Input/output error
/dev/hdc: flushing cache
:-[ FLUSH CACHE failed with SK=4h/ASC=09h/ACQ=01h]: Input/output error
/dev/hdc: updating RMA
/dev/hdc: closing disc

Different SK error code now: 04/09/01. I could mount the disc, and see
the list of files, but the files are not readable. The kernel gave
these messages when I tried to read the contents of the files:

...
attempt to access beyond end of device
hdc: rw=0, want=8951444, limit=6863360
Buffer I/O error on device hdc, logical block 2237860
attempt to access beyond end of device
hdc: rw=0, want=8951448, limit=6863360
Buffer I/O error on device hdc, logical block 2237861

Argh! This is driving me nuts. I will try different brands and types
(DVD+R, DVD+RW, DVD-RW) as soon as I get a chance to buy them, and I
will also upgrade the firmware to the latest official version from LG,
then I will report back here.

One question: why did -speed=N not give Nx, but something different?

Thank you so much for replying and for your suggestions, Andy.

Ronny


pgp1lWwcPVKPR.pgp
Description: PGP signature


Re: dvd burning problem, dvd+rw-tools, LG GSA-4120B

2004-09-25 Thread Ronny Haryanto
On Sun, Sep 26, 2004 at 12:50:58AM +1000, Ronny Haryanto wrote:
> :-[ [EMAIL PROTECTED] failed with SK=4h/ASC=09h/ACQ=01h]: Input/output error
> builtin_dd: 1716384*2KB out @ average 3.8x1385KBps
> :-( write failed: Input/output error
> /dev/hdc: flushing cache
> :-[ FLUSH CACHE failed with SK=4h/ASC=09h/ACQ=01h]: Input/output error
> /dev/hdc: updating RMA
> /dev/hdc: closing disc

Hmm. I checked the disc physically and saw a big scratch right where
the the last data was written.

I tried again with another media, and this time it worked until it
finished 100% and I checked all the files was working fine.

I'm almost certain it's the media now. Sorry for the noise, folks.
Hopefully somebody could benefit from my postings and not use the same
media (Mr.Data DVD-R 8x; CMC MAG. AE1) with LG GSA-4120B. I know I
won't buy CMC again.

Thanks for the help.

Ronny


pgpdE5Y4J199C.pgp
Description: PGP signature


Re: dvd burning problem, dvd+rw-tools, LG GSA-4120B

2004-09-27 Thread Ronny Haryanto
On Mon, Sep 27, 2004 at 07:33:23AM -0400, Rob Bogus wrote:
> >Hmm. I checked the disc physically and saw a big scratch right where
> >the the last data was written.
> >
> >I tried again with another media, and this time it worked until it
> >finished 100% and I checked all the files was working fine.
>
> I doubt any other media will work better with a "big scratch" and it's 
> unlikely to have been added in manufacturing. You may want to avoid 
> media with big scratches, and your firmware may be deficient, but I 
> don't think either of those indicates a general problem with CMC.

I apologize for my poor English, it might be confusing. Of course only
that particular disc has the unintentional scratch on it. As I said I
tried again with another disc (of the same brand from the same
spindle) with success. So basically the disc was borked, the write
failure most likely does not have anything to do with the drive,
firmware or the software.

Today I had a chance to try a Ritek DVD-RW 4x (RITEKW04) in a jewel
case but the maximum write speed I got was only 2x. I also have a
Ritek DVD+RW 4x (RICOHJPN/W11), which I have yet to try, but
dvd+rw-mediainfo indicates that the maximum possible write speed is
4x. Lastly I have a Ritek DVD+R 8x (RICOHJPN/R02), but
dvd+rw-mediainfo tells me that the maximum write speed is 12x! I also
haven't tried this one yet. I have a feeling that the +R[W] media will
work better with my drive compared to the -R[W].

Cheers,
Ronny


pgpfxVKI31NiR.pgp
Description: PGP signature