[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: plextor PX-716A: OPC error, COMMAND SEQUENCE ERROR [growisofs]



A summary of my tests:

===== 1) I couldn't make dvd+rw-tools work with the 1x DVD-RW media I got.
dvd+rw-format [-blank[=full]]-> SK=5h/ASC=27h/ACQ=00h
growisofs -> SK=5h/ASC=2Ch/ACQ=00hù

I think this has to do with blanking since I got the same error with
cdrecord if I try to use a DVD-RW without blanking:
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)

However, I tired blanking the DVD-RW with cdrecord and then
$ growisofs -dvd-compat -dvd-compat -Z /dev/cdrom=test.iso
Executing 'builtin_dd if=test.iso of=/dev/cdrom obs=32k seek=0'
/dev/cdrom: engaging DVD-RW DAO upon user request...
:-[ PERFORM OPC failed with SK=5h/ASC=2Ch/ACQ=00h]: Input/output error

growisofs wll work with 4x DVD+RW media

===== 2) cdrecord-prodvd-2.01.01-i686-pc-linux-gnu
It works with both DVD-RW and DVD+RW media.


===== 3) cdrecord-2.01.1-5 (rhel4 recompiled on rhel3)
It works with both DVD-RW and DVD+RW media.
It reports confusing messages about BURN-Free (I always use
driveropts=burnfree)
--
Turning BURN-Free on
input buffer ready.
trackno=0
BURN-Free is OFF.
BURN-Free is OFF
...
--
cdrecord: Turning BURN-Free on
trackno=0
BURN-Free is ON.
Turning BURN-Free off
BURN-Free is OFF.
...
--
BURN-Free is ON.
Turning BURN-Free off
BURN-Free is OFF.
cdrecord: Turning BURN-Free on
Performing OPC...
...
--

prodvd will always just say "BURN-Free is ON."

==== 4) http://people.mandrakesoft.com/~warly/files/cdrtools/
As far as I can see these patches are the ones the rhel rpms are based on.
It seems those at the site are newer than the rhel ones.
I used cdrtools-2.01.01a01.tar.bz2 as a base.
and added
cdrtools-2.01.01-dvd.patch.bz2
cdrtools-2.01.01-warnings.patch.bz2
cdrtools-2.01.01a01-scanbus.patch.bz2

Couldn't use cdrtools-2.01.01-rawio.patch.bz2 since cdrecord would not
compile (I'm on a rhel3 system).
Couldn't use cdrtools-2.01a27-o_excl.patch.bz2 since the patch didn't apply
cleanly.

It will fail with (DVD-RW media, couldn't test DVD+RW media)
cdrecord -v -data -sao blank=fast gracetime=1 dev=1,0,0 speed=0
 driveropts=burnfree test.iso

...
cdrecord: Found DVD media: using cdr_mdvd.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 6291456 = 6144 KB
Drive DMA Speed: 3748 kB/s 21x CD 2x DVD
FIFO size      : 4194304 = 4096 KB
Track 01: data     1 MB
Total size:        1 MB (00:11.58) = 869 sectors
Lout start:        2 MB (00:13/44) = 869 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
cdrecord: Cannot get disk type.              <=========


===== 5) linux issues
As usually, linux will sometime spit weird messages to the system log
without much details.
kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST
This happened sometimes during dvd+rw-mediainfo (if run after cdrecord
-eject, cdrecord -atip), sometimes during other cdrecord commands.

To make user happy linux won't tell you what the problem/ioctl actually is,
however adding debug it seems to me the ioctl is always "Read TOC" so I
edited drivers/scsi/sr_ioctl.c changed
      if (!quiet)
         printk(KERN_ERR "sr%d: CDROM (ioctl) reports ILLEGAL "
into
     if (!quiet && sr_cmd[0] != 0x43)
    printk(KERN_ERR "sr%d: CDROM (ioctl) reports ILLEGAL "

If you know "Read TOC" is really important please tell me.


Thanks 



Reply to: