System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

burn image to dvd using growisofs

LJB_1
Occasional Visitor

burn image to dvd using growisofs

I receive the following error when attempting to burn an image to a DVD using growisofs -dvd-compat -Z /dev/rdsk/c0t0d0 -R -J backup.iso:

:-( FAIL: command failed with SCTL_INVALID_REQUEST.
:-( unable to GET CONFIGURATION: I/O error
:-( non-MMC unit?

I have tried several different combinations with the command, and I get the same error each time.

DVD Type is DVD+R
Server Info: HP-UX SVR009 B.11.23 U ia64

ioscan for the DVD-ROM is as follows:
disk 2 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0


file information for /dev/dsk and /dev/rdsk is as follows:

brw-r----- 1 bin sys 31 0x000000 Jun 23 2010 c0t0d0
brw-r----- 1 bin sys 31 0x030000 Jun 23 2010 c3t0d0
brw-r----- 1 bin sys 31 0x030001 Jun 23 2010 c3t0d0s1
brw-r----- 1 bin sys 31 0x030002 Jun 23 2010 c3t0d0s2
brw-r----- 1 bin sys 31 0x030003 Jun 23 2010 c3t0d0s3

crw-r----- 1 bin sys 188 0x000000 Jun 23 2010 c0t0d0
crw-r----- 1 bin sys 188 0x030000 Jun 23 2010 c3t0d0
crw-r----- 1 bin sys 188 0x030001 Jun 23 2010 c3t0d0s1
crw-r----- 1 bin sys 188 0x030002 Jun 23 2010 c3t0d0s2
crw-r----- 1 bin sys 188 0x030003 Jun 23 2010 c3t0d0s3


I have read all the documentation, but it seems that I may have possibly missed something. Any help/ideas would be greatly appreciated.
6 REPLIES
Steven Schweda
Honored Contributor

Re: burn image to dvd using growisofs

> I have read all the documentation, [...]

Really? Which "all" is that?

> but it seems that I may have possibly
> missed something.

Possibly. Google found this:

http://www.teac.com/data_storage/combo_drives/dw-224e-v/

[...]
TEAC DW-224E-V is a slim CD
recordable/rewritable and DVD-ROM combo drive
suitable for notebook PCs. Features standard
half inch design, IDE interface and buffer
under-run prevention. Supports disc-at-once,
session-at-once, pocket write and
track-at-once recording mode. Horizontal and
vertical mounting for most system
configurations.
[...]

It's a CD-R/RW, DVD-ROM drive. ROM, as in
Read-Only Memory, should suggest Read-Only,
not Write.

How big is this "backup.iso"? If you can fit
it onto a CD, then this drive might have a
chance of writing it. If you need to write
it to a DVD, then you would seem to need a
different (more capable) drive.
Matti_Kurkela
Honored Contributor

Re: burn image to dvd using growisofs

The error message indicates growisofs couldn't even get the drive configuration.

Reading the drive configuration would explicitly tell growisofs whether the drive has the necessary write capability or not.
I would have expected a more specific error message if the problem was the lack of hardware support for DVD writing.

If the drive supports even CD-R writing, it should support the MMC SCSI command set, i.e. it should *not* be a "non-MMC unit".

Have you created the "raw SCSI" device node for the DVD-ROM drive?

From the source code of one version of growisofs:
http://dvdplus-prw-tools.sourcearchive.com/documentation/5.21.4.10.8-1/growisofs_8c-source.html
--------------
/*
* Even though /dev/rdsk/cXtYdZ accepts SIOC_IO as well, we have to
* use /dev/rscsi/cXtYlZ for pass-through access in order to avoid
* command replay by upper "class" driver...
*/
--------------

According to "man 7 scsi_ctl", your /dev/rscsi device node should be created like this:

mkdir /dev/rscsi # (if it doesn't already exist)
/usr/sbin/mknod /dev/rscsi/c0t0l0 c 203 0x000000
chmod 600 /dev/rscsi/c0t0l0

NOTE: the letters in the device node name are not the usual c-t-d, but c-t-l (for Controller-Target-LUN).

MK
MK
Steven Schweda
Honored Contributor

Re: burn image to dvd using growisofs

> I would have expected a more specific error
> message if the problem was the lack of
> hardware support for DVD writing.

So would I, but I know nothing about
"growisofs" or how lame it might be. On the
other hand, the best software in the world
might not be able to get a DVD+R written on a
DVD-ROM drive.

Loading a DVD+R blank into an old CD-R/RW
drive might bewilder either the drive or the
program, too, for all I know (which is, of
course, only what I read on the Web, or
nothing, depending).
LJB_1
Occasional Visitor

Re: burn image to dvd using growisofs

Thanks for the feedback,

I did set the mknod for rscsi originally. I just failed to include it in my original post.


/dev/rscsi:

crw-r----- 1 bin sys 203 0x000000 Mar 14 05:30 c0t0l0
crw-r----- 1 bin sys 203 0x007000 Jun 23 2010 c0t7d0
crw-r----- 1 bin sys 203 0x017000 Jun 23 2010 c1t7d0
crw-r----- 1 bin sys 203 0x027000 Jun 23 2010 c2t7d0


Documentation that I was referring to was the growisofs documentation. Thanks for the tip though.

I didn't have access to my server, and thought that all of the DVD Drives were Writeable. I was able to check this morning, and I do have two servers with DVD/RW and it still gave the same error.


Still need to do some checking, but I think I found the issue. The server is an rx3600. See below link with ticket information.

http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=ttr_na-SSB_1000574854
LJB_1
Occasional Visitor

Re: burn image to dvd using growisofs

It was related to the server/dvd burner as indicated in my previous post.

However, pdf referenced in the fix was broken. Found the text of the document referenced in a ticket similar to my issue:

http://h30499.www3.hp.com/t5/General/USB-00-and-patch-PHKL-37814-1/m-p/4324686#M138649


I did an swremove of USB-00 and loaded the most resent patch for PHKL_37814 along with all of its required patches, and that resolved the issue.

Thanks for the help everyone.

LJB_1
Occasional Visitor

Re: burn image to dvd using growisofs

Reference: http://h30499.www3.hp.com/t5/General/USB-00-and-patch-PHKL-37814-1/m-p/4324686#M138649

I did an swremove of USB-00 and loaded the most resent patch for PHKL_37814 along with all of its required patches, and that resolved the issue.