Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 19:06:47 +0200 (EET)
From:      Mario Pavlov <freebsd@abv.bg>
To:        freebsd-amd64@freebsd.org
Subject:   Re: Re: amd64/119047: Not correct working RealTek 8168/8111B PCIe
Message-ID:  <424352075.119591.1198775207700.JavaMail.nobody@mail52.abv.bg>

next in thread | raw e-mail | index | archive | help
 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

 >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.
 >
 >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

here is the output from these commands:

# netstat -i
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
re0    1500 <Link#1>      00:1d:60:2a:4f:56  3398658     0  6617403     0     0
re0    1500 192.168.20.0  192.168.20.1       3372490     -  6617341     -     -
dc0    1500 <Link#2>      00:08:a1:27:88:1c   461424     0   267683     0     0
dc0    1500 my.public.ip  e-soul              284738     -   267109     -     -
rl0    1500 <Link#3>      00:19:e0:0e:a7:fa    30436     0    46058     0     0
rl0    1500 192.168.10.0  192.168.10.1            51     -        0     -     -
lo0   16384 <Link#4>                             840     0      840     0     0
lo0   16384 your-net      localhost              840     -      840     -     -

# netstat -m
259/701/960 mbufs in use (current/cache/total)
256/550/806/65536 mbuf clusters in use (current/cache/total/max)
256/289 mbuf+clusters out of packet secondary zone in use (current/cache)
0/374/374/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
576K/2771K/3348K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
49051 requests for I/O initiated by sendfile
0 calls to protocol drain routines

# pciconf -lv | grep -B 4 network
    subclass   = VGA
re0@pci0:3: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   = ATA
dc0@pci0:5:1:0: class=0x020000 card=0x50323030 chip=0x91021282 rev=0x40 hdr=0x00
    vendor     = 'Davicom Semiconductor Inc.'
    device     = 'DM9102/A/AF 10/100 Mbps Fast Ethernet Controller'
    class      = network
    subclass   = ethernet
rl0@pci0:5:2:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network

# pciconf -lv | grep -B 4 ethernet
re0@pci0:3: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
--
dc0@pci0:5:1:0: class=0x020000 card=0x50323030 chip=0x91021282 rev=0x40 hdr=0x00
    vendor     = 'Davicom Semiconductor Inc.'
    device     = 'DM9102/A/AF 10/100 Mbps Fast Ethernet Controller'
    class      = network
    subclass   = ethernet
rl0@pci0:5:2:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet

# uname -a
FreeBSD e-soul.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Thu Dec 27 13:05:12 EET 2007     noDrugs@e-soul.org:/usr/obj/usr/src/sys/Ss  amd64


-----------------------------------------------------------------
Коментирай и гласувай за най-лудия фен на Rihanna! vivarihanna.zoom.bg



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