You are not logged in.

#1 2009-01-21 20:45:41

Ruckus
Member
Registered: 2007-02-17
Posts: 204

growisofs and DVD Burning

I have always had problems burning DVD's under Linux. Other than doing it by hand, which I find is extremely time consuming and a pain, the only working combination I've found is using DeVeDe to prepare the ISO image and k3b to burn the iso image.

It seems that a recent update (within the last month) has broken DVD burning on my system. I get the following error when using the growisofs command, the same error also shows up when I attempt to use k3b, burning music cd's (with k3b) is fine however.

[george@gcomp ~]$ growisofs -Z /dev/cdrw -f ~/media/backup/Example.iso 
Executing 'mkisofs -f /home/george/media/backup/Example.iso | builtin_dd of=/dev/cdrw obs=32k seek=0'
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
  0.37% done, estimate finish Wed Jan 21 14:43:19 2009
  0.75% done, estimate finish Wed Jan 21 14:43:19 2009
  1.12% done, estimate finish Wed Jan 21 14:43:19 2009
/dev/cdrw: "Current Write Speed" is 3.3x1352KBps.
:-[ WRITE@LBA=0h failed with SK=0h/ASC=00h/ACQ=02h]: Input/output error
:-( write failed: Input/output error
[george@gcomp ~]$

Last edited by Ruckus (2011-04-20 03:53:05)

Offline

#2 2009-01-21 20:55:01

deej
Member
Registered: 2008-02-08
Posts: 395

Re: growisofs and DVD Burning

Install IsoMaster ( pacman has it ). This will create
your iso, then install gnomebaker to burn it. I've had
loads of problems with k3b recently, as well - so I just
use these two utilities now, and very good they are too !

Deej

Offline

#3 2009-01-21 21:05:50

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: growisofs and DVD Burning

deej wrote:

Install IsoMaster ( pacman has it ). This will create
your iso, then install gnomebaker to burn it. I've had
loads of problems with k3b recently, as well - so I just
use these two utilities now, and very good they are too !

Deej

The title was a little misleading I suppose, The problem is with growisofs, not k3b specifically, I tried burning the ISO (created with DeVeDe) via command line and it produced the above error.

Offline

#4 2009-01-23 10:25:36

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: growisofs and DVD Burning

You burn a iso image file using growisofs with the following syntax:

growisofs -Z /dev/cdrw=/path/to/iso

(from http://wiki.archlinux.org/index.php/DVD_writing)

I'm not sure but I think this will not fix your I/O error.

Can you provide information regarding your DVD writer?

Offline

#5 2009-01-23 23:24:50

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: growisofs and DVD Burning

The model of the device (according to dmesg) is:

[george@gcomp ~]$ dmesg | grep "DVD"
ata2.00: ATAPI: SONY    DVD RW DW-G120A, MYR5, max UDMA/66
scsi 1:0:0:0: CD-ROM            SONY     DVD RW DW-G120A  MYR5 PQ: 0 ANSI: 5
[george@gcomp ~]$

It's the same device, its an IDE device, but is recognized as scsi, as are all of my IDE devices.

I tried calling growisofs the way you mentioned

[george@gcomp ~]$ growisofs -Z /dev/cdrw=/mnt/media/backup/BurnAfterReading.iso
Executing 'builtin_dd if=/mnt/media/backup/BurnAfterReading.iso of=/dev/cdrw obs=32k seek=0'
/dev/cdrw: "Current Write Speed" is 3.3x1352KBps.
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/3377078272 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
:-[ WRITE@LBA=0h failed with SK=0h/ASC=00h/ACQ=02h]: Input/output error
:-( write failed: Input/output error
[george@gcomp ~]$

Maybe its because it uses the new driver that causes it to be seen as an scsi device, I'm really at a loss here.

Last edited by Ruckus (2011-04-20 03:53:46)

Offline

#6 2009-01-24 22:06:10

seenxu
Member
Registered: 2008-08-25
Posts: 111

Re: growisofs and DVD Burning

I am having problem with almost all gui burning apps, including k3b etc. same file, same dvd-writer on same branded empty disk only works with growisofs, and I am so far happy with this litte cli app.

Offline

#7 2009-01-25 10:03:54

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: growisofs and DVD Burning

seenxu wrote:

I am having problem with almost all gui burning apps, including k3b etc. same file, same dvd-writer on same branded empty disk only works with growisofs, and I am so far happy with this litte cli app.

All of the GUI apps are simply frontends for growisofs, my problem is that not even growisofs is working.

Last night I did a complete re-install of arch. I used the legacy IDE option on the install CD as I had a guess that the problem might be from my IDE drives being treated as SCSI drives.

Now, with the old style IDE drivers (hda/hdb/hdc etc rather than sda/sdb/sdc), I am getting the following errors in dmesg:

Jan 25 09:38:55 gcomp hdc: status timeout: status=0xd0 { Busy }
Jan 25 09:38:55 gcomp ide: failed opcode was: unknown
Jan 25 09:39:00 gcomp hdc: status timeout: status=0xd0 { Busy }
Jan 25 09:39:00 gcomp ide: failed opcode was: unknown
Jan 25 09:39:05 gcomp hdc: status timeout: status=0xd0 { Busy }
Jan 25 09:39:05 gcomp ide: failed opcode was: unknown
Jan 25 09:39:10 gcomp hdc: status timeout: status=0xd0 { Busy }
Jan 25 09:39:10 gcomp ide: failed opcode was: unknown
Jan 25 09:39:15 gcomp hdc: status timeout: status=0xd0 { Busy }
Jan 25 09:39:15 gcomp ide: failed opcode was: unknown

I will do some more playing around with this later. Its 4am now and I need some sleep.

Offline

#8 2009-01-25 22:29:07

mvdvarrier
Member
Registered: 2008-10-04
Posts: 47

Re: growisofs and DVD Burning

Hello,
I have 2 SONY DVD/RW drives. Both of them have inconsistent performance.Some times burning of DVD's will succeed and most of the time fall in error. I think the problem is with these drives.
I am using
#growisofs -dvd-compat  -Z  /dev/dvd=/path/to/whatever.iso
mvdvarrier


mvdvarrier is a Warrior; Born to Expedite!!!

Offline

#9 2009-01-26 08:41:51

seenxu
Member
Registered: 2008-08-25
Posts: 111

Re: growisofs and DVD Burning

Ruckus wrote:
seenxu wrote:

I am having problem with almost all gui burning apps, including k3b etc. same file, same dvd-writer on same branded empty disk only works with growisofs, and I am so far happy with this litte cli app.

All of the GUI apps are simply frontends for growisofs, my problem is that not even growisofs is working.

As I know, only k3b make a direct use of growisofs, which is a frontend of mkisofs.
Apps like xfburn, Brasero are using libburnia as their backend.

Offline

#10 2009-01-26 17:59:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: growisofs and DVD Burning

seenxu wrote:

As I know, only k3b make a direct use of growisofs, which is a frontend of mkisofs. Apps like xfburn, Brasero are using libburnia as their backend.

Brasero uses libburn if you install it explicitly. It defaults to cdrkit which has been problematic for many users. cdrtools seems to work a lot better for a lot of people including myself. It's available in AUR.

Offline

#11 2009-01-28 03:53:43

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: growisofs and DVD Burning

I have been getting this error for some time when trying to burn dvds. I found that by using the switch -speed=14 on a 16x dvd disk, it will burn at full speed(16x). Makes no sense but for instance:

growisofs -speed=14 -Z /dev/sr0=myiso.iso

will burn at 16x which is the speed the dvd discs say on them.

BTW, its the same thing with CDRs.

growisofs -speed=48

burns at 52x

Hope that helps


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#12 2009-01-29 11:22:53

Schily
Member
Registered: 2009-01-27
Posts: 15

Re: growisofs and DVD Burning

Ruckus wrote:

I have always had problems burning DVD's under Linux

[george@gcomp ~]$ growisofs -Z /dev/cdrw -f ~/media/backup/RidingInCarsWithBoys.iso 
Executing 'mkisofs -f /home/george/media/backup/RidingInCarsWithBoys.iso | builtin_dd of=/dev/cdrw obs=32k seek=0'
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
  0.37% done, estimate finish Wed Jan 21 14:43:19 2009
  0.75% done, estimate finish Wed Jan 21 14:43:19 2009
  1.12% done, estimate finish Wed Jan 21 14:43:19 2009
/dev/cdrw: "Current Write Speed" is 3.3x1352KBps.
:-[ WRITE@LBA=0h failed with SK=0h/ASC=00h/ACQ=02h]: Input/output error
:-( write failed: Input/output error
[george@gcomp ~]$

This error code is invalid.

It is either caused by hald (kill it before writing) or by an internal bug in growisofs.

I recommend to use cdrecord (the original softweare from ftp://ftp.berlios.de/pub/cdrecord/alpha/)

Offline

#13 2009-02-01 00:49:01

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: growisofs and DVD Burning

Thank you Schily, I will test both methods when I get off work.

Offline

#14 2009-02-16 20:10:48

derelict
Member
Registered: 2006-07-25
Posts: 81

Re: growisofs and DVD Burning

I'm receiving the same error message with an additional one at the end:

> growisofs -speed=2 -Z /dev/cdrw -r -J mail
Executing 'mkisofs -r -J mail | builtin_dd of=/dev/cdrw obs=32k seek=0'
I: -input-charset not specified, using utf-8 (detected in locale settings)
  0.35% done, estimate finish Mon Feb 16 11:32:31 2009
  0.69% done, estimate finish Mon Feb 16 11:30:06 2009
  1.04% done, estimate finish Mon Feb 16 11:29:18 2009
/dev/cdrw: "Current Write Speed" is 4.1x1352KBps.
:-[ WRITE@LBA=220h failed with SK=3h/WRITE ERROR]: Input/output error
:-( write failed: Input/output error
/dev/cdrw: flushing cache
:-[ SYNCHRONOUS FLUSH CACHE failed with SK=3h/ASC=A0h/ACQ=80h]: Input/output error

I'm trying to understand it. I see the line Executing 'mkisofs -r -J mail | builtin_dd of=/dev/cdrw obs=32k seek=0' but:

> which builtin_dd
which: no builtin_dd in (/bin:/usr/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin)

What is this command? Can I not just run the regular 'dd' command? I realize this may not be completely relevant to this thread but the shell I use (fish) does not recognized this. So when I run the command like this:

> mkisofs -r -J mail | builtin_dd of=/dev/cdrw obs=32k seek=0
fish: Unknown command "builtin_dd"
mkisofs -r -J mail | builtin_dd of=/dev/cdrw obs=32k seek=0
                     ^

You can see the results for yourself. I'm very confused at this point.

Offline

#15 2009-02-16 21:01:25

nexus7
Member
From: brain dump
Registered: 2006-12-06
Posts: 285

Re: growisofs and DVD Burning

Just out of curiosity,and I probably miss the point, but why do all you guys (except securitybreach) do your stuff with /dev/cdrw instead of /dev/sr0?


we are Arch.
you will be assimilated!
resistance is futile!

Offline

#16 2009-02-16 21:38:49

derelict
Member
Registered: 2006-07-25
Posts: 81

Re: growisofs and DVD Burning

Nexus7: This should answer that question:

~> ls -l /dev/cd*
lrwxrwxrwx 1 root root 21 2009-02-16 08:12 /dev/cdrom -> /dev/cd/cdrom-1:0:0:0
lrwxrwxrwx 1 root root 21 2009-02-16 08:12 /dev/cdrom0 -> /dev/cd/cdrom-1:0:0:0
lrwxrwxrwx 1 root root 20 2009-02-16 08:12 /dev/cdrw -> /dev/cd/cdrw-1:0:0:0
lrwxrwxrwx 1 root root 20 2009-02-16 08:12 /dev/cdrw0 -> /dev/cd/cdrw-1:0:0:0

/dev/cd:
total 0
lrwxrwxrwx 1 root root 6 2009-02-16 08:12 cdrom-1:0:0:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-02-16 08:12 cdrw-1:0:0:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-02-16 08:12 dvd-1:0:0:0 -> ../sr0

They all symlink to /dev/sr0

Offline

#17 2009-02-16 21:54:40

nexus7
Member
From: brain dump
Registered: 2006-12-06
Posts: 285

Re: growisofs and DVD Burning

derelict: IC, thanx... could have figured that out easily by myself; i've just allways been using /dev/sr0. -- sry for intermission.


we are Arch.
you will be assimilated!
resistance is futile!

Offline

#18 2009-03-20 03:08:43

vader
Member
Registered: 2008-12-10
Posts: 5

Re: growisofs and DVD Burning

I had the same problem - the solutions is:

Udev now has group read/write permissions for the group "optical" on /dev/sr0 (or whatever your burner is). Just add yourself to the group, and bobs your uncle!

ie. sudo gpasswd -a <your user name> optical

Have fun,
Vader

Offline

#19 2009-04-22 05:31:14

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: growisofs and DVD Burning

I had reinstalled since my last posting on this thread because of new mb. Anyway,I was getting the I/O error as well.I was already a member of optical so that was not it. I did notice  that using the -dvd-compat part fixed my I/O error for burning ISOs to dvd:

growisofs -dvd-compat -speed=16 -Z /dev/sro=name.iso

worked perfectly. I have to set the speed though. My dvd media is 16x and it always tries to burn at 18.6x for some reason. My drive is 20x but it always tries to burn faster than the media supports.


Thanks

Last edited by securitybreach (2009-04-22 06:00:59)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

Board footer

Powered by FluxBB