First case, check if wodim reliably spoils the optical media
I am no more technical than an average user thus going to be verbose.
Mind: I am going to change subject line as when see fit, I hope your
email client can keep the threads.
First try to reproduce this issue with a different DVD+R DL to exclude
optical media problems.
dvd+almustafa@orphalese:~$ dvd+rw-mediainfo /dev/sr1
INQUIRY: [PLEXTOR ][DVDR PX-716AL ][1.02]
GET [CURRENT] CONFIGURATION:
Mounted Media: 2Bh, DVD+R Double Layer
Media ID: RITEK/D01
Current Write Speed: 4.0x1385=5540KB/s
Write Speed #0: 4.0x1385=5540KB/s
Write Speed #1: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 4.0x1385=5540KB/s@[0 -> 4173824]
Speed Descriptor#0: 02/4173824 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
Speed Descriptor#1: 02/4173824 R@8.0x1385=11080KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
L0 Data Zone Capacity: 2086912*2KB, can still be set
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
"Next" Track: 1
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 4173824*2KB
Track Size: 4173824*2KB
READ CAPACITY: 0*2048=0
almustafa@orphalese:~$ wodim -multi -v speed=1 dev=/dev/sr1 /var/tmp/DVD+R/1st_session.iso
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identification : 'DVDR PX-716AL '
Revision : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x002B (DVD+R/DL)
Profile: 0x002B (DVD+R/DL) (current)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 6291456 = 6144 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 22556 kB/s 128x CD 16x DVD
FIFO size : 12582912 = 12288 KB
Track 01: data 1586 MB
Total size: 1822 MB (180:31.36) = 812352 sectors
Lout start: 1822 MB (180:33/27) = 812352 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 4173824 Blocks current: 4173824 Blocks remaining: 3361472
Speed set to 3324 KB/s
Starting to write CD/DVD at speed 2.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Errno: 5 (Input/output error), reserve track scsi sendcmd: retryable error
CDB: 53 00 00 00 00 00 0C 65 40 00
status: 0x0 (GOOD STATUS)
cmd finished after 42.708s timeout 40s
wodim: Cannot open new session.
Writing time: 42.731s
wodim: fifo had 192 puts and 0 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.
Then reload the disco, when trying to mount it I got the following in dmesg:
[ 907.261348] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 907.261360] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 907.261368] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 907.261377] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 907.261391] end_request: I/O error, dev sr1, sector 0
[ 907.261399] quiet_error: 9 callbacks suppressed
[ 907.261404] Buffer I/O error on device sr1, logical block 0
[ 907.638921] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 907.638929] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 907.638936] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 907.638944] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 907.638958] end_request: I/O error, dev sr1, sector 0
[ 907.638964] Buffer I/O error on device sr1, logical block 0
[ 907.995002] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 907.995011] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 907.995019] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 907.995028] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 907.995041] end_request: I/O error, dev sr1, sector 0
[ 907.995048] Buffer I/O error on device sr1, logical block 0
[ 908.363967] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 908.363974] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 908.363981] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 908.363988] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 908.364001] end_request: I/O error, dev sr1, sector 0
[ 908.364027] Buffer I/O error on device sr1, logical block 0
[ 908.723202] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 908.723213] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 908.723221] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 908.723231] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 908.723245] end_request: I/O error, dev sr1, sector 0
[ 908.723254] Buffer I/O error on device sr1, logical block 0
[ 909.082499] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 909.082509] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 909.082517] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 909.082526] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 909.082541] end_request: I/O error, dev sr1, sector 0
[ 909.082548] Buffer I/O error on device sr1, logical block 0
[ 909.451482] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 909.451492] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 909.451499] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 909.451509] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 909.451522] end_request: I/O error, dev sr1, sector 0
[ 909.451529] Buffer I/O error on device sr1, logical block 0
[ 909.820395] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 909.820406] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 909.820414] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 909.820424] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 909.820439] end_request: I/O error, dev sr1, sector 0
[ 909.820447] Buffer I/O error on device sr1, logical block 0
[ 910.160314] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 910.160324] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 910.160331] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 910.160340] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 910.160354] end_request: I/O error, dev sr1, sector 0
[ 910.160361] Buffer I/O error on device sr1, logical block 0
[ 910.529281] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 910.529288] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 910.529295] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 910.529303] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 910.529317] end_request: I/O error, dev sr1, sector 0
[ 910.529322] Buffer I/O error on device sr1, logical block 0
[ 910.898245] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 910.898251] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 910.898258] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 910.898265] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 910.898279] end_request: I/O error, dev sr1, sector 0
[ 911.276902] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 911.276911] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 911.276918] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 911.276926] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 911.276940] end_request: I/O error, dev sr1, sector 0
[ 911.636156] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 911.636167] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 911.636175] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 911.636185] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 911.636199] end_request: I/O error, dev sr1, sector 0
[ 912.005188] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 912.005203] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 912.005212] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 912.005223] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 912.005237] end_request: I/O error, dev sr1, sector 0
[ 912.383848] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 912.383860] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 912.383868] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 912.383878] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 912.383892] end_request: I/O error, dev sr1, sector 0
[ 912.752823] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 912.752832] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 912.752839] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 912.752848] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 912.752861] end_request: I/O error, dev sr1, sector 0
[ 912.752866] quiet_error: 5 callbacks suppressed
[ 912.752871] Buffer I/O error on device sr1, logical block 0
[ 913.112137] sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 913.112149] sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]
[ 913.112156] sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range
[ 913.112167] sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 913.112181] end_request: I/O error, dev sr1, sector 0
[ 913.112190] Buffer I/O error on device sr1, logical block 0
So I guess wodim reliabely spoils the DVD+R DL media with -multi.
In next email I will try instructions from Thomas Schmitt in order to dig in.
Reply to: