[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord and "get performance" scsi errors



On 5/16/07, Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de> wrote:

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)

I understand I have to try changing 100 to 90 80 ...
Is DMA the 3rd param?
How I reduce DMA is the formula is 8+16*i?
If I change 100 to 80, then 3rd=8+16*80 > 104


--
giulioo@pobox.com



Reply to: