LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dvd-rw help <-- n00b with no clue (https://www.linuxquestions.org/questions/linux-newbie-8/dvd-rw-help-n00b-with-no-clue-131759/)

whysyn 01-05-2004 01:15 PM

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!!!

Tinkster 01-05-2004 04:36 PM

Which tool did you read up on?

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


Cheers,
Tink

whansard 01-05-2004 05:02 PM

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


whysyn 01-06-2004 02:07 PM

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!

whysyn 01-06-2004 03:32 PM

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%.


whysyn 01-06-2004 03:46 PM

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%.


whansard 01-06-2004 05:07 PM

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.

whysyn 01-07-2004 12:05 AM

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!

whansard 01-07-2004 07:54 AM

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

whysyn 01-07-2004 11:43 AM

downloaded cdrecord-prodvd and got the same errors... :-(

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

thanks!

whansard 01-07-2004 07:38 PM

does the smiley mean that it worked when you turned dma off?

whysyn 01-08-2004 09:15 AM

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...


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