Date: Fri, 10 Nov 2006 17:47:09 +0200 From: Sergey Solyanik <solik@chereda.net> To: freebsd-questions@freebsd.org Subject: Re: fxp(4) and Intel 82801GB NIC Message-ID: <45549EFD.7010404@chereda.net> In-Reply-To: <447iy3e4bv.fsf@be-well.ilk.org> References: <45530544.6000102@chereda.net> <447iy3e4bv.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> >> mtu 1500 >> options=8<VLAN_MTU> >> 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> >> mtu 1500 >> options=8<VLAN_MTU> >> capabilities=8<VLAN_MTU> >> 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:03:47:e3:7d:c8 media: Ethernet autoselect (100baseTX <full-duplex>) status: active solik@solik$ ifconfig -m fxp0 fxp0: flags=9943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> mtu 1500 options=8<VLAN_MTU> capabilities=8<VLAN_MTU> ether 00:03:47:e3:7d:c8 media: Ethernet autoselect (100baseTX <full-duplex>) 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45549EFD.7010404>