Date: Wed, 2 Apr 2008 08:29:27 +0100 From: "Stuart Fraser" <stuart@stuartfraser.net> To: <pyunyh@gmail.com> Cc: freebsd-current@freebsd.org Subject: RE: vge(4) driver not working at 1G speeds Message-ID: <483f01c89493$4b8d8b90$e2a8a2b0$@net> In-Reply-To: <20080402002729.GA18494@cdnetworks.co.kr> References: <0fc501c893c7$dfbf99b0$9f3ecd10$@net> <20080402002729.GA18494@cdnetworks.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Here is the dmesg section, it appears to be using UKPHY so as you say if the older chips used a different physical layer perhaps we have a problem in there. -- dmesg -- pci3: <ACPI PCI bus> on pcib3 vge0: <VIA Networking Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfeaffc00-0xfeaffcff irq 28 at device 0.0 on pci3 miibus0: <MII bus> on vge0 ukphy0: <Generic IEEE 802.3u media interface> PHY 22 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto vge0: using obsoleted if_watchdog interface vge0: Ethernet address: 00:40:63:f3:7e:28 vge0: [ITHREAD] rgds Stu -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Pyun YongHyeon Sent: 02 April 2008 01:27 To: Stuart Fraser Cc: freebsd-current@freebsd.org Subject: Re: vge(4) driver not working at 1G speeds On Tue, Apr 01, 2008 at 08:13:19AM +0100, Stuart Fraser wrote: > Hi, > I'm trying to get a Via Velocity Gigabit Networking driver vge(4) to work at > 1000baseTX on a Via EPIA SN18000 Motherboard. > > It will always Auto negotiation and back-off to 100MB Full duplex, which > works > Perfectly (so far). When I try to manually force the card 1000baseTX the > interface > status reports 'no carrier' and I can get not connectivity. I have tried > Ubuntu live disk and it works seamlessly to 1GB, so I'm sure the > cabling/switch etc is fine and the issue is with the driver. > > So I have tried 1000baseTX full and half duplex. I have tried to disable the > hardware handoff using the mediaopt commands -rxcsum and -txcsum. Further I > have tried to use the link0 operation as described in the man page but I > get: > > nas# ifconfig vge0 mediaopt link0 > ifconfig: SIOCSIFMEDIA (media): Device not configured > > Further I have tried Release 7.0 and Stable 7 with the vge driver compiled > In to the kernel also as an external module loaded through boot/loader.conf > and lastly waiting until a full boot has completed and manually loading the > if_vge module. > > The only thing I can see is that the chipset is actually a VT6130 and > perhaps the driver needs 'tweaked' or there is some sysctl somewhere to poke > it into life. As I say it works fine in 100MB mode and I can use 100M for a > while but I'm planning on using this as a NAS so 1G would be preferred. > > Any help, suggestions, thoughts would be appreciated. Anyone got it working > or tried? > Should I report it as a bug? > Would you show me verbosed boot message? Old VIA VT6120/VT6122 controllers used to ciphy(4) but newer PCIe Velocity gigabit controllers, VT6130/VT6132, might use other variants of the PHY. -- Regards, Pyun YongHyeon _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483f01c89493$4b8d8b90$e2a8a2b0$>