LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2010, 06:09 AM   #1
kris_rocks!
LQ Newbie
 
Registered: Jan 2010
Posts: 19

Rep: Reputation: 0
Angry Error while burning DVD. Help!


Hi

I am trying to burn data to a DVD. I checked scsi number of by DVD drive and found out it as 4,0,0.

I used the command

cdrecord dev=4,0,0 padssize=63s -pad -dao -v -eject /home/kd/Desktop/Thumb

I am getting error:

linux-vfjg:/mnt # cdrecord dev=4,0,0 padsize=63s -pad -dao -v -eject /home/kd/Desktop/Thumb/
TOC Type: 1 = CD-ROM
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GSA-H42N '
Revision : 'RL01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 18591 kB/s 105x CD 13x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data unknown length padsize: 126 KB
wodim: Track 1 has unknown length.
wodim: Use tsize= option in SAO mode to specify track size.




what does it mean? How to rectify this. Please help
 
Old 02-25-2010, 08:25 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
first you need to
Code:
mkisofs -o Thumb.iso /home/kd/Desktop/Thumb
then if this is going to be the only recording session on this disk
Code:
cdrecord dev=4,0,0 -sao -v -eject /home/kd/Desktop/Thumb.iso
if there are going to be later additions you need
Code:
cdrecord dev=4,0,0 -multi -tao -v -eject /home/kd/Desktop/Thumb.iso

man cdrecord
man mkisofs

You are also better off using ATA:4,0,0 as the device.

If you are going to burn complete disks regularly, you can alias the command line :
Code:
alias burndvd='cdrecord -sao -v -eject speed=4 dev=ATA:4,0,0'
Put the above in ~/.bashrc
log out and then back in
then you can use
Code:
burndvd mydisk.iso
from a command line.

Last edited by smoker; 02-25-2010 at 08:40 AM.
 
Old 02-26-2010, 02:31 AM   #3
kris_rocks!
LQ Newbie
 
Registered: Jan 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Unhappy Writing error!

Thanks for helping me!

I successfully created ISO file of my data. Then I got write error :


cdrecord dev=4,0,0 -sao -v -eject Thumb.iso
TOC Type: 1 = CD-ROM
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GSA-H42N '
Revision : 'RL01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 18645 kB/s 105x CD 13x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data 3741 MB
Total size: 4297 MB (425:45.24) = 1915893 sectors
Lout start: 4297 MB (425:47/18) = 1915893 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 382603
Speed set to 24930 KB/s
Starting to write CD/DVD at speed 20.0 in real SAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Starting new track at sector: 0
Track 01: 15 of 3741 MB written (fifo 21%) [buf 75%] 2.7x.Errno: 5 (Input/
output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 1E 84 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 32 34 04 0C 09 01 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x01 (tracking servo failure) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 7.368s timeout 200s

write track data: error after 15998976 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing time: 93.317s
Average write speed 58.4x.
Min drive buffer fill was 14%
Fixating...
Fixating time: 0.009s
wodim: fifo had 316 puts and 253 gets.
wodim: fifo was 3 times empty and 6 times full, min fill was 0%.



You suggested me to use ATA:4,0,0 as device. How can I use that? Sorry for being dump
 
Old 02-26-2010, 03:06 AM   #4
kris_rocks!
LQ Newbie
 
Registered: Jan 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Again I tried to burn using another DVD. I used command :

cdrecord dev=4,0,0 -multi -tao -v -eject Thumb.iso


what happened is really astonishing! When I opened burned DVD, the data on it was RHEL/5.3DVD. It is true that once I have stored RHEL image on my hard drive. I have formated entire hard drive after that and current RHEL.iso file is not available.

The data that I compiled for Thumb.iso is contents from my USB Flash drive. It was some multimedia and ebooks. I am wondering how it turned out to be an RedHat DVD!!!

Below is output with error :


cdrecord dev=4,0,0 -multi -tao -v -eject Thumb.iso
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GSA-H42N '
Revision : 'RL01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B (DVD+R)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R) (current)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 16373 kB/s 93x CD 11x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data 3741 MB
Total size: 4297 MB (425:45.24) = 1915893 sectors
Lout start: 4297 MB (425:47/18) = 1915893 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2295104 Blocks current: 2293888 Blocks remaining: 377995
Speed set to 22160 KB/s
Starting to write CD/DVD at speed 17.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 1216
Track 01: 3740 of 3741 MB written (fifo 100%) [buf 97%] 6.1x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 1D 3E 0B 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 0E 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.010s timeout 40s

write track data: error after 3922352128 bytes
wodim: The current problem looks like a buffer underrun.
wodim: Try to use 'driveropts=burnfree'.
wodim: Make sure that you are root, enable DMA and check your HW/OS set up.
Writing time: 546.498s
Average write speed 5.5x.
Min drive buffer fill was 14%
Fixating...
Fixating time: 18.696s
wodim: fifo had 61803 puts and 61782 gets.
wodim: fifo was 69 times empty and 19014 times full, min fill was 0%.
 
Old 02-26-2010, 05:49 AM   #5
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
the dev=ATA:4,0,0 replaces the existing dev=4,0,0

Your second attempt was writing to a full disk.

Drop the burning speed down to 8x or 4x

You can look at my previous post to see how.

Make sure the iso is not too big for the disk.

add this to your command too

driveropts=burnfree
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error When Burning ISO onto a DVD alkos333 Slackware 8 09-13-2008 03:11 PM
DVD burning error mpoland Linux - General 4 04-16-2006 06:32 PM
Dvdbackup error: burning video dvd ksgill Linux - Newbie 8 03-20-2006 02:16 PM
k3b - burning data DVD error johndoe0028 Linux - Software 3 02-14-2006 11:39 PM
DVD data burning error mysticsound Linux - Laptop and Netbook 1 03-19-2005 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 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
Open Source Consulting | Domain Registration