DVD in dummy write works, but not real mode? (linux 2.6.0-test7 ide-cd)
Hello,
I just tried to write a DVD under linux 2.6.0-test7 in dummy mode:
GRAVE-DVDvideo HD-PDP VDR2DVD.76jnnP
Cdrecord-ProDVD-Clone 2.01a11 (i586-pc-linux-gnu) Copyright (C)
1995-2003 Jörg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for:
private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DRU-500A '
Revision : '2.0f'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 4718592 = 4608 KB
FIFO size : 67108864 = 65536 KB
Track 01: data 4352 MB
Total size: 4352 MB = 2228415 sectors
Current Secsize: 2048
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 70081
Starting to write CD/DVD at speed 2 in dummy TAO mode for single session.
Last chance to quit, starting dummy write in 9 seconds. 0.22% done, estimate finish Sat Oct 11 15:34:31 2003
0.45% done, estimate finish Sat Oct 11 15:30:48 2003
0.67% done, estimate finish Sat Oct 11 15:29:34 2003
0.90% done, estimate finish Sat Oct 11 15:28:57 2003
8 seconds. 1.12% done, estimate finish Sat Oct 11 15:30:04 2003
1.35% done, estimate finish Sat Oct 11 15:29:34 2003
0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Starting new track at sector: 0
Track 01: 6 of 4352 MB written (fifo 99%) [buf 98%] 2.1x. 1.57% done, estimate finish Sat Oct 11 16:23:19 2003
Track 01: 16 of 4352 MB written (fifo 100%) [buf 95%] 2.1x. 1.80% done, estimate finish Sat Oct 11 16:20:00 2003
...
Oct 11 15:55:16 2003
Track 01: 4290 of 4352 MB written (fifo 99%) [buf 95%] 2.1x.Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 2048
Path table size(bytes): 26
Max brk space used 21000
2228415 extents written (4352 Mb)
Track 01: 4352 of 4352 MB written (fifo 100%) [buf 96%] 2.1x.
Track 01: Total bytes read/written: 4563793920/4563793920 (2228415 sectors).
Writing time: 1702.777s
Average write speed 1.9x.
Min drive buffer fill was 93%
Fixating...
Fixating time: 83.567s
cdrecord-prodvd: fifo had 71885 puts and 71885 gets.
cdrecord-prodvd: fifo was 0 times empty and 18308 times full, min fill was 90%.
My GRAVE-DVDvideo is:
#!/bin/tcsh
setenv SIZE `mkisofs -dvd-video -q -print-size -V $1 $2`
setenv CDR_SECURITY "8...
mkisofs -dvd-video -V $1 $2 | cdrecord-prodvd driveropts=burnfree -v dev=/dev/hdc fs=64m speed=4 tsize={$SIZE}s -
With a -dummy for the previous result, and without:
Cdrecord-ProDVD-Clone 2.01a11 (i586-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DRU-500A '
Revision : '2.0f'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 8112896 = 7922 KB
FIFO size : 67108864 = 65536 KB
Track 01: data 4352 MB
Total size: 4998 MB (495:12.22) = 2228417 sectors
Lout start: 4998 MB (495:14/17) = 2228417 sectors
cdrecord-prodvd: Success. 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 12 00 00 00 00 30 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.010s timeout 40s
cdrecord-prodvd: No disk / Wrong disk!
Any explanation?
Should I route the driver with ide-scsi also with 2.6 kernels?
Thank you very much,
Grégoire
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch
Reply to: