Packet corruption in re0

Abdullah Ibn Hamad Al-Marri wearabnet at yahoo.ca
Fri Mar 28 00:00:20 PDT 2008


----- Original Message ----
> From: Pyun YongHyeon <pyunyh at gmail.com>
> To: Abdullah Ibn Hamad Al-Marri <wearabnet at yahoo.ca>
> Cc: FreeBSD Current <freebsd-current at freebsd.org>; FreeBSD STABLE <freebsd-stable at freebsd.org>
> Sent: Friday, March 28, 2008 9:43:52 AM
> Subject: Re: Packet corruption in re0
> 
> On Thu, Mar 27, 2008 at 10:47:51PM -0700, Abdullah Ibn Hamad Al-Marri wrote:
> 
> [...]
> 
>  > >  > 
>  > >  > Pyun,
>  > >  > 
>  > >  > I used it, and I got no bufer space available message, I run a server 
> with 
>  > > heavey http requests and named as we..
>  > >  > 
>  > >  > so I had to increase the buffer.
>  > >  > 
>  > > 
>  > > Please try re(4) in HEAD.
>  > > I've just committed one important fix to PCIe variants of RealTek
>  > > chip. I guess re(4) in HEAD shall fix all known issues reported.
>  > 
>  >  
>  > > I'll MFC re(4) changes in a week.
>  > > 
>  > > -- 
>  > > Regards,
>  > > Pyun YongHyeon
>  > > 
>  > 
>  > Hello Pyun,
>  > 
>  > I did fetch if_rlreg.h and if_re.c from HEAD, but it didn't compile in 
> RELENG_7.
>  > 
>  > machine -> /usr/src/sys/amd64/include
>  > rm -f .depend
>  > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
> -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
> -I/usr/obj/usr/src/sys/ARABPE 
> /usr/src/sys/modules/mfi/mfi_linux/../../../dev/mfi/mfi_linux.c
>  > ===> mii (depend)
>  > @ -> /usr/src/sys
>  > machine -> /usr/src/sys/amd64/include
>  > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -c
>  > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
>  > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
>  > awk -f @/tools/miidevs2h.awk @/dev/mii/miidevs
>  > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h
>  > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
>  > rm -f .depend
>  > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
> -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
> -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mii/../../dev/mii/acphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/amphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/bmtphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/brgphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/ciphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/e1000phy.c 
> /usr/src/sys/modules/mii/../../dev/mii/exphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/gentbi.c 
> /usr/src/sys/modules/mii/../../dev/mii/icsphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/inphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/ip1000phy.c 
> /usr/src/sys/modules/mii/../../dev/mii/lxtphy.c miibus_if.c 
> /usr/src/sys/modules/mii/../../dev/mii/mii.c 
> /usr/src/sys/modules/mii/../../dev/mii/mii_physubr.c 
> /usr/src/sys/modules/mii/../../dev/mii/mlphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/nsphy.c
>  >  /usr/src/sys/modules/mii/../../dev/mii/nsphyter.c 
> /usr/src/sys/modules/mii/../../dev/mii/pnaphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/qsphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/rgephy.c 
> /usr/src/sys/modules/mii/../../dev/mii/rlphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/ruephy.c 
> /usr/src/sys/modules/mii/../../dev/mii/tdkphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/tlphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/ukphy.c 
> /usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c 
> /usr/src/sys/modules/mii/../../dev/mii/xmphy.c
>  > In file included from /usr/src/sys/modules/mii/../../dev/mii/rgephy.c:60:
>  > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor 
> expressions
>  > @/pci/if_rlreg.h:1062:6: error: unterminated comment
>  > @/pci/if_rlreg.h:654:1: error: unterminated #if
>  > In file included from /usr/src/sys/modules/mii/../../dev/mii/rlphy.c:56:
>  > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor 
> expressions
>  > @/pci/if_rlreg.h:1062:6: error: unterminated comment
>  > @/pci/if_rlreg.h:654:1: error: unterminated #if
>  > mkdep: compile failed
>  > *** Error code 1
>  > 1 error
>  > *** Error code 2
>  > 1 error
>  > *** Error code 2
>  > 2 errors
>  > *** Error code 2
>  > 1 error
>  > *** Error code 2
>  > 1 error
>  > 
>  > 
>  > 
>  > Could you please help with a patch could be applied in RELENG_7? This is 
> urgent issue.
>  > 
> 
> The files in the following URL are the same one in HEAD except
> addition of minor glude code to build it on RELENG_7.
> 
> http://people.freebsd.org/~yongari/re/if_re.c
> http://people.freebsd.org/~yongari/re/if_rlreg.h
> 
> -- 
> Regards,
> Pyun YongHyeon
> 


Compiled and installed, thank you, I'll report to you any issue I may face.

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the freebsd-stable mailing list