Mkisofs - seek error on old image
Hi all
mkisofs 2.01.01a37 (compiled from source)
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (compiled from source)
Linux 2.6.24
Plextor PX 810 SA on NVIDIA SATA
I have a DVD-R used to do incremental backups, one session for each day.
Sometimes it fails to append new sessions.
dvd+rw-mediainfo /dev/sr0
INQUIRY: [PLEXTOR ][DVDR PX-810SA ][1.00]
GET [CURRENT] CONFIGURATION:
Mounted Media: 11h, DVD-R Sequential
Media ID: MCC 03RG20
Current Write Speed: 18.0x1385=24930KB/s
Write Speed #0: 18.0x1385=24930KB/s
Write Speed #1: 16.0x1385=22160KB/s
Write Speed #2: 12.0x1385=16620KB/s
Write Speed #3: 8.0x1385=11080KB/s
Write Speed #4: 6.0x1385=8310KB/s
Write Speed #5: 4.0x1385=5540KB/s
Speed Descriptor#0: 00/2298495 R@18.0x1385=24930KB/s W@18.0x1385=24930KB/s
Speed Descriptor#1: 00/2298495 R@16.0x1385=22160KB/s W@16.0x1385=22160KB/s
Speed Descriptor#2: 00/2298495 R@12.0x1385=16620KB/s W@12.0x1385=16620KB/s
Speed Descriptor#3: 00/2298495 R@8.0x1385=11080KB/s W@8.0x1385=11080KB/s
Speed Descriptor#4: 00/2298495 R@6.0x1385=8310KB/s W@6.0x1385=8310KB/s
Speed Descriptor#5: 00/2298495 R@4.0x1385=5540KB/s W@4.0x1385=5540KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type: 25h, DVD-R book [revision 5]
Last border-out at: 2045*2KB=4188160
READ DISC INFORMATION:
Disc status: appendable
Number of Sessions: 6
State of Last Session: empty
"Next" Track: 6
Number of Tracks: 6
READ TRACK INFORMATION[#1]:
Track State: complete incremental
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 1210592*2KB
Last Recorded Address: 1210591*2KB
READ TRACK INFORMATION[#2]:
Track State: complete incremental
Track Start Address: 1248496*2KB
Free Blocks: 0*2KB
Track Size: 208*2KB
Last Recorded Address: 1248703*2KB
READ TRACK INFORMATION[#3]:
Track State: complete incremental
Track Start Address: 1256400*2KB
Free Blocks: 0*2KB
Track Size: 208*2KB
Last Recorded Address: 1256607*2KB
READ TRACK INFORMATION[#4]:
Track State: complete incremental
Track Start Address: 1264304*2KB
Free Blocks: 0*2KB
Track Size: 1136*2KB
Last Recorded Address: 1265439*2KB
READ TRACK INFORMATION[#5]:
Track State: complete incremental
Track Start Address: 1273136*2KB
Free Blocks: 0*2KB
Track Size: 1488*2KB
Last Recorded Address: 1274623*2KB
READ TRACK INFORMATION[#6]:
Track State: invisible incremental
Track Start Address: 1284368*2KB
Next Writable Address: 1284368*2KB
Free Blocks: 1013520*2KB
Track Size: 1013520*2KB
FABRICATED TOC:
Track#1 : 14@0
Track#2 : 14@1273136
Track#AA : 14@1274624
Multi-session Info: #2@1273136
READ CAPACITY: 1274624*2048=2610429952
So it seems that the media is still appendable.
Next step is ask cdrecord to retrieve msinfo
cdrecord dev=6,0,0 -msinfo -v
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (x86_64-unknown-linux-gnu) Copyright
(C) 1995-2008 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '6,0,0'
scsibus: 6 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 : 'PLEXTOR '
Identifikation : 'DVDR PX-810SA '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: Removable Disk
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
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 : 1605632 = 1568 KB
Current Secsize: 2048
Total power on hours: 35050
book type: DVD-R, Version 2.0x -> 2.1 (2.5)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:1
track path: Parallel Track Path (0)
layer type: Rewritable Area (2)
linear density: 0.267 µm/bit (0)
track density: 0.74 µm/track (0)
phys start: 196608 (0x30000)
phys end: 1471231
end layer 0: 0
bca: 0
phys size:... 1274624
copyr prot type: 0
region mgt info: 0
cpm: 0
cgms: 0
last rma sector: 0
application code:64
physical code: 193
last rec address:16621272
part v./ext code:5/2
ind wr. power: 133
wavelength code: 13
write str. code: 0E 88 9A 80
Manufacturer: 'MCC 03RG20 '
rzone size: 36
rzone number: 1
border number: 1
ljrs: 0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 0 incremental: 1 fp: 0
data mode: 1
lra valid: 1
nwa valid: 0
rzone start: 0
next wr addr: 0
free blocks: 0
blocking factor: 16
rzone size: 1210592
last recorded addr: 1210591
Capacity Blklen/Sparesz. Format-type Type
1274624 2048 0x00 Formatted Media
session offset: 1273136
1273136,1284368
Numbers seem correct, coherent with dvd+rw-mediainfo
Last step fails:
mkisofs -C 1273136,1284368 -M /dev/sr0 -R -J /amps/backups/flexbackup/ -v -o
test.iso
Setting input-charset to 'ISO-8859-15' from locale.
DEBUG: startsec 1273136 startbyte 2607382528
mkisofs: Invalid argument. Seek error on old image
The DEBUG line is a printf I just added.
Media problem? It has never happened with first or second session, always on
4th or later.
Tnx for any help.
--
Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
J.S. Bach
Reply to: