Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 09:20:01 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: amd64/119047: Not correct working RealTek 8168/8111B PCIe Gigabit Ethernet
Message-ID:  <20071228002001.GA8872@cdnetworks.co.kr>
In-Reply-To: <20071227162155.9a9bd2f1.torfinn.ingolfsen@broadpark.no>
References:  <1825008839.105809.1198750560154.JavaMail.nobody@mail54.abv.bg> <20071227162155.9a9bd2f1.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 27, 2007 at 04:21:55PM +0100, Torfinn Ingolfsen wrote:
 > Hmm, this sounds kind of like the problem I have with my Asus M2A-VM HDMI motherboard. Also running FreeBSD / amd64 (currently 7.0-beta4).
 > More details below.

For users who are suffering from re(4) instability issues please try
the following patch. The patch shall fix bus_dma(9) issues and will
enable TSO capability as well as 64bit dma support.

http://people.freebsd.org/~yongari/re/re.HEAD.patch
or
http://people.freebsd.org/~yongari/re/if_re.c
http://people.freebsd.org/~yongari/re/if_rlreg.h
 
Please report back the result as I have plan to commit the patch
after 7.0 goes out.

 > 
 > On Thu, 27 Dec 2007 12:16:00 +0200 (EET)
 > Mario Pavlov <freebsd@abv.bg> wrote:
 > 
 > > Hi,
 > > I'm experiencing exactly the same problem
 > > after reboot everything is OK but after some time all network
 > > transfers are getting worse and worse. The packet loss goes above 50%
 > 
 > Can you see errors with 'netstat -i'? In my case, neither 'netstat -i' nor 'netstat  -m' reports any signs of trouble.
 > 
 > My problem is that ssh connections _to_ the machine closes unexpectedly with "bad packet length" or somesuch.
 > Any ssh connections _from_ the machine seems to be unaffected.
 > 
 > > you can easily reproduce this, without waiting days, with the
 > > fallowing steps:
 > 
 > I must try this.
 > 
 > > I've tried this with windows and it appears to be working
 > > there...haven't tried it with linux I've tried different kernel
 > > configuration but the result is still the same I've tried to listen
 > > with tcpdump but it seemed normal except for the packet loss (I can
 > > see all requests but not all responses are returned)
 > > 
 > > my motherboard is Asus P5B with chipset Intel P965 and integrated
 > > RealTek 8168/8111B PCIe Gigabit Ethernet
 > 
 > What does 'pciconf -lv | grep -B 4 network' show?
 > On my Asus M2A-VM HDMI motherboard I get this:
 > tingo@kg-vm$ pciconf -lv | grep -B 4 network
 >     subclass   = VGA
 > re0@pci0:2:0:0: class=0x020000 card=0x81aa1043 chip=0x816810ec rev=0x01 hdr=0x00
 >     vendor     = 'Realtek Semiconductor'
 >     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 >     class      = network
 > 
 > Hmm, ethernet is probably better:
 > tingo@kg-vm$ pciconf -lv | grep -B 4 ethernet
 > re0@pci0:2:0:0: class=0x020000 card=0x81aa1043 chip=0x816810ec rev=0x01 hdr=0x00
 >     vendor     = 'Realtek Semiconductor'
 >     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 >     class      = network
 >     subclass   = ethernet
 > 
 > The machine is running 7.0-beta4:
 > tingo@kg-vm$ uname -a
 > FreeBSD kg-vm.kg4.no 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec  2 16:34:41 UTC 2007     root@myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 > 
 > 
 > -- 
 > Torfinn

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071228002001.GA8872>