Re: cdrecord and "get performance" scsi errors
"Giulio Orsero" <giulioo@gmail.com> wrote:
> > 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
Try first with a low number (e.g. 4), use the formula
8+16*i and you get a DMA Size of 72
http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
Reply to: