patm, idt, ipfw - next adentures

Vincent Jardin vjardin at wanadoo.fr
Thu Oct 2 13:20:00 PDT 2003


A part of this error message is related to the following status that is 
returned by the Chipset:
            if (stat_val & IDT_STAT_FBQ1A) {
                printf("proatm%d: not enough large buffers.\n", proatm->unit);
                proatm_ld_rcv_buf(proatm, 0, 64);
            }
see
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/proatm/Attic/proatm.c?rev=1.1.2.2&content-type=text/x-cvsweb-markup

According the the IDT77252's manual : "This field indicates that FBQ1 has 
fewer empty free buffers than the value specified in the Threshold (THLD) 
field of the Free Buffer Size 1 (FBQS1) register. This bit will be set only 
if the Free Buffer Queue Interrupt Enable (FBQIE) bit of the Configuration 
register is set to 1. This bit will return to zero one buffers are added to 
the FBQ."

I do not understand why your HW is always requesting for more buffers !! Have 
you done something special ?
Can you provide more information about your configuration ?
Could you try the same test without ipfw ?

Regards,
  Vincent

On Thursday 02 October 2003 12:53, Franky wrote:
> I reinstall os to FreeBSD 4.9-RC and change atm card to Prosum
> PROAMT-155.THIS IS NOT WORK. When os start all work good, but after 20-90
> seconds some PVCs which have big traffic(8Mbit/s) break transmission and
> don't send packets. I did many tests, I had always the same results - the
> end of transssmision without any message. Sometimes I get this message:
> Oct  2 03:18:45 ordos /kernel: proatm0: i=101, status=00080008
> Oct  2 03:18:45 ordos /kernel: proatm0: not enough large buffers.
> Oct  2 03:18:45 ordos last message repeated 99 times
> Oct  2 03:18:45 ordos /kernel: proatm0: i=101, status=00080008
> Oct  2 03:18:45 ordos /kernel: proatm0: not enough large buffers.
> Oct  2 03:18:45 ordos last message repeated 69 times
> Oct  2 03:18:45 ordos /kernel: All mbuf clusters exhausted, please see
> tuning(7).
> Oct  2 03:18:45 ordos /kernel: proatm0: not enough large buffers.
> Oct  2 03:18:45 ordos last message repeated 29 times
> Oct  2 03:18:45 ordos /kernel: proatm0: i=101, status=00080008
> Oct  2 03:18:46 ordos /kernel: proatm0: not enough large buffers.
> Oct  2 03:18:46 ordos /kernel: proatm0: bad CRC - discarding PDU: 0/144
> Oct  2 03:18:46 ordos /kernel: proatm0: not enough large buffers.
> Oct  2 03:18:46 ordos last message repeated 98 times
> Oct  2 03:18:46 ordos /kernel: proatm0: i=101, status=00080008
> but after this message all interface stop send packets (NMBCLUSTERS is set
> to 65536 and ipfw is disabled).




More information about the freebsd-atm mailing list