Hello.
I disabled the rezero_unit but didn't change anything, I reenabled it and disabled the get_dmaspeed.
   This time I can write from the command line and from XCDRoast too!
Maybe the get_dmaspeed makes this drives go crazy, it would be nice to have a way to disable it in runtime, without needing to recompile cdrecord. Or maybe just disable it by default... I wonder why it is useful nowadays since drives have underrun protections. I have a cdrecord package with the get_dmaspeed thing disabled, if someone doesn't want to recompile the package I can send the .deb (just dpkg -i it). Please, can someone else test without the get_dmaspeed thing to see if it fixes its problems and post results (either succesful or not)? If I am not the only one then some solution could be considered...
   Thanks for your times!
   Goodbye.



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.



--- 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]>.


--
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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to