Hello Alban!

El 03/12/05 16:23, Alban BROWAEYS escribió:

Could you tell if windows have disabled dma
automatically ?

It always writes at Ultra DMA mode 2, I looked before starting Nero and while Nero was writing; also the performance is very smooth and I don't think such good performance could be achieved without DMA (though this is subjective).


PS: you could try latest >= 2.6.14-rc3* kernels if
your are easy with compiling a the kernel.
Yesterday I have compiled 2.6.14.3 and I am with Debian Testing up to date, it still doesn't work :-(. Some time ago I remember I recompiled the cdrtools package with a small change someone proposed here and I was able to write CDs from the command line, but my old friend XCDRoast didn't work yet and I miss it, snif...

diff -urN cdrtools-2.01.01.antescambios/cdrecord/cdrecord.c cdrtools-2.01.01/cdrecord/cdrecord.c --- cdrtools-2.01.01.antescambios/cdrecord/cdrecord.c 2004-10-17 09:44:58.000000000 -0200 +++ cdrtools-2.01.01/cdrecord/cdrecord.c 2005-09-02 11:45:35.000000000 -0300
@@ -3969,6 +3969,7 @@
       int     bs;
       int     tsize;

+       return (-1); //FIXME: Ivan.
       fillbytes((caddr_t)buf, 4, '\0');
       tsize = 0;
       scgp->silent++;

That is at the start of the get_dmaspeed() function, effectively disabling it.

Here is the output of my new test with cdrtools unmodified from Debian Testing and kernel 2.6.14.3:
[EMAIL PROTECTED]:~$ cdrecord -v blank=fast gracetime=2
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
     and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.14.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'CyberDrv'
Identifikation : 'CW078D CD-R/RW  '
Revision       : '140D'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x000A (current)
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002 (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1806336 = 1764 KB
Drive DMA Speed: 268800 kB/s 1527x CD 194x DVD
Current Secsize: 2048
ATIP info from disk:
 Indicated writing power: 3
 Reference speed: 6
 Is not unrestricted
 Is erasable
 Disk sub type: High speed Rewritable (CAV) media (1)
 ATIP start of lead in:  -11745 (97:25/30)
 ATIP start of lead out: 359848 (79:59/73)
 1T speed low:  4 1T speed high: 10
 2T speed low:  4 2T speed high:  6
 power mult factor: 1 5
 recommended erase/write power: 5
 A1 values: 24 1A D0
 A2 values: 23 B1 45
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Starting to write CD/DVD at speed 12 in real BLANK mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time:   23.069s

(yes, it worked nicely)

[EMAIL PROTECTED]:~$ mkisofs -rvJ /mnt/f/reponorepli/respaldo.lily.2005-09-10.tar.bz2 | cdrecord -v gracetime=2 -data -
INFO:   ISO-8859-1 character encoding detected by locale settings.
       Assuming ISO-8859-1 encoded filenames on source filesystem,
       use -input-charset to override.
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
mkisofs 2.01.01a03-unofficial-iconv (i686-pc-linux-gnu)
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 17
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 18
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 19
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 20
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 24
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 28
Done with: Directory tree                          Block(s)    1
Writing:   Joliet directory tree                   Start Block 29
Done with: Joliet directory tree                   Block(s)    1
Writing:   Directory tree cleanup                  Start Block 30
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 30
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 31
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
     and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.14.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'CyberDrv'
Identifikation : 'CW078D CD-R/RW  '
Revision       : '140D'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x000A (current)
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002 (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1806336 = 1764 KB
Drive DMA Speed: 268800 kB/s 1527x CD 194x DVD
FIFO size      : 4194304 = 4096 KB
Track 01: data  unknown length
Total size:        0 MB (00:00.00) = 0 sectors
Lout start:        0 MB (00:02/00) = 0 sectors

It stopped there, doesn't show the command prompt, it is running still.

   In a dmesg I see:
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset timed-out, status=0x80
hdd: DMA disabled
ide1: reset: success
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: ATAPI reset complete
hdc: status error: status=0x08 { DataRequest }
ide: failed opcode was: unknown
hdc: drive not ready for command
hdc: status timeout: status=0x88 { Busy }
ide: failed opcode was: unknown
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: request sense failure: status=0x51 { DriveReady SeekComplete Error }
hdc: request sense failure: error=0x50 { LastFailedSense=0x05 }
hdc: request sense failure: status=0x51 { DriveReady SeekComplete Error }
hdc: request sense failure: error=0x50 { LastFailedSense=0x05 }

it stops here, it doesn't say anything more.

Maybe I should disable once again the dma speed feature and try if it works from the command line now, and then try if it works in XCDRoast.
   Maybe I should try this patch too:

--- cdrtools-2.01.01/cdrecord/cdrecord.c.orig   2005-10-14 14:58:58.000000000 
+0200
+++ cdrtools-2.01.01/cdrecord/cdrecord.c        2005-10-14 14:59:25.000000000 
+0200
@@ -3880,7 +3880,7 @@ load_media(scgp, dp, doexit)
        scsi_start_stop_unit(scgp, 1, 0, immed);
        wait_unit_ready(scgp, 120);
        scgp->silent++;
-       rezero_unit(scgp);      /* Is this needed? Not supported by some 
drvives */
+/*     rezero_unit(scgp);*/    /* Is this needed? Not supported by some 
drvives */
        scgp->silent--;
        test_unit_ready(scgp);
        scsi_start_stop_unit(scgp, 1, 0, immed);

It is from Michal Schmidt <[EMAIL PROTECTED]> in a post to <[EMAIL PROTECTED]>.

   If I try something of this I will inform the results.
If you or someone else wants me to try something else then tell me and I will try to do.
   Thank you very much!

--
Ivan Baldo - [EMAIL PROTECTED] - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America, planet Earth.
In favour of world peace and freedom, against U.S.A. and allies!!!
Alternatives: [EMAIL PROTECTED] - http://go.to/ibaldo



Reply via email to