You are not logged in.

#1 2014-03-05 10:13:57

ptheta
Member
Registered: 2013-11-14
Posts: 5

Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

I'm struggling with trying to burn a  blu-ray. The drive is a Lite-On iHES212 and I've managed to burn a CD with it but I can't get anywhere with the blu-ray.

I get errors like this:
[paul@hex tmp]$ xorrecord dev=/dev/sr0 ~/tmp/my.iso
xorriso 1.3.4 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev '/dev/sr0'
Media current: BD-RE
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 23.3g free
xorriso : NOTE : Unformatted BD-RE medium detected. Trying -format fast.
Beginning to format medium.
libburn : FAILURE : SCSI error on format_unit(BD-RE): [5 20 00] Illegal request. Invalid command operation code.
libburn : FAILURE : Failed to synchronize drive cache. SCSI error : [5 20 00] Illegal request. Invalid command operation code.
xorriso : FAILURE : libburn indicates failure with formatting.
xorriso : FAILURE : Automatic formatting of BD-RE failed
xorriso : NOTE : Gave up -outdev ''
xorriso : FAILURE : -as cdrskin: Job could not be performed properly.
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

and this:
[paul@hex tmp]$ growisofs -dvd-compat -Z /dev/sr0=my.iso
Executing 'builtin_dd if=my.iso of=/dev/sr0 obs=32k seek=0'
/dev/sr0: pre-formatting blank BD-RE for 25.0GB...
:-[ FORMAT UNIT failed with SK=5h/INVALID COMMAND OPERATION CODE]: No such device

If I use this command I get a bit more information:
xorriso -scsi_log on -dev /dev/sr0 -format "full"
libburn : NOTE : Drive does not support media certification
libburn : FAILURE : SCSI error on format_unit(BD-RE): [5 20 00] Illegal request. Invalid command operation code.
libburn : FAILURE : Failed to synchronize drive cache. SCSI error : [5 20 00] Illegal request. Invalid command operation code.
xorriso : FAILURE : libburn indicates failure with formatting.
xorriso : NOTE : Gave up -outdev '/dev/sr0'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

Can anyone help me with this, please?

Many thanks,
  Paul.

Offline

#2 2014-03-05 14:57:58

scdbackup
Member
Registered: 2013-05-30
Posts: 39

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Hi,

the burner drive does not like the FORMAT UNIT command.
"Invalid command operation code" means thet the whole command
is not supported, at least with the given medium.

The reason is most probably that your drive is advertised
as "Blu-ray Combo". I.e that it can read BD but not write them.
  http://us.liteonit.com/us/bd-internal/i … al/ihes212
  "This drive reads blu-ray disc and writes DVD and CDs."

You can verify by

  xorriso -outdev /dev/sr0 -list_profiles

which is supposed to announce

  Profile      : 0x0040 (BD-ROM)

but not any of

  Profile      : 0x0043 (BD-RE)
  Profile      : 0x0042 (BD-R random recording)
  Profile      : 0x0041 (BD-R sequential recording)


Have a nice day smile

Thomas

Offline

#3 2014-03-05 15:19:33

ptheta
Member
Registered: 2013-11-14
Posts: 5

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

That's exactly it, thanks. 

It came to me as a hand me down, described as a  Blu-Ray burner and I took that at face value without checking.

Offline

#4 2014-03-05 15:49:10

scdbackup
Member
Registered: 2013-05-30
Posts: 39

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Hi,

the more i think about it, the more it seems that the
drive is a liar.

It told libburn that the current profile was BD-RE. This implies
a promise to format and to write the medium.
Actually it should have reported the current profile as BD-ROM,
or even as unusable because the medium is not readable yet.

No wonder growisofs and libburn got lured into sending an
inappropriate command.

Can you post the output of xorriso -outdev /dev/sr0 -list_profiles ?
I would like to know how far the lying is going.

Have a nice day smile

Thomas

Offline

#5 2014-03-05 15:57:31

ptheta
Member
Registered: 2013-11-14
Posts: 5

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

No problem.  Here it is.

[paul@hex ~]$ xorriso -outdev /dev/sr0 -list_profiles
xorriso 1.3.4 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: is not recognizable
Media status : is not present
Drive current: -outdev '/dev/sr0'
Drive type   : vendor 'ATAPI' product 'iHES212 3' revision 'JL03'
Profile      : 0x0040 (BD-ROM)
Profile      : 0x002B (DVD+R/DL)
Profile      : 0x001B (DVD+R)
Profile      : 0x001A (DVD+RW)
Profile      : 0x0016 (DVD-R/DL layer jump recording)
Profile      : 0x0015 (DVD-R/DL sequential recording)
Profile      : 0x0014 (DVD-RW sequential recording)
Profile      : 0x0013 (DVD-RW restricted overwrite)
Profile      : 0x0012 (DVD-RAM)
Profile      : 0x0011 (DVD-R sequential recording)
Profile      : 0x0010 (DVD-ROM)
Profile      : 0x000A (CD-RW)
Profile      : 0x0009 (CD-R)
Profile      : 0x0008 (CD-ROM)
Profile      : 0x0002 (Removable disk)

Offline

#6 2014-03-05 16:35:22

scdbackup
Member
Registered: 2013-05-30
Posts: 39

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Hi,

i should have said: With the blank BD-RE in it.

Well, here it is telling the same as the technical
description of Lite-On does. Especially it does not
promise the profile "BD-RE", which implies the
"BD Write Feature". (One has to pay 30 USD,
nowadays, for MMC-6 specs where this is described.)

The capability to read formatted BD-RE is included
in profile "BD-ROM". I am currently reading with
wrinkled forehead the description of the
"BD Read Feature", which mentions 4 classes of
BD-RE with 16 versions each.

My LG burner promises to read BD-RE Class 0
versions 3 and 4. BD-R Class 0 versions 1 and 2.
BD-ROM Class 0 version 1.
Whatever this may be. (Blu-ray specs cost 3000 USD.)

So my next wish is

  xorriso -scsi_log on -outdev /dev/sr0 2>&1 | tee -i /tmp/xorriso.log

with blank BD-RE medium in the drive.

The text will be lengthy. Thus catch it in /tmp/xorriso.log.
I want to see the replies to the GET CONFIGURATION
commands. Post the whole /tmp/xorriso.log or send it
to me by e-mail: scdbackup@gmx.net


Have a nice day smile

Thomas

Offline

#7 2014-03-05 16:42:08

ptheta
Member
Registered: 2013-11-14
Posts: 5

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

I have emailed you that log as it runs to over 400 lines.

Let me know soon if I can gather any more diagnostics as this drive will be coming out of the PC later this evening.  I was going to buy it 2nd hand off a colleague but it's of no use to me now as I already have a Blu-Ray reader and I was only really interested in burning Blu-Rays and not CDs or DVDs.

Regards,
  Paul.

Offline

#8 2014-03-05 17:00:11

scdbackup
Member
Registered: 2013-05-30
Posts: 39

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Hi,

well, if that run was with BD-RE medium inserted, then this
time the drive does not recognize it as usable medium.
That would be standard compliant. (But why did xorriso and
growisofs perceive it as BD-RE with the first tries ?)

About BD readability it promises:
BD-RE Class 0 version 1 and 2,
BD-R Class 0 version 1,
BD-ROM Class 0 version 1.

Now i wonder when i see the first reports about BD media
which are not becomming "current profile" although the
profile list promises to support the media type.

In any case: Thank you for flying xorriso.


Have a nice day smile

Thomas

Offline

#9 2014-03-05 17:20:52

ptheta
Member
Registered: 2013-11-14
Posts: 5

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Apologies, I went and took the disc out when getting ready to pull the drive out of the machine.  I will email you a new log.

Thanks for making xorriso available.
Paul.

Offline

#10 2014-03-05 17:46:20

scdbackup
Member
Registered: 2013-05-30
Posts: 39

Re: Can't burn a blu-ray (BD-RE): SCSI error : [5 20 00] Illegal request.

Hi,

now we caught the drive when violating the specs:

  GET CONFIGURATION
  46 00 00 00 00 00 00 01 c8 00
  From drive: 456b
  00 00 01 c4 00 00 00 43

This states that the "current profile" is 0x0043 "BD-RE".
But it is not in the profile list

                                      00 40 01 00 00 2b 00 00
  00 1b 00 00 00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00
  00 13 00 00 00 12 00 00 00 11 00 00 00 10 00 00 00 0a 00 00
  00 09 00 00 00 08 00 00 00 02 00 00

and in this list, profile 0x0040 "BD-ROM" is marked "current".
(Each group of four bytes describes one profile, which is a
set of "features", which are sets of supported commands.)

MMC-6, paragraph 5.2.1 prescribes
"The Drive shall report a list of supported profiles in the
Profile List Feature descriptor. The Current Profile field
shall identify one of the profiles from the Profile List
Feature. If there are no Profiles currently active, this
field shall contain zero."

So both aspects of "current" profile are not only contradicting,
but also wrong promises.
The inserted medium can neither be written as 0x0043 BD-RE,
nor can it be read as 0x0040 BD-ROM.

Henchmen ! Put the delinquent in chains and drag him to the
pillory !


Have a nice day smile

Thomas

Offline

Board footer

Powered by FluxBB