Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 12:34:30 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: help with onboard LAN
Message-ID:  <042e6e78-13cb-7d48-68b1-495a0a341129@freebsd.org>
In-Reply-To: <alpine.BSF.2.20.1607081251001.854@laptop.wojtek.intra>
References:  <alpine.BSF.2.20.1607081251001.854@laptop.wojtek.intra>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-07-08 06:54, Wojciech Puchar wrote:
> my supermicro-rebranded server is specified as having 2 1Gb/s ethernet
> ports onboard
> 
> what actually is:
> 
> ix0@pci0:3:0:0: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
> hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Ethernet Controller 10-Gigabit X540-AT2'
>     class      = network
>     subclass   = ethernet
> ix1@pci0:3:0:1: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
> hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Ethernet Controller 10-Gigabit X540-AT2'
>     class      = network
>     subclass   = ethernet
> 
> 
> 
> which is strange
> 
> card is autodetected with ixgbe driver under FreeBSD 10 and i put
> 
> device miibus
> device ixgbe
> 
> in my custom kernel.
> 
> ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15>
> port 0xe020-0xe03f mem 0xfbc00000-0xfbdfffff,0xfbe04000-0xfbe07fff irq
> 42 at device 0.0 on pci3
> ix0: Using MSIX interrupts with 9 vectors
> ix0: Ethernet address: 0c:c4:7a:6e:7e:9e
> ix0: PCI Express Bus: Speed 5.0GT/s Width x8
> ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15>
> port 0xe000-0xe01f mem 0xfba00000-0xfbbfffff,0xfbe00000-0xfbe03fff irq
> 45 at device 0.1 on pci3
> ix1: Using MSIX interrupts with 9 vectors
> ix1: Ethernet address: 0c:c4:7a:6e:7e:9f
> ix1: PCI Express Bus: Speed 5.0GT/s Width x8
> 
> And it works.
> 
> But seems i have autonegotiation problem with gigabit switch - it
> connects at 100Mb/s
> 
> ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 
> options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
> 
>         ether 0c:c4:7a:6e:7e:9e
>         inet 194.1.144.90 netmask 0xfffffff8 broadcast 194.1.144.95
>         inet 194.1.144.91 netmask 0xfffffff8 broadcast 194.1.144.95
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> 
> 
> i tried
> 
> ifconfig ix0 media 1000baseT
> 
> but it shows error.
> 
> 
> Any idea what i really have in my server and how to manually set it up
> to 1Gb/s
> 
> Seems like no phy is detected.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

Are you sure they are 1 Gigabit ports? They look like 10 Gigabit ports.

I have not had trouble getting any of my 10 Gigabit ports to link to a 1
Gigabit switch.

Install and run 'dmidecode', and in the first page or two, get the model
number of the supermicro motherboard. It will help shed light on the
situation.

Will look something like this:

Base Board Information
        Manufacturer: Supermicro
        Product Name: X10DRi-LN4+


-- 
Allan Jude



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?042e6e78-13cb-7d48-68b1-495a0a341129>