LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2004, 02:15 PM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
dvd-rw help <-- n00b with no clue


hello all!

here is the situation: i have been given the task of maintaining the database server here. one of my tasks is to archive the old data. i have the files ready to go, and a dvd-rw drive in the system. that's a dash rw drive (no + support afaik).

i have run some searches on how to burn data dvd-r's with linux (redhat 8.0 with NO gui in my case) and found information that is way beyond me, incomplete, or sounds sketchy.

can some kind soul help guide me in the right direction here? considering the cost of media, and the fact that this is a production system, i don't want to go out and burn a buch of coasters or crash the system.

thanks!!!
 
Old 01-05-2004, 05:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Which tool did you read up on?

http://www.fokus.fhg.de/research/cc/.../cdrecord.html


Cheers,
Tink
 
Old 01-05-2004, 06:02 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
dvdrecord is a patched version of cdrecord that supports burning dvd-r's.
you also need a patched mkisofs that supports files over 2 gigs for the
iso image. you also need to use a filesystem that supports over 2 gig files,
like reiserfs.

the command to make the iso image would be
/path/to/patched/mkisofs -r -J -o /file.iso /path/to/files/to/put/in/image

to burn the image
dvdrecord dev=0,0,0 -v -dao /file.iso

your device may be different.

if you add a -dummy after the -dao, a simple test burn will be run instead.
dvdrecord dev=0,0,0 -v -dao -dummy /file.iso


Last edited by whansard; 01-05-2004 at 06:04 PM.
 
Old 01-06-2004, 03:07 PM   #4
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
thanks whansard!

a couple of questions:
have you ever had any system stability issues with this process?
is the process the same for dvd+r[w] and dvd-r[w] media?

also, do i need to format or otherwise initialize dvd-rw media?

thanks again!
 
Old 01-06-2004, 04:32 PM   #5
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
threw caution to the wind and went for it... :-)

didn't work and i don't know why... :-(

i make the iso, and mounted it on the loopback just to be sure it looked ok. then I ran the following command. brand new pioneer dvd-dash-rw media in drive...
Code:
dvdrecord dev=1,0,0 -v -dao ./mysqlback.iso
and got the following output:
Code:
dvdrtools v0.1.3
Portions (c) 2002 Red Hat, Inc.
Based on:
Cdrecord 1.11a15 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-104 '
Revision       : '1.30'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1638400 = 1600 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  3208 MB
Total size:     3684 MB (365:00.80) = 1642560 sectors
Lout start:     3684 MB (365:02/60) = 1642560 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
Disk type:    unknown
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 655936
Starting to write CD/DVD at speed 1 in write 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.
trackno=0
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
dvdrecord: WARNING: Drive returns wrong startsec (0) using -150
Starting new track at sector: 0
Track 01:   0 of 3208 MB written.dvdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 01 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.006s timeout 200s

write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0E 00 00 00 00 00 00 00 00 00 00
Writing  time:    7.058s
Fixating...
Fixating time:    0.011s
dvdrecord: fifo had 64 puts and 1 gets.
dvdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

Last edited by whysyn; 01-06-2004 at 04:38 PM.
 
Old 01-06-2004, 04:46 PM   #6
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
then tried to format the dvd-rw media and burn again, slightly different error. below is just the end of the output, the top was all the same:

Code:
Blocks total: 1839168 Blocks current: 1839168 Blocks remaining: 196608
and this:

Code:
dvdrecord: Input/output error. reserve track: scsi sendcmd: no error
CDB:  53 00 00 00 00 00 19 10 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 72 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x05 (session fixation error) [No matching qualifier] Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.006s timeout 200s
dvdrecord: Cannot open new session.
dvdrecord: fifo had 64 puts and 0 gets.
dvdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
 
Old 01-06-2004, 06:07 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i haven't had stability problems with it. i'll be burning disk and completely
forget, and i'll be web browsing and moving files around and stuff.
i've got the pioneer dvr-106.
i have no experience with dvd-rw's. i think there's a dvdrecord forum, but
i had trouble finding it. i would think you just have to blank dvd-rw's just
like you do cdrw's. there's a bunch of stuff that doesn't work right in
dvdrecord, like -speed and using it without -dao. i upgraded my firmware
a couple of months ago, hoping to add support for 2x disks that i had.
it didn't help.

it appears you are doing it correctly, but that's it's just not working for you.
except the second burn where it looks like you are trying to add a session.
so i guess that means that there was something on the disk already, and
with -dao, it's a write once deal.
 
Old 01-07-2004, 01:05 AM   #8
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
thanks. when i get in tomorrow i will force a full blank of the disk, attempt the write again, and post the results.

thanks again!
 
Old 01-07-2004, 08:54 AM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i just burned some disks with cdrecord-DVDPro. it works better than
dvdrecord. it's free for personal use. i guess you can test it.

ftp://ftp.berlios.de/pub/cdrecord/ProDVD/README

Last edited by whansard; 01-07-2004 at 08:56 AM.
 
Old 01-07-2004, 12:43 PM   #10
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
downloaded cdrecord-prodvd and got the same errors... :-(

turned dma off and tried again... :-)

thanks!
 
Old 01-07-2004, 08:38 PM   #11
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
does the smiley mean that it worked when you turned dma off?
 
Old 01-08-2004, 10:15 AM   #12
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
yes it does. i forget where i read it, somewhere in an email archive i believe. a guy who was having similar errors turned off dma on the ide interface and had success, so i decided to try it and it worked like magic.

it's time to buy some burn once disks and burn about 100 gig of archives...
 
  


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
No clue Disasterpiece MEPIS 14 01-04-2006 09:06 PM
usb mouse scroll, about making dvd/cdrw combo work, printers, network... what a n00b! Timmy_DM Slackware 7 05-28-2005 10:10 PM
Don't have a clue Shuraq'eg Linux - Wireless Networking 2 08-29-2004 07:27 AM
No Clue AtariFX Linux - Newbie 9 12-05-2003 03:31 PM
I Have No Clue mr_svperstar Linux - Newbie 6 08-15-2003 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 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