From owner-freebsd-net@FreeBSD.ORG Wed Apr 20 19:27:13 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A72A516A4CE for ; Wed, 20 Apr 2005 19:27:13 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id E220543D53 for ; Wed, 20 Apr 2005 19:27:11 +0000 (GMT) (envelope-from bsdfreak@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so424590nzf for ; Wed, 20 Apr 2005 12:27:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ib4MDZJXs9S4/6ZplwyHZLBzYtraHRZt8PQpapLcsRD07nzxeSdwJeVnFZKhrGG8rWmDIgRa0hjhSaAOWKpcm/7TcKzIVzVFaZqSqe6sFsWcCe+98PXcmA6435eXeYFDKXTyCYpZazX0ipA0CFGHiHMbL8M2AU7GZSYhOdgIsO0= Received: by 10.36.9.5 with SMTP id 5mr120066nzi; Wed, 20 Apr 2005 12:27:11 -0700 (PDT) Received: by 10.36.7.11 with HTTP; Wed, 20 Apr 2005 12:27:11 -0700 (PDT) Message-ID: Date: Wed, 20 Apr 2005 15:27:11 -0400 From: Alexander Chamandy To: Mikhail Teterin In-Reply-To: <200504201503.57630.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200504171905.j3HJ50jK096698@corbulon.video-collage.com> <200504201503.57630.mi+mx@aldan.algebra.com> cc: Q cc: freebsd-amd64@freebsd.org cc: obrien@freebsd.org cc: net@freebsd.org Subject: Re: nvnet does not see NVidia's adapter on amd64 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Chamandy List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 19:27:13 -0000 On 4/20/05, Mikhail Teterin wrote: > > > The latest version from Q's site works (!), but seems limited to > > > 100baseTX full-duplex. Even at that nominal speed, the actual data > > > transfers seem limited to 2-3 megabytes/s with occasional latency-spi= kes > > > > > > :-( >=20 > > I just tried the one from Q's site on my Asus K8NNXP nForce MCP3 > > Networking Adapter (RTL8201L) and it seems to peak at about 7-8MB/s. > > I haven't had any latency problems.. perhaps this issue is isolated to > > a certain network adapter? > > > > > I'll try to back-port if_nve manually and see, what happens. >=20 > Well, simply checking out sys/dev/nve, sys/contrib/dev/nve, and > sys/modules/nve allowed me to build the if_nve module. Loading if_nve.ko > attaches to the interface, but attempts to ifconfig it result in instant > panic (page fault). I'm going to guess, there is some assumption the driv= er > makes, that is true on 6.0, but on 5.x >=20 > So I'm back to net/nvnet's if_nv.ko, which is limping along... Have you tried disabling ACPI and measuring performance then? I had a lot of problems with ACPI on this machine which is an AMD Athlon64 3200+ w/K8NNXP mainboard.. 2GB DDR RAM. >=20 > nv0: port 0xac00-0xac07 mem > 0xff2fe000-0xff2fefff irq 22 at device 5.0 on pci0 > nv0: Ethernet address 00:d0:68:06:d8:c0 > miibus0: on nv0 >=20 > My motherboard is IWill's DK8N -- dmesg attached. >=20 > -mi >=20 >=20 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.4-RC2 #0: Sun Apr 10 04:02:23 UTC 2005 > root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Opteron(tm) Processor 244 (1800.01-MHz K8-class CPU) > Origin =3D "AuthenticAMD" Id =3D 0xf58 Stepping =3D 8 > Features=3D0x78bfbff > AMD Features=3D0xe0500800 > real memory =3D 2146697216 (2047 MB) > avail memory =3D 2060873728 (1965 MB) > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-27 on motherboard > ioapic2 irqs 28-31 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > pcib0: port 0xcf8-0xcff on acpi0 > ACPI link \\_SB_.LUS0 has invalid initial irq 10, ignoring > ACPI link \\_SB_.LKLN has invalid initial irq 5, ignoring > ACPI link \\_SB_.LUS1 has invalid initial irq 11, ignoring > ACPI link \\_SB_.LUS2 has invalid initial irq 7, ignoring > ACPI link \\_SB_.LNKE has invalid initial irq 11, ignoring > ACPI link \\_SB_.LNKB has invalid initial irq 10, ignoring > ACPI link \\_SB_.LTIE has invalid initial irq 10, ignoring > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > pci0: at device 1.1 (no driver attached) > ohci0: mem 0xff2fb000-0xff2fbfff irq 22 a= t device 2.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > ohci1: mem 0xff2fc000-0xff2fcfff irq 21 a= t device 2.1 on pci0 > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 4 ports with 4 removable, self powered > pci0: at device 2.2 (no driver attached) > nv0: port 0xac00-0xac07 mem 0xff2f= e000-0xff2fefff irq 22 at device 5.0 on pci0 > nv0: Ethernet address 00:d0:68:06:d8:c0 > miibus0: on nv0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000b= aseT-FDX, auto > nv0: Ethernet address: 00:d0:68:06:d8:c0 > pci0: at device 6.0 (no driver attached) > atapci0: port 0xffa0-0xffaf,0x376= ,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > atapci1: port 0xbc00-0xbc0f,0xc000-0xc003,0xc400= -0xc407,0xc800-0xc803,0xcc00-0xcc07 irq 21 at device 10.0 on pci0 > ata2: channel #0 on atapci1 > ata3: channel #1 on atapci1 > pcib1: at device 11.0 on pci0 > pci2: on pcib1 > pci2: at device 0.0 (no driver attached) > pcib2: at device 14.0 on pci0 > ACPI link \\_SB_.LNKD has invalid initial irq 10, ignoring > ACPI link \\_SB_.LNKC has invalid initial irq 10, ignoring > pci1: on pcib2 > fwohci0: mem 0xff0f8000-0xff0fbfff,0xff0f= f800-0xff0fffff irq 18 at device 6.0 on pci1 > fwohci0: OHCI version 1.10 (ROM=3D1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:00:00:00:00:01:46:87 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:00:00:01:46:87 > fwe0: Ethernet address: 02:00:00:01:46:87 > fwe0: if_start running deferred for Giant > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) > firewire0: bus manager 0 (me) > pcib3: on acpi0 > pci3: on pcib3 > pcib4: at device 1.0 on pci3 > pci5: on pcib4 > atapci2: port 0xdc00-0xdc0f,0xe000-0xe003,0= xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xff5ffc00-0xff5fffff irq 27 a= t device 3.0 on pci5 > ata4: channel #0 on atapci2 > ata5: channel #1 on atapci2 > ata6: channel #2 on atapci2 > ata7: channel #3 on atapci2 > pci3: at device 1.1 (no driver at= tached) > pcib5: at device 2.0 on pci3 > pci4: on pcib5 > amr0: mem 0xfeaf0000-0xfeafffff irq 29 at device= 1.0 on pci4 > amr0: Firmware 712T, BIOS G116, 64MB RAM > pci3: at device 2.1 (no driver at= tached) > acpi_button0: on acpi0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on a= cpi0 > sio0: type 16550A > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 = on acpi0 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > orm0: at iomem 0xc8800-0xccfff,0xc0000-0xc7fff on isa0 > ppc0: cannot reserve I/O port range > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1800006080 Hz quality 800 > Timecounters tick every 1.000 msec > acd0: CDROM at ata1-master PIO4 > ad4: 190782MB [387621/16/63] at ata2-maste= r UDMA33 > ad8: 190782MB [387621/16/63] at ata4-master SATA150 > amrd0: on amr0 > amrd0: 953885MB (1953556480 sectors) RAID 5 (optimal) > Mounting root from ufs:/dev/ad8s2a >=20 >=20 >=20 --=20 Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News!