LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2007, 12:33 AM   #1
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Rep: Reputation: 15
Burn .iso to dvd-r using growisofs commands


Hi all,

I am trying to backup a dvd using growisofs commands. This is what I am getting:

ai-debian:/home/ai/Movies# growisofs -Z /dev/hda=/home/ai/Movies/MaCookiesDisc1.iso
Executing 'builtin_dd if=/home/ai/Movies//MaCookiesDisc1iso of=/dev/hda obs=32k seek=0'
/dev/hda: "Current Write Speed" is 16.4x1352KBps.
:-[ WRITE@LBA=0h failed with SK=3h/ASC=0Ch/ACQ=80h]: Input/output error
:-( write failed: Input/output error
ai-debian:/home/ai/Movies#

Can anyone tell me what went wrong? I am trying to burn to dvd-r.

This is what I get for burner and disk info:

ai-debian:/home/ai# dvd+rw-mediainfo /dev/hda
INQUIRY: [HP ][DVD Writer 840b ][HI86]
GET [CURRENT] CONFIGURATION:
Mounted Media: 11h, DVD-R Sequential
Current Write Speed: 16.0x1385=22160KB/s
Write Speed #0: 16.0x1385=22160KB/s
Write Speed #1: 12.0x1385=16620KB/s
Write Speed #2: 8.0x1385=11080KB/s
Write Speed #3: 4.0x1385=5540KB/s
Speed Descriptor#0: 00/79 R@8.0x1385=11080KB/s W@16.0x1385=22160KB/s
Speed Descriptor#1: 00/79 R@8.0x1385=11080KB/s W@12.0x1385=16620KB/s
Speed Descriptor#2: 00/79 R@8.0x1385=11080KB/s W@8.0x1385=11080KB/s
Speed Descriptor#3: 00/79 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type: 25h, DVD-R book [revision 5]
Last border-out at: 4290775037*2KB=8787507275776
READ DISC INFORMATION:
Disc status: complete
Number of Sessions: 1
State of Last Session: complete
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: complete
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 65264*2KB
Last Recorded Address: 79*2KB
FABRICATED TOC:
Track#1 : 17@0
Track#AA : 17@80
Multi-session Info: #1@0
READ CAPACITY: 80*2048=163840


Any answers are greatly apprecitated.

trox

Last edited by trox; 10-09-2007 at 10:46 AM.
 
Old 10-09-2007, 01:38 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,938

Rep: Reputation: 128Reputation: 128
Try this command ... works for me:
Code:
growisofs -dvd-compat -Z /dev/hda=/path/to/image.iso
In your example the $PATH doesn't match your pwd. If in the pwd, you can omit all but image.iso.
 
Old 10-09-2007, 10:35 AM   #3
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks Bruce,

This worked like a charm! It takes about 90-110 minutes per 4.7gb if info, but it is very thorough.
 
Old 10-09-2007, 10:44 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,938

Rep: Reputation: 128Reputation: 128
Haven't burned one in a while, but I don't remember it taking that long. Is DMA enabled for your drive? Check with "hdparm" ...
Code:
root@silas:~# hdparm -iI /dev/hda

/dev/hda:

 Model=ASUS DRW-1608P3S, FwRev=1.24, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=13395, BuffSize=64kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4
 AdvancedPM=no
 Drive conforms to: Unspecified:  ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

 * signifies the current active mode


ATAPI CD-ROM, with removable media
        Model Number:       ASUS    DRW-1608P3S
        Serial Number:      68D0AA610305
        Firmware Revision:  1.24
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 64.0kB
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    Power Management feature set
           *    PACKET command feature set
           *    DEVICE_RESET command
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
 
Old 10-11-2007, 02:27 AM   #5
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
The read-out I get when using hdparm -iI /dev/hdc is:

root@ai:/home/ai# hdparm -iI /dev/hdc

/dev/hdc:

Model=CREATIVE DVD-ROM DVD1610E, FwRev=GCH4, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no

* signifies the current active mode


ATAPI CD-ROM, with removable media
Model Number: CREATIVE DVD-ROM DVD1610E
Serial Number:
Firmware Revision: GCH4
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
root@ai:/home/ai#

It still takes about 2 hours. What should I do to shorten the time?

Thanks,

trox
 
Old 10-11-2007, 08:19 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,938

Rep: Reputation: 128Reputation: 128
Your drive info in the original post and post #5 is not the same.

OP:
Quote:
ai-debian:/home/ai# dvd+rw-mediainfo /dev/hda
INQUIRY: [HP ][DVD Writer 840b ][HI86]
Post #5:
Quote:
root@ai:/home/ai# hdparm -iI /dev/hdc

/dev/hdc:

Model=CREATIVE DVD-ROM DVD1610E, FwRev=GCH4, SerialNo=
There are many factors which control the speed of burning. Google, especially <Linux> Google, and read "man hdparm" for more info.
 
Old 10-11-2007, 11:11 AM   #7
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
Sorry for the confusion Bill. I run two different systems and posted from the second one while doing the same task. The result was the same though. I will google hdparm and let you know what happens.

Thanks for your help,

trox

Last edited by trox; 10-11-2007 at 11:14 AM.
 
Old 10-11-2007, 04:25 PM   #8
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
Hello Bill,

I did as you advised and googled hdparm. I made sure to turn on dma on all dvd-roms and burners on both systems. You were right! It took ripping and burning combined down to just over 1 hour!

Thanks man,

trox
Long live the Penguin!
 
Old 10-12-2007, 04:40 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,938

Rep: Reputation: 128Reputation: 128
Another useful command if you want to time something is "time"

Glad your problem was solved, and thanks for posting back.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
growisofs cant burn to TDK DVD-R librano Linux - Software 2 05-28-2006 07:02 PM
growisofs - burn and restore (DVD) pckho Linux - Newbie 2 11-19-2005 11:16 PM
Suse 9.3 DVD ISO How to Burn To DVD saxman101 Linux - Newbie 10 07-08-2005 07:16 PM
How to burn the downloaded Fedora 3 DVD ISO onto DVD yaabaa Linux - Newbie 10 03-14-2005 06:14 AM
How do you burn a dvd ISo rstaines Linux - Distributions 0 02-22-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration