Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 15:03:57 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        Alexander Chamandy <bsdfreak@gmail.com>
Cc:        net@freebsd.org
Subject:   Re: nvnet does not see NVidia's adapter on amd64
Message-ID:  <200504201503.57630.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <f420b2a1050420083472d67b5d@mail.gmail.com>
References:  <f420b2a105041610026068a354@mail.gmail.com> <200504171905.j3HJ50jK096698@corbulon.video-collage.com> <f420b2a1050420083472d67b5d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_deqZCNLEC5P7dWN
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> > 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-spikes
> >
> > :-(

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

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 driver 
makes, that is true on 6.0, but on 5.x

So I'm back to net/nvnet's if_nv.ko, which is limping along...

nv0: <NVIDIA nForce MCP Networking Adapter> port 0xac00-0xac07 mem 
0xff2fe000-0xff2fefff irq 22 at device 5.0 on pci0
nv0: Ethernet address 00:d0:68:06:d8:c0
miibus0: <MII bus> on nv0

My motherboard is IWill's DK8N -- dmesg attached.

	-mi

--Boundary-00=_deqZCNLEC5P7dWN
Content-Type: text/plain;
  charset="iso-8859-1";
  name="pandora.dmesg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="pandora.dmesg"

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: <A M I  OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 244 (1800.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 2146697216 (2047 MB)
avail memory = 2060873728 (1965 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMXSDT> 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: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> 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: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xff2fb000-0xff2fbfff irq 22 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> mem 0xff2fc000-0xff2fcfff irq 21 at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> 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: <serial bus, USB> at device 2.2 (no driver attached)
nv0: <NVIDIA nForce MCP Networking Adapter> port 0xac00-0xac07 mem 0xff2fe000-0xff2fefff irq 22 at device 5.0 on pci0
nv0: Ethernet address 00:d0:68:06:d8:c0
miibus0: <MII bus> on nv0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
nv0: Ethernet address: 00:d0:68:06:d8:c0
pci0: <multimedia, audio> at device 6.0 (no driver attached)
atapci0: <nVidia nForce3 Pro UDMA133 controller> 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: <GENERIC ATA controller> 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: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pci2: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> on pcib2
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xff0f8000-0xff0fbfff,0xff0ff800-0xff0fffff irq 18 at device 6.0 on pci1
fwohci0: OHCI version 1.10 (ROM=1)
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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 1.0 on pci3
pci5: <ACPI PCI bus> on pcib4
atapci2: <SiI 3114 SATA150 controller> port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xff5ffc00-0xff5fffff irq 27 at 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: <base peripheral, interrupt controller> at device 1.1 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 2.0 on pci3
pci4: <ACPI PCI bus> on pcib5
amr0: <LSILogic MegaRAID 1.51> mem 0xfeaf0000-0xfeafffff irq 29 at device 1.0 on pci4
amr0: <LSILogic MegaRAID SATA 150-6D> Firmware 712T, BIOS G116, 64MB RAM
pci3: <base peripheral, interrupt controller> at device 2.1 (no driver attached)
acpi_button0: <Power Button> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <ISA Option ROMs> at iomem 0xc8800-0xccfff,0xc0000-0xc7fff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1800006080 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <FX320S/q01> at ata1-master PIO4
ad4: 190782MB <WDC WD2000JD-00FYB0/02.05D02> [387621/16/63] at ata2-master UDMA33
ad8: 190782MB <ST3200822AS/3.01> [387621/16/63] at ata4-master SATA150
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 953885MB (1953556480 sectors) RAID 5 (optimal)
Mounting root from ufs:/dev/ad8s2a

--Boundary-00=_deqZCNLEC5P7dWN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504201503.57630.mi%2Bmx>