igb: device_attach: igb1 attach returned 6

Roman Bogorodskiy novel at freebsd.org
Sun Aug 19 14:21:18 UTC 2018


Hi,

I have a 4-port Intel I350 network card. When I plug sfp rj45 module to
one of the ports, devices fails to initialise, e.g. ifconfig(8) only
shows three igb interfaces (expected to be four):

igb0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=e505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:12:c0:00:e9:14
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=e505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:12:c0:00:e9:16
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=e505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:12:c0:00:e9:17
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

dmesg has the following:

igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xe060-0xe07f mem 0xf7a00000-0xf7bfffff,0xf7c0c000-0xf7c0ffff irq 16 at device 0.0 on pci1                                                               
igb0: attach_pre capping queues at 8
igb0: using 1024 tx descriptors and 1024 rx descriptors
igb0: msix_init qsets capped at 8
igb0: pxm cpus: 4 queue msgs: 9 admincnt: 1
igb0: using 4 rx queues 4 tx queues
igb0: Using MSIX interrupts with 5 vectors
igb0: allocated for 4 tx_queues
igb0: allocated for 4 rx_queues
igb0: Ethernet address: 00:12:c0:00:e9:14
igb0: netmap queues/slots: TX 4/1024, RX 4/1024
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xe040-0xe05f mem 0xf7800000-0xf79fffff,0xf7c08000-0xf7c0bfff irq 17 at device 0.1 on pci1                                                               
igb1: attach_pre capping queues at 8
igb1: Setup of Shared code failed, error -2
igb1: IFDI_ATTACH_PRE failed 6
device_attach: igb1 attach returned 6
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xe020-0xe03f mem 0xf7600000-0xf77fffff,0xf7c04000-0xf7c07fff irq 18 at device 0.2 on pci1                                                               
igb1: attach_pre capping queues at 8
igb1: using 1024 tx descriptors and 1024 rx descriptors
igb1: msix_init qsets capped at 8
igb1: pxm cpus: 4 queue msgs: 9 admincnt: 1
igb1: using 4 rx queues 4 tx queues
igb1: Using MSIX interrupts with 5 vectors
igb1: allocated for 4 tx_queues
igb1: allocated for 4 rx_queues
igb1: Ethernet address: 00:12:c0:00:e9:16
igb1: netmap queues/slots: TX 4/1024, RX 4/1024
igb2: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xe000-0xe01f mem 0xf7400000-0xf75fffff,0xf7c00000-0xf7c03fff irq 19 at device 0.3 on pci1                                                               
igb2: attach_pre capping queues at 8
igb2: using 1024 tx descriptors and 1024 rx descriptors
igb2: msix_init qsets capped at 8
igb2: pxm cpus: 4 queue msgs: 9 admincnt: 1
igb2: using 4 rx queues 4 tx queues
igb2: Using MSIX interrupts with 5 vectors
igb2: allocated for 4 tx_queues
igb2: allocated for 4 rx_queues
igb2: Ethernet address: 00:12:c0:00:e9:17
igb2: netmap queues/slots: TX 4/1024, RX 4/1024

And in pciconf(8) it shows as:

igb0 at pci0:1:0:0:        class=0x020000 card=0x00101b6d chip=0x15228086 rev=0x01 hdr=0x00                                                                                                                           
    vendor     = 'Intel Corporation'                                                                                                                                                                               
    device     = 'I350 Gigabit Fiber Network Connection'                                                                                                                                                           
    class      = network                                                                                                                                                                                           
    subclass   = ethernet                                                                                                                                                                                          
none1 at pci0:1:0:1:       class=0x020000 card=0x00101b6d chip=0x15228086 rev=0x01 hdr=0x00                                                                                                                           
    vendor     = 'Intel Corporation'                                                                                                                                                                               
    device     = 'I350 Gigabit Fiber Network Connection'                                                                                                                                                           
    class      = network                                                                                                                                                                                           
    subclass   = ethernet                                                                                                                                                                                          
igb1 at pci0:1:0:2:        class=0x020000 card=0x00101b6d chip=0x15228086 rev=0x01 hdr=0x00                                                                                                                           
    vendor     = 'Intel Corporation'                                                                                                                                                                               
    device     = 'I350 Gigabit Fiber Network Connection'                                                                                                                                                           
    class      = network                                                                                                                                                                                           
    subclass   = ethernet                                                                                                                                                                                          
igb2 at pci0:1:0:3:        class=0x020000 card=0x00101b6d chip=0x15228086 rev=0x01 hdr=0x00                                                                                                                           
    vendor     = 'Intel Corporation'                                                                                                                                                                               
    device     = 'I350 Gigabit Fiber Network Connection'                                                                                                                                                           
    class      = network                                                                                                                                                                                           
    subclass   = ethernet 

Any suggestions what could be wrong with that?

The host is FreeBSD 12.0-ALPHA1 amd64 @ r337885. I don't know how/if it
worked before, just plugged that in.

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180819/a1c6e380/attachment.sig>


More information about the freebsd-net mailing list