RE: EXTERNAL: Re: Problem with growisofs -- cannot write multisession DVDs without ejecting and reloading tray
Hello Jörg,
Thank you for responding! I would be happy to use cdrtools for writing, if I could figure out how. I tried, Lord how I tried. Unfortunately, I am having less success using mkisofs and cdrecord to make a multisession DVD than I had with growisofs.
I read your howto here:
http://cdrtools.sourceforge.net/private/man/README/README.multi
Using this, I figured that I make the initial iso (raw) image with this command:
mkisofs -R -o /tmp/file.raw file1file1file1_REDHAT.txt file2file2file2_REDHAT.txt file3file3file3_REDHAT.txt
So far, so good. I write the file with:
cdrecord -v speed=2 dev=1,0,0 -multi /tmp/file.raw
So far, so good. Let's try to mount that baby:
mount /dev/sr0 /media/
mount: you must specify the filesystem type
Fine. Try it with the filesystem type:
mount -o ro -t iso9660 /dev/sr0 /media/
mount: no medium found on /dev/sr0
Okay, that's not the end of the world. I would like to be able to mount it, but what I REALLY want to do is write a second session. Let's try the msinfo to get the data for the second session:
cdrecord -msinfo dev=2,0,0
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
0,93952
Great! Let's try a mkisofs now:
mkisofs -R -C 0,93952 -M /dev/sr0 -o /tmp/file.raw file4file4file4_REDHAT.txt file5file5file5_REDHAT.txt file6file6file6_REDHAT.txt
Setting input-charset to 'UTF-8' from locale.
mkisofs: Input/output error. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 20s
mkisofs: Success. Unable to open previous session image '/dev/sr0'.
There's no file.raw, so that's an odd definition of "success." Let's try it with /dev/dvd:
mkisofs -R -C 0,93952 -M /dev/dvd -o /tmp/file.raw file4file4file4_REDHAT.txt file5file5file5_REDHAT.txt file6file6file6_REDHAT.txt
Setting input-charset to 'UTF-8' from locale.
mkisofs: Short read on old image
Fine. Let's try it with dev=2,0,0:
mkisofs -R -C 0,93952 -M dev=2,0,0 -o /tmp/file.raw file4file4file4_REDHAT.txt file5file5file5_REDHAT.txt file6file6file6_REDHAT.txt
Setting input-charset to 'UTF-8' from locale.
mkisofs: Invalid argument. Invalid bus or target specifier in 'dev=2,0,0'. Cannot open SCSI driver.
mkisofs: Invalid argument. Unable to open previous session image 'dev=2,0,0'.
Clearly that is not how I specify the device. I cannot write the second session, and am dead in the water. Just for the sake of completeness, I will reload the tray.
After ejecting and re-inserting the media, I can now mount it, but only by specifying the filesystem type. After trying several variations on writing a new rawfile, I got this:
mkisofs -R -C 0,93952 -M /dev/dvd -o /tmp/file.raw file4file4file4_REDHAT.txt file5file5file5_REDHAT.txt file6file6file6_REDHAT.txt
Setting input-charset to 'UTF-8' from locale.
ISO-9660 image includes checksum signature for correct inode numbers.
SUSP signatures version 1 found
Rock Ridge signatures version 1 found
Rock Ridge id 'RRIP_1991A'
Total translation table size: 0
Total rockridge attributes bytes: 821
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
178 extents written (0 MB)
Super! Let's write the new rawfile to the disk:
cdrecord -v speed=2 dev=2,0,0 -multi /tmp/file.raw
cdrecord: No write mode specified.
cdrecord: Assuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 3.01a27 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2015 Joerg Schilling
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CDDVDW TS-H653B '
Revision : 'SI01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 1376256 = 1344 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 244 KB
Total size: 0 MB = 300 sectors
Current Secsize: 2048
WARNING: Phys disk size 304 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196911
WARNING: Drive returns zero media size. Using media size from ADIP.
Blocks total: 304 Blocks current: -93648 Blocks remaining: -93948
cdrecord: Data does not fit on current disk.
No dice. I believe cdrecord must work at least as well as growisofs -- i.e., I should be able to write a second session to the disk, if only after reloading the tray -- so I must be doing something wrong. But I can't for the life of me figure out what.
Thanks again for your help! If I AM doing something wrong, I would love to know. If not, please enjoy Tigger, who needs a bath but does not want one:
https://www.youtube.com/watch?v=PM5BCjNswd0
-Eric J. Richardson
-----Original Message-----
From: Joerg Schilling [mailto:Joerg.Schilling@fokus.fraunhofer.de]
Sent: Friday, May 08, 2015 8:56 AM
To: cdrtools-support@lists.sourceforge.net; Richardson, Eric J; cdwrite@other.debian.org
Subject: EXTERNAL: Re: Problem with growisofs -- cannot write multisession DVDs without ejecting and reloading tray
"Richardson, Eric J" <eric.j.richardson@lmco.com> wrote:
> I am hoping that someone can help me with my growisofs problem. It's not really a Debian problem, but the author:
> http://fy.chalmers.se/~appro/linux/DVD+RW/
> suggests I start here anyway.
>
> I have a (relatively new) server that we used to run Solaris 10 update 7 on. On this system, we would perform backups of certain log files every day to DVD. For this, we used:
Do you know that growisofs is unmaintained since 7 years?
> Now we are in the process of moving to Red Hat 6.6. I don't think there's anything special about Red Hat, as I was able to duplicate the problem on Slackware 14.1, but that's the system we are trying to work with. Since I'd heard about troubles with the 'genisoimage' program that ships with Red Hat (and Debian, and Ubuntu), I went ahead and downloaded a cdrtools RPM from this helpful fellow:
> http://negativo17.org/cdrtools/
> and I also removed the 'fake' cdrtools that comes with Red Hat, just to be safe. So, now we are using Red Hat with a kernel of:
> Linux 2.6.32-504.8.1.el6.x86_64
>
> Mkisofs is:
> mkisofs 3.01a27 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997
> Eric Youngdale (C) 1997-2015 Joerg Schilling
>
> Growisofs is:
> * growisofs by <appro@fy.chalmers.se>, version 7.1,
> front-ending to mkisofs: mkisofs 3.01a27 (x86_64-unknown-linux-gnu)
> Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling
>
> And, in case you were curious, cdrecord is:
> Cdrecord-ProDVD-ProBD-Clone 3.01a27 (x86_64-unknown-linux-gnu)
> Copyright (C) 1995-2015 Joerg Schilling
If you have a recent cdrtools installed, why don't you use it for writing?
Unlike growisofs, cdrtools is actively maintained.
If you have problems with cdrtools, this can be fixed....
You would need to send a bug report - I am not aware of problems in the recent version.
Jörg
--
EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin
joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'
Reply to: