From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 27 10:16:03 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 431CD16A417 for ; Thu, 27 Dec 2007 10:16:03 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.70]) by mx1.freebsd.org (Postfix) with ESMTP id 427D513C448 for ; Thu, 27 Dec 2007 10:16:02 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from mail54.abv.bg (mail54.ni.bg [192.168.151.57]) by smtp-out.abv.bg (Postfix) with ESMTP id EA03814AD0A for ; Thu, 27 Dec 2007 12:15:49 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=B4olBrUBDvm+eoWjRGz8GpvIkwXa6+wRa4RJF3sVNTfHiJCKhw8qEvl8dXNxtqzJs cq/kAoIgsrbI5pD6HkxYXqgsRr+9KTxEaWjwf0B/Wx/L+/Eeo/MavNtXOVZE3KQXROg wgV8Mf/6aYllSM05gR9n7XzI01JWPmdgHyag4zA= DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=abv.bg; s=smtp-out; t=1198750549; bh=KjxAQllVug6QLeDJzNCGrbfUVH8=; h=Received:Date:From: To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Priority:X-Mailer:X-Originating-IP: DomainKey; b=JrIJcFOUkAaq7g7rtx8lSFHeoAQUfoZIDpd4AjI9HZCcqlJmeBvbb 9ZOYdihSI8t+pffmkHcM7/rIXJJUa01dlaTnyqC1JYlBuesqFmxFRFJStviVgRp+aNM 9nTJAVm+0xwZuQcsGp6zCFrjUH3jo+FHgyyXfBq7fSI0OLI6G1M= Received: from mail54.abv.bg (localhost [127.0.0.1]) by mail54.abv.bg (Postfix) with ESMTP id 265EA1A261A for ; Thu, 27 Dec 2007 12:16:00 +0200 (EET) Date: Thu, 27 Dec 2007 12:16:00 +0200 (EET) From: Mario Pavlov To: freebsd-amd64@freebsd.org Message-ID: <1825008839.105809.1198750560154.JavaMail.nobody@mail54.abv.bg> 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 Subject: Re: amd64/119047: Not correct working RealTek 8168/8111B PCIe Gigabit Ethernet X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2007 10:16:03 -0000 >>Number: 119047 >>Category: amd64 >>Synopsis: Not correct working RealTek 8168/8111B PCIe Gigabit Ethernet >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-amd64 >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Wed Dec 26 20:30:04 UTC 2007 >>Closed-Date: >>Last-Modified: >>Originator: Sebastian >>Release: FreeBSD 7.0-PRERELEASE >>Organization: >>Environment: >FreeBSD bluxx.mueller.mn 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Tue Dec 25 21:52:51 CET 2007 basti@bluxx.mueller.mn:/usr/obj/usr/src/sys/GENERIC amd64 > >>Description: >Hi, > >I've got a RealTek 8168/8111B PCIe Gigabit Ethernet network chip, connected to a 100mbit switch, DHCP is not working. Furthermore all network traffic is getting worse after some time, I don't know how to explain it exactly. >When starting the system, everthing works fine, but after 2-3 days uptime SSH connections are breaking with "Garbled packet", Websites on this apache Server are not displayed, pictures are 0 byte big when opening in a browser, ftp connections are timing out (starting speed with 2-3kbyte, normal speed is 5mbyte). After a reboot of the machine, everything is working fine again, I tried to look if the hardware is damaged, on debian everything worked fine. > >Please help me solving this problem. > > > >Dmesg: > >Copyright (c) 1992-2007 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD is a registered trademark of The FreeBSD Foundation. >FreeBSD 7.0-BETA4 #9: Mon Dec 17 06:08:19 CET 2007 > basti@bluxx.mueller.mn:/usr/obj/usr/src/sys/bluxx >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (2999.99-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x40f33 Stepping = 3 > Features=0x178bfbff > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x1f > Cores per package: 2 >usable memory = 6400897024 (6104 MB) >avail memory = 6184538112 (5898 MB) >ACPI APIC Table: >FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 >ioapic0 irqs 0-23 on motherboard >acpi0: on motherboard >acpi0: [ITHREAD] >acpi0: Power Button (fixed) >acpi0: reservation of 0, a0000 (3) failed >acpi0: reservation of 100000, ddf00000 (3) failed >ACPI HPET table warning: Sequence is non-zero (2) >Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 >acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 >acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 >Timecounter "HPET" frequency 14318180 Hz quality 900 >cpu0: on acpi0 >acpi_throttle0: on cpu0 >acpi_throttle0: CLK_VAL field overlaps THT_EN bit >device_attach: acpi_throttle0 attach returned 6 >cpu1: on acpi0 >pcib0: port 0xcf8-0xcff on acpi0 >pci0: on pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >vgapci0: port 0xc000-0xc0ff mem 0xfc000000-0xfdffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1 >pci1: at device 5.2 (no driver attached) >pcib2: at device 7.0 on pci0 >pci2: on pcib2 >re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 19 at device 0.0 on pci2 >re0: Using 2 MSI messages >miibus0: on re0 >rgephy0: PHY 1 on miibus0 >rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto >re0: Ethernet address: 00:19:db:d0:35:aa >re0: [FILTER] >re0: [FILTER] >atapci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe7ff800-0xfe7ffbff irq 22 at device 18.0 on >atapci0: [ITHREAD] >atapci0: AHCI Version 01.10 controller with 4 ports detected >ata2: on atapci0 >ata2: [ITHREAD] >ata3: on atapci0 >ata3: [ITHREAD] >ata4: on atapci0 >ata4: [ITHREAD] >ata5: on atapci0 >ata5: [ITHREAD] >ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 at device 19.0 on pci0 >ohci0: [GIANT-LOCKED] >ohci0: [ITHREAD] >usb0: OHCI version 1.0, legacy support >usb0: SMM does not respond, resetting >usb0: on ohci0 >usb0: USB revision 1.0 >uhub0: on usb0 >uhub0: 2 ports with 2 removable, self powered >ohci1: mem 0xfe7fd000-0xfe7fdfff irq 17 at device 19.1 on pci0 >ohci1: [GIANT-LOCKED] >ohci1: [ITHREAD] >usb1: OHCI version 1.0, legacy support >usb1: SMM does not respond, resetting >usb1: on ohci1 >usb1: USB revision 1.0 >uhub1: on usb1 >uhub1: 2 ports with 2 removable, self powered >ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 at device 19.2 on pci0 >ohci2: [GIANT-LOCKED] >ohci2: [ITHREAD] >usb2: OHCI version 1.0, legacy support >usb2: SMM does not respond, resetting >usb2: on ohci2 >usb2: USB revision 1.0 >uhub2: on usb2 >uhub2: 2 ports with 2 removable, self powered >ohci3: mem 0xfe7fb000-0xfe7fbfff irq 17 at device 19.3 on pci0 >ohci3: [GIANT-LOCKED] >ohci3: [ITHREAD] >usb3: OHCI version 1.0, legacy support >usb3: SMM does not respond, resetting >usb3: on ohci3 >usb3: USB revision 1.0 >uhub3: on usb3 >uhub3: 2 ports with 2 removable, self powered >ohci4: mem 0xfe7fa000-0xfe7fafff irq 18 at device 19.4 on pci0 >ohci4: [GIANT-LOCKED] >ohci4: [ITHREAD] >usb4: OHCI version 1.0, legacy support >usb4: SMM does not respond, resetting >usb4: on ohci4 >usb4: USB revision 1.0 >uhub4: on usb4 >uhub4: 2 ports with 2 removable, self powered >ehci0: mem 0xfe7ff000-0xfe7ff0ff irq 19 at device 19.5 on pci0 >ehci0: [GIANT-LOCKED] >ehci0: [ITHREAD] >usb5: EHCI version 1.0 >usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 >usb5: on ehci0 >usb5: USB revision 2.0 >uhub5: on usb5 >uhub5: 10 ports with 10 removable, self powered >pci0: at device 20.0 (no driver attached) >atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 >ata0: on atapci1 >ata0: [ITHREAD] >isab0: at device 20.3 on pci0 >isa0: on isab0 >pcib3: at device 20.4 on pci0 >pci3: on pcib3 >acpi_button0: on acpi0 >sio0: configured irq 3 not in bitmap of probed irqs 0 >sio0: port may not be enabled >sio0: configured irq 3 not in bitmap of probed irqs 0 >sio0: port may not be enabled >sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 >sio0: type 16550A >sio0: [FILTER] >atkbdc0: port 0x60,0x64 irq 1 on acpi0 >atkbd0: irq 1 on atkbdc0 >kbd0 at atkbd0 >atkbd0: [GIANT-LOCKED] >atkbd0: [ITHREAD] >orm0: at iomem 0xcd800-0xce7ff on isa0 >ppc0: cannot reserve I/O port range >sc0: at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x300> >vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >Timecounters tick every 1.000 msec >ad4: 715404MB at ata2-master SATA150 >ad6: 715404MB at ata3-master SATA150 >SMP: AP CPU #1 Launched! >Trying to mount root from ufs:/dev/ad4s1a > > >>How-To-Repeat: > >>Fix: > > >>Release-Note: >>Audit-Trail: >>Unformatted: 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% you can easily reproduce this, without waiting days, with the fallowing steps: * reboot * plug some local network to the "re" interface * start FTP download from machine in the local network to the FreeBSD-amd64 (and make sure you start downloading of significant amount of data...for example 50GBs) * wait some minutes until the speed starts getting lower 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 $ dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-PRERELEASE #0: Tue Dec 25 18:50:04 EET 2007 root@e-soul.org:/usr/obj/usr/src/sys/Ss Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz (2206.71-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 4285284352 (4086 MB) avail memory = 4084629504 (3895 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - EB, should be E6 [20070320] est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr b280b2806000b28 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr b280b2806000b28 device_attach: est1 attach returned 6 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x8c00-0x8c7f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1 uhci0: port 0xdc00-0xdc1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 17 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xfebffc00-0xfebfffff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: waiting for BIOS to give up control usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 4 ports with 4 removable, self powered pcm0: mem 0xfebf8000-0xfebfbfff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 re0: port 0xa800-0xa8ff mem 0xfe9ff000-0xfe9fffff irq 19 at device 0.0 on pci3 re0: Using 2 MSI messages miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1d:60:2a:4f:56 re0: [FILTER] re0: [FILTER] pcib4: irq 16 at device 28.4 on pci0 pci2: on pcib4 atapci0: port 0x9c00-0x9c07,0x9880-0x9883,0x9800-0x9807,0x9480-0x9483,0x9400-0x940f mem 0xfe8fe000-0xfe8fffff irq 16 at device 0.0 on pci2 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] uhci2: port 0xd480-0xd49f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: on uhci2 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered uhci3: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: on usb6 uhub6: 6 ports with 6 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 dc0: port 0xb800-0xb8ff mem 0xfeaffc00-0xfeaffcff irq 22 at device 1.0 on pci5 miibus1: on dc0 amphy0: PHY 1 on miibus1 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:08:a1:27:88:1c dc0: [ITHREAD] rl0: port 0xb400-0xb4ff mem 0xfeaff800-0xfeaff8ff irq 23 at device 2.0 on pci5 miibus2: on rl0 rlphy0: PHY 0 on miibus2 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:19:e0:0e:a7:fa rl0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci2: port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f irq 19 at device 31.5 on pci0 atapci2: [ITHREAD] ata7: on atapci2 ata7: [ITHREAD] ata8: on atapci2 ata8: [ITHREAD] acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub3 kbd2 at ukbd0 uhid0: on uhub3 Timecounters tick every 1.000 msec ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited ad10: 476940MB at ata5-master SATA150 acd0: DVDR at ata6-master SATA150 pcm0: pcm0: SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad10s2a rl0: link state changed to UP re0: link state changed to UP Regards MGP P.S. since this is my home PC I can provide access to it if someone wants to take a look ----------------------------------------------------------------- Коментирай и гласувай за най-лудия фен на Rihanna! vivarihanna.zoom.bg