fxp(4) and Intel 82801GB NIC
Sergey Solyanik
solik at chereda.net
Fri Nov 10 15:47:47 UTC 2006
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 at 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 at 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 at 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 at 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!
More information about the freebsd-questions
mailing list