"Giulio Orsero" <[EMAIL PROTECTED]> wrote:

> On 5/16/07, Joerg Schilling <[EMAIL PROTECTED]> wrote:
>
> > What would make sense is to try if there is a bug in the ATAPI <-> USB
> > adaprot that dauses a DMA error by trying to
> > reduce the 64 == 100 dec. to a lower number and check again.
>
> I assume you mean to reduce that number in order for cdrecord to try
> working around a bug in Linux atapi<->USB.
> Where in the cdrecord sources I find that 64 to be changed?

I am speaking about the converter hardware that may be defective.

scsi_mmc.c:

        fillbytes((caddr_t) buffer, sizeof (buffer), '\0'); 
        if (scsi_get_performance(scgp, buffer, 104, 100, 0x03, 0) < 0) 
                return (-1); 
 

if you reduce the 4th parameter, you need to also reduce the DMA size

the furmula is here:

if (scsi_get_performance(scgp, buffer, 8+16*i, i, 0x00, 0x04) < 0) 

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


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

Reply via email to