From owner-freebsd-questions@FreeBSD.ORG Fri Nov 10 15:47:47 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 8F29816A407 for ; Fri, 10 Nov 2006 15:47:47 +0000 (UTC) (envelope-from solik@chereda.net) Received: from share.chereda.net (share.chereda.net [193.110.16.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C6C43D4C for ; Fri, 10 Nov 2006 15:47:46 +0000 (GMT) (envelope-from solik@chereda.net) Received: from [193.110.17.62] (port=50861 helo=solik.lan.local) (auth=solik) by share.chereda.net with asmtp (TLSv1:AES256-SHA:256) (Chereda.Net MTA) id 1GiYbZ-000CVr-9O for freebsd-questions@freebsd.org; Fri, 10 Nov 2006 17:47:45 +0200 Received: from [127.0.0.1] (localhost.lan.local [127.0.0.1]) by solik.lan.local (8.13.8/8.13.8) with ESMTP id kAAFlEaZ034078 for ; Fri, 10 Nov 2006 17:47:14 +0200 (EET) (envelope-from solik@chereda.net) Message-ID: <45549EFD.7010404@chereda.net> Date: Fri, 10 Nov 2006 17:47:09 +0200 From: Sergey Solyanik Organization: Chereda.Net User-Agent: Thunderbird 1.5.0.7 (X11/20061030) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45530544.6000102@chereda.net> <447iy3e4bv.fsf@be-well.ilk.org> In-Reply-To: <447iy3e4bv.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chereda-SMTP-helo: solik.lan.local X-Chereda-SMTP-host: 193.110.17.62 X-Chereda-SMTP-MAIL: X-Chereda-SMTP-RCPT: X-Chereda-RBL-Score: 0 X-Chereda-Spam-Score: 0 Subject: Re: fxp(4) and Intel 82801GB NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 15:47:47 -0000 Lowell Gilbert wrote: >> 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 >> 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.] Sorry for my English. The problem not in autodetection stuff. The problem is in fxp(4) dirver, that doesn't detect/show all available media types on the NIC. It shows only "media manual". Other well supported Intel 82559-based PCI Card shows like that: solik@solik$ ifconfig fxp0 fxp0: flags=9943 mtu 1500 options=8 ether 00:03:47:e3:7d:c8 media: Ethernet autoselect (100baseTX ) status: active solik@solik$ ifconfig -m fxp0 fxp0: flags=9943 mtu 1500 options=8 capabilities=8 ether 00:03:47:e3:7d:c8 media: Ethernet autoselect (100baseTX ) status: active supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media none media 100baseTX mediaopt hw-loopback The autodetection problem solved easily with correct cable and setting switch to 'auto speed/auto duplex'. However, it is not possible to select other than 'auto' mode on ICH7-based fxp1 interface, scince only 'manual' available. That's my request for help - add support to fxp(4) for ICH7-based NIC for the full range of media types. Excuse my English again, thanks!