Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 12:54:57 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        freebsd-hackers@freebsd.org
Subject:   help with onboard LAN
Message-ID:  <alpine.BSF.2.20.1607081251001.854@laptop.wojtek.intra>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1607081251001.854>