Date: 1 Mar 1999 09:05:29 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@freebsd.org> Subject: FW: Troubles with BSDATM and PVCs Message-ID: <n1291843573.42534@maczebedee>
next in thread | raw e-mail | index | archive | help
Folks I know that some of us have had troubles with Efficient Networks Inc ATM cards appearing to fail under FreeBSD and the ALTQ package. This has plagued myself, Gordana and Antonio to my knowledge. I have learnt (see below) that there is a bug in the atm card driver. I recently returned eight atm cards (failures suspected by myself, Gordana and Antonio) to ENI in the States and they tested them and found them all to be OK ! The patch to fix this is given by Panos Gevros of UCL below. However Panos claimed it is fixed in altq-1.1.3 but Kenjiro Cho (ALTQ author) admitted that the bug has crept into altq-1.1.3. Anyway to use the patch i) save it in a file say <some-directory>/midway.patch where <some-directory> is a directory of your choice. ii) go through the step to apply the sys-altq.patch in the procedure of building the ALTQ kernel as given in ALTQ install instructions. iii) next cd /usr/src/sys-altq/dev/en patch -p < <some-directory>/midway.patch iv) compile the ALTQ kernel as per usual. Hope this helps Graeme _______________________________________________________________________________ To: Graeme Brown Cc: P.Gevros@cs.ucl.ac.uk From: Panos GEVROS on Thu, Feb 25, 1999 4:42 pm Subject: Re: Troubles with BSDATM and PVCs Graeme, there is a bug in the ATM driver which causes interfaces to freeze occasionally we used to have this problem and talked to Kenjiro, it is fixed in altq-1.1.3 Panos ---------------------------------------------------------------------- --- midway.c- Wed Oct 7 20:54:18 1998 +++ midway.c Thu Oct 8 12:24:34 1998 @@ -2237,7 +2237,11 @@ goto dequeue_drop; } - if (launch.need > sc->txslot[chan].bfree) { + /* + * note: don't use the entire buffer space. if WRTX becomes equal + * to RDTX, the transmitter stops assuming the buffer is empty! --kjc + */ + if (launch.need >= sc->txslot[chan].bfree) { EN_COUNT(sc->txoutspace); #ifdef EN_DEBUG printf("%s: tx%d: out of transmit space\n", sc->sc_dev.dv_xname, chan); ---------------------------------------------------------------------- | |Over a time (say a few days) I find that typicaly one of the pvcsif |becomes unserviceable, I cannot ping A->B or B->A from either |end of the pvc. ping reports 100 % packet loss. | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1291843573.42534>