Date: Wed, 20 Jun 2001 14:00:16 -0700 (PDT) From: Richard Hodges <rh@matriplex.com> To: Nick <nickmeverden@yahoo.com> Cc: freebsd-atm@FreeBSD.ORG Subject: Re: need atm help Message-ID: <Pine.BSF.4.10.10106201353090.57444-200000@mail.matriplex.com> In-Reply-To: <20010620204419.32991.qmail@web9602.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, 20 Jun 2001, Nick wrote:
> I need help I've configured two servers with pca-200e fiber cards and
> crosslinked them together
>
> my rc.conf file
> ifconfig_atm0="inet 10.0.0.1 netmask 255.0.0.0"
> atm_enable="YES"
> atm_netif_hfa0="atm 1"
> atm_sigmgr_hfa0="sigpvc"
> atm_pvcs="foo"
> atm_pvc_foo="hfa0 0 33 aal5 snap IP atm0 10.0.0.2"
I haven't used a PVC on HARP for a while, but nothing looks wrong.
> I can ping the atm0 10.0.0.1 but can ping 10.0.0.2 (the other
> computer) kernel is confgured right and atm sh config, netif, vcc,
> ipvcc, inetface all look right can someone email with some ideas or
> some help of were I went wrong please..... nmeverde@np.k12.mn.us
Are you using FreeBSD 4.1 to 4.3? If so, you should patch your
Fore driver. When 4.1 was released the network buffers changed
and the driver was sending corrupt data to the IP stack.
To apply the patch, go to the directory /usr/src and "patch < fore_patch".
Then rebuild your kernel.
If you are using 4.0 or earlier, then something else is going on.
There is one version of firmware that works, if you are using one
from a Fore CD, that might be the wrong one. Or maybe there is
something just not quite right in your configuration.
All the best,
-Richard
-------------------------------------------
Richard Hodges | Matriplex, inc.
Product Manager | 769 Basque Way
rh@matriplex.com | Carson City, NV 89706
775-886-6477 | www.matriplex.com
[-- Attachment #2 --]
diff -U5 sys/dev/hfa/fore.h sys.new/dev/hfa/fore.h
--- sys/dev/hfa/fore.h Fri Aug 27 17:41:48 1999
+++ sys.new/dev/hfa/fore.h Mon Dec 18 10:26:49 2000
@@ -115,11 +115,11 @@
* BUF_DATA_ALIGN) - BUF1_SM_HDR)
* #define BUF1_SM_SIZE MAX(BUF1_SM_LEN - BUF1_SM_DOFF, 64)
*
*/
#if ((BSD >= 199103) && defined(FORE_PCI))
-#define BUF1_SM_DOFF ((BUF1_SM_HOFF + SIZEOF_Buf_handle) - BUF1_SM_HDR)
+#define BUF1_SM_DOFF (SIZEOF_Buf_handle)
#define BUF1_SM_SIZE (BUF1_SM_LEN - BUF1_SM_DOFF)
#endif
#if ((BSD < 199103) && defined(FORE_SBUS) && defined(sun4c))
#define BUF1_SM_DOFF (BUF_DATA_ALIGN - BUF1_SM_HDR)
#define BUF1_SM_SIZE (BUF1_SM_LEN - BUF1_SM_DOFF)
diff -U5 sys/dev/hfa/fore_receive.c sys.new/dev/hfa/fore_receive.c
--- sys/dev/hfa/fore_receive.c Fri Aug 27 17:41:51 1999
+++ sys.new/dev/hfa/fore_receive.c Mon Dec 18 10:29:16 2000
@@ -417,10 +417,13 @@
}
/*
* It looks like we've got a valid PDU - count it quick!!
*/
+ mhead->m_pkthdr.rcvif = NULL;
+ mhead->m_pkthdr.csum_flags = 0;
+ mhead->m_pkthdr.aux = NULL;
KB_PLENSET(mhead, pdulen);
fup->fu_pif.pif_ipdus++;
fup->fu_pif.pif_ibytes += pdulen;
vcp = fvp->fv_connvc->cvc_vcc;
vcp->vc_ipdus++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10106201353090.57444-200000>
