Re: fxp(4) and Intel 82801GB NIC

2006-11-10 Thread Sergey Solyanik

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:

[EMAIL PROTECTED] ifconfig fxp1
fxp1: flags=9943
mtu 1500
options=8
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
ether 00:14:85:1a:fc:d3
media: Ethernet manual

[EMAIL PROTECTED] ifconfig -m fxp1
fxp1: flags=9943
mtu 1500
options=8
capabilities=8
inet 192.168.250.1 netmask 0xff00 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:

[EMAIL PROTECTED] ifconfig fxp0
fxp0: flags=9943 
mtu 1500

options=8
ether 00:03:47:e3:7d:c8
media: Ethernet autoselect (100baseTX )
status: active
[EMAIL PROTECTED] 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!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fxp(4) and Intel 82801GB NIC

2006-11-10 Thread Lowell Gilbert
Sergey Solyanik <[EMAIL PROTECTED]> 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:
>
> [EMAIL PROTECTED] ifconfig fxp1
> fxp1: flags=9943
> mtu 1500
> options=8
> inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
> ether 00:14:85:1a:fc:d3
> media: Ethernet manual
>
> [EMAIL PROTECTED] ifconfig -m fxp1
> fxp1: flags=9943
> mtu 1500
> options=8
> capabilities=8
> inet 192.168.250.1 netmask 0xff00 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:
> [...]
> [EMAIL PROTECTED]:8:0:  class=0x02 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.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"