From owner-freebsd-net Mon Mar 1 1: 2:37 1999 Delivered-To: freebsd-net@freebsd.org Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (Postfix) with ESMTP id B1FE21529E for ; Mon, 1 Mar 1999 01:01:48 -0800 (PST) (envelope-from graeme.brown@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur (local) with SMTP; Mon, 1 Mar 1999 09:01:10 +0000 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Mon, 1 Mar 1999 09:05:27 +0000 Message-ID: Date: 1 Mar 1999 09:05:29 +0100 From: Graeme Brown Subject: FW: Troubles with BSDATM and PVCs To: "FreeBSD-Net (FreeBSD.Org) List" X-Mailer: Mail*Link SMTP for Quarterdeck Mail; Version 4.0.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 /midway.patch where 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 < /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