Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 19:23:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228202] em/igb regression: after r333345 Intel I120 ethernet card is not initialized correctly
Message-ID:  <bug-228202-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228202

            Bug ID: 228202
           Summary: em/igb regression: after r333345 Intel I120 ethernet
                    card is not initialized correctly
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: maciej@pasternacki.net

Created attachment 193339
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193339&action=
=3Dedit
dmesg with e1000 DBG, without r333345

After setting DBG to 1 in sys/dev/e1000/e1000_osdep.h, dmesg on r333486 sho=
ws
following:

igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0x3000-0x301f mem
0xc1100000-0xc117ffff,0xc1180000-0xc1183fff irq 17 at device 0.0 on pci2
e1000_set_mac_type
igb0: attach_pre capping queues at 4
e1000_set_mac_type
e1000_init_mac_ops_generic
e1000_init_phy_ops_generic
e1000_init_nvm_ops_generic
e1000_init_function_pointers_82575
e1000_init_mac_params_82575
e1000_init_nvm_params_i210
e1000_init_nvm_params_82575
e1000_get_flash_presence_i210
e1000_init_phy_params_82575
e1000_reset_mdicnfg_82580
e1000_get_phy_id_82575
e1000_get_phy_id
e1000_read_phy_reg_gs40g
e1000_acquire_phy_82575
e1000_acquire_swfw_sync
e1000_get_hw_semaphore
Driver can't access device - SMBI bit is set.
PHY Initialization Error
igb0: Setup of Shared code failed, error -2
igb0: IFDI_ATTACH_PRE failed 6
device_attach: igb0 attach returned 6

The igb0 interface does not show up.

After locally reverting r333421 and r333345, the interface is initialized
correctly. Debug dmesg with these revisions added as attachment as it is ve=
ry
long.

pciconf of the device:

igb0@pci0:2:0:0:        class=3D0x020000 card=3D0x35b48086 chip=3D0x1533808=
6 rev=3D0x03
hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'I210 Gigabit Network Connection'
    class      =3D network
    subclass   =3D ethernet

(without reverting r333345, the card shows in pciconf as "none2@pci0:2:0:0"=
).

If I can provide any additional information about this issue, please let me
know. My ability to debug this are limited, as this is a remote server and =
to
access it without networking I need to apply for remote KVM, so experiments
might take some time.

If I can add

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228202-227>