From owner-freebsd-questions@FreeBSD.ORG Fri Nov 10 14:58:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 032EE16A403 for ; Fri, 10 Nov 2006 14:58:52 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4099343D53 for ; Fri, 10 Nov 2006 14:58:51 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9130 invoked from network); 10 Nov 2006 14:58:29 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Nov 2006 14:58:29 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1087228430; Fri, 10 Nov 2006 09:58:29 -0500 (EST) To: Sergey Solyanik References: <45530544.6000102@chereda.net> From: Lowell Gilbert Date: Fri, 10 Nov 2006 09:58:28 -0500 In-Reply-To: <45530544.6000102@chereda.net> (Sergey Solyanik's message of "Thu, 09 Nov 2006 12:39:00 +0200") Message-ID: <447iy3e4bv.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: fxp(4) and Intel 82801GB NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 14:58:52 -0000 Sergey Solyanik writes: > Hello! > > I have a problem with my -STABLE, fxp(4) doesn't detect available media > in the Intel 82801GB onboard NIC. It shows that: > > solik@solik$ ifconfig fxp1 > fxp1: flags=9943 > mtu 1500 > options=8 > inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255 > ether 00:14:85:1a:fc:d3 > media: Ethernet manual > > solik@solik$ ifconfig -m fxp1 > fxp1: flags=9943 > mtu 1500 > options=8 > capabilities=8 > inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255 > ether 00:14:85:1a:fc:d3 > media: Ethernet manual > supported media: > media manual > > The NIC working (100M/Full) when plugged in switch (Cisco 2950), but > doesn't when connected with another one with crossover cable, or to the > wireless AP (D-Link DWL-2100AP) which do autodetection of speed MDI-X/MDI. > The link continually flapping up and down. > Running Windows XP I can manually select 100M/Full media to link up. But > I can't do that with FreeBSD. > > Here is the part of pciconf -lv output: > [...] > fxp1@pci2:8:0: class=0x020000 card=0xe0141631 chip=0x27dc8086 rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GB I/O Controller Hub LAN' > class = network > subclass = ethernet > > Please help me to fix it. I will test patches. I don't follow what you're trying here. You should have both sides set to autodetect, or neither side set for it. [That's not always necessary, but it's a good idea.]