amd64/119047: Not correct working RealTek 8168/8111B PCIe

Mario Pavlov freebsd at abv.bg
Fri Dec 28 11:43:21 PST 2007


	Gigabit Ethernet
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: AbvMail 1.0
X-Originating-IP: 78.128.21.208

 >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 at 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 at kg-vm$ pciconf -lv | grep -B 4 network
 > >     subclass   = VGA
 > > re0 at 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 at kg-vm$ pciconf -lv | grep -B 4 ethernet
 > > re0 at 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 at 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 at myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 > > 
 > > 
 > > -- 
 > > Torfinn
 >
 >-- 
 >Regards,
 >Pyun YongHyeon

works for me, thanks! :)


More information about the freebsd-amd64 mailing list