Date: Thu, 22 Mar 2001 20:03:49 -0800 (PST) From: togou@crl.go.jp To: freebsd-gnats-submit@FreeBSD.org Subject: kern/26018: Even FreeBSD 4.2 rises ProblemReport kern/23620 Message-ID: <200103230403.f2N43n870532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 26018 >Category: kern >Synopsis: Even FreeBSD 4.2 rises ProblemReport kern/23620 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 22 20:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Syouki Togou >Release: 4.2 >Organization: Communications Research Laboratory >Environment: FreeBSD scn1e 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Mar 23 10:47:30 JST 2001 root@scn1e:/usr/src/sys/compile/ACTIVENET i386 >Description: There is not Ping communication with an outside host when I use ATM NIC "PCA-200E" made by Fore Systems with FreeBSD4.2. I go so that a packet does loss by a Ping command in Problem Report kern/23620, but it is the state that return cannot receive at all even if I let you fly in a packet to an outside host in case of this time. Because I let you go by way of an ATM switch whether you send in a packet and check it, there is not a mistake. >How-To-Repeat: Compile kernel with the following ATM options options ATM_CORE options ATM_IP options ATM_SIGPVC options ATM_SPANS options ATM_UNI device hfa Initialize ATM normally: fore_dnldĦĦ-i hfa0 -d /etc atm set netif hfa0 nia 1 atm attach hfa0 SIGPVC ifconfig nia0 192.168.1.1.up atm add pvc hfa0 0 100 aal5 llc ip niaĦĦ192.168.1.2 Now Ping host "192.168.1.2" on the ATM Network. However, after ping command execution, as for the message, nothing is displayed. >Fix: It was settled if I hit ProbremReport kern/23620 with the patch which appeared, but unfortunately it has been reject even if I hit it with a patch as it is. I succeed when I guess this right with FreeBSD4.2 because I made the following patches. --- sys.old/dev/hfa/fore.h Sat Aug 28 09:41:48 1999 +++ sys/dev/hfa/fore.h Fri Mar 23 11:14:21 2001 @@ -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) --- sys.old/dev/hfa/fore_receive.c Sat Aug 28 09:41:51 1999 +++ sys/dev/hfa/fore_receive.c Fri Mar 23 10:40:26 2001 @@ -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++; Note) There is not a change that 23620 is reporting contents coming out. I cannot know that I am different if I let it is only a date of a file and spread it whether I am ignorance. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103230403.f2N43n870532>
