Richardson, Eric J
2015-05-11 23:19:46 UTC
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:
-Eric J. Richardson
-----Original Message-----
From: Joerg Schilling [mailto:***@fokus.fraunhofer.de]
Sent: Friday, May 08, 2015 8:56 AM
To: cdrtools-***@lists.sourceforge.net; Richardson, Eric J; ***@other.debian.org
Subject: EXTERNAL: Re: Problem with growisofs -- cannot write multisession DVDs without ejecting and reloading tray
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:***@schily.net (home) Jörg Schilling D-13353 Berlin
***@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'
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:
-Eric J. Richardson
-----Original Message-----
From: Joerg Schilling [mailto:***@fokus.fraunhofer.de]
Sent: Friday, May 08, 2015 8:56 AM
To: cdrtools-***@lists.sourceforge.net; Richardson, Eric J; ***@other.debian.org
Subject: EXTERNAL: Re: Problem with growisofs -- cannot write multisession DVDs without ejecting and reloading tray
http://fy.chalmers.se/~appro/linux/DVD+RW/
suggests I start here anyway.
Do you know that growisofs is unmaintained since 7 years?suggests I start here anyway.
http://negativo17.org/cdrtools/
Linux 2.6.32-504.8.1.el6.x86_64
mkisofs 3.01a27 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997
Eric Youngdale (C) 1997-2015 Joerg Schilling
front-ending to mkisofs: mkisofs 3.01a27 (x86_64-unknown-linux-gnu)
Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling
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?Linux 2.6.32-504.8.1.el6.x86_64
mkisofs 3.01a27 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997
Eric Youngdale (C) 1997-2015 Joerg Schilling
front-ending to mkisofs: mkisofs 3.01a27 (x86_64-unknown-linux-gnu)
Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling
Cdrecord-ProDVD-ProBD-Clone 3.01a27 (x86_64-unknown-linux-gnu)
Copyright (C) 1995-2015 Joerg Schilling
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:***@schily.net (home) Jörg Schilling D-13353 Berlin
***@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'
--
To UNSUBSCRIBE, email to cdwrite-***@other.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@other.debian.org
Archive: https://lists.debian.org/***@HDXDSP51.us.lmco.com
To UNSUBSCRIBE, email to cdwrite-***@other.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@other.debian.org
Archive: https://lists.debian.org/***@HDXDSP51.us.lmco.com