Skip to content

Filter out / blacklist irrelevant e1000e network adapter error (Ansible) #564

Open

Description

@keqiaozhang

CI detected an irrelevant network adapter error, need to filter it out in our test case.
[ 6928.068820] kernel: e1000e 0000:00:1f.6 enp0s31f6: Hardware Error
1371?model=CML_RVP_HDA&testcase=check-suspend-resume-50

cc:

Activity

  1. xiulipan commented on Feb 3, 2021

    @xiulipan
    Contributor

    @marc-hb @aiChaoSONG @keqiaozhang Let's restart the discuss about reaction to this issue.
    e1000e is onboard net adaptor right? Are we using them for network now?
    If not, maybe disable the driver would be a simpler solution here.

  2. fredoh9 commented on Feb 19, 2021

    @fredoh9
    Contributor

    Found in TGLH_RVP_HDA also in daily test 2200. I think we need to try both, ignoring the error and BIOS setting.

    ===========================>>
    [  120.673929] kernel: e1000e 0000:00:1f.6 eno0: Hardware Error
    <<===========================
    
  3. marc-hb commented on Feb 19, 2021

    @marc-hb
    Collaborator

    We had a number of instability issues recently with some systems (e.g. internal issue 667) so let's try disabling in the BIOS or blacklisting first before trying to hide potentially relevant error messages.

  4. keqiaozhang commented on Mar 29, 2021

    @keqiaozhang
    ContributorAuthor

    I will try to disable the onboard network port first on TGLH devices.

  5. fredoh9 commented on Mar 31, 2021

    @fredoh9
    Contributor

    @keqiaozhang I used to disable onboard LAN from Intel RVP by BIOS setting,

    • PCH-IO configuration -> PCH LAN controller = Disabled

    I think this worked fine to me.
    If you have different way or see different setting, let me know also.

  6. keqiaozhang commented on Mar 31, 2021

    @keqiaozhang
    ContributorAuthor

    Thanks @fredoh9 ,I think this is the easy way to disable onboard network ports.

  7. mengdonglin commented on Apr 7, 2021

    @mengdonglin
    Contributor

    Disabled the onboard network port first, and replaced with USB network adaptor. This issue has been solved.

  8. fredoh9 commented on May 2, 2023

    @fredoh9
    Contributor

    Don't remember UP Xtreme BIOS has a option to disable on board Ethernet adapters. BTW It was two.
    SOF CI has 6 of TGL Xtreme, keep all BIOS settings same and in sync need some man resource. Filtering out the message is more feasible to me.

    Updated in the PR, but tracking purpose I copy & paste below information.

    ubuntu@sh-tglu-up-hda-05:~$ lspci | grep Ethernet
    00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (13) I219-LM (rev 20)
    2d:00.0 Ethernet controller: Intel Corporation Ethernet Controller (2) I225-IT (rev 03)
    
    ubuntu@jf-tglu-up-hda-03:~$ lspci | grep Ethernet
    00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (13) I219-LM (rev 20)
    02:00.0 Ethernet controller: Intel Corporation Ethernet Controller (2) I225-IT (rev 03)
    
  9. reopened this on May 2, 2023
  10. 6 remaining items

  11. marc-hb commented on May 10, 2023

    @marc-hb
    Collaborator

    This should be enough UNTESTED

    diff --git a/ansible/sof.ci/roles/dut_modprobe_conf/files/blacklist-e1000e.conf b/ansible/sof.ci/roles/dut_modprobe_conf/files/blacklist-e1>
    new file mode 100644
    index 000000000000..8be035bd437f
    --- /dev/null
    +++ b/ansible/sof.ci/roles/dut_modprobe_conf/files/blacklist-e1000e.conf
    @@ -0,0 +1 @@
    +blacklist e1000e
    diff --git a/ansible/sof.ci/roles/dut_modprobe_conf/tasks/main.yml b/ansible/sof.ci/roles/dut_modprobe_conf/tasks/main.yml
    index d4ceba518428..d83d32960c17 100644
    --- a/ansible/sof.ci/roles/dut_modprobe_conf/tasks/main.yml
    +++ b/ansible/sof.ci/roles/dut_modprobe_conf/tasks/main.yml
    @@ -27,6 +27,14 @@
         group: root
         mode: '0644'
       become: true
    +- name: blacklist e1000e
    +  copy:
    +    src: 'files/blacklist-e1000e.conf'
    +    dest: '/etc/modprobe.d/blacklist-e1000e.conf'
    +    owner: root
    +    group: root
    +    mode: '0644'
    +  become: true
     - name: Configure based on model
       include_tasks: '{{ model_task }}'
       with_first_found:
  12. fredoh9 commented on May 16, 2023

    @fredoh9
    Contributor

    Another,
    planresultdetail/25763?model=MTLP_RVP_HDA&testcase=check-suspend-resume-without-audio-20

  13. added
    P2Critical bugs or normal features
    on Jun 22, 2023
  14. fredoh9 commented on Sep 14, 2023

    @fredoh9
    Contributor

    found one more with sh-mtlp-rvp-hda-02
    planresultdetail/31748?model=MTLP_RVP_HDA-ace1_0-ipc4&testcase=check-suspend-resume-50

  15. changed the title [-]Filter out irrelevant e1000e network adapter error.[/-] [+]Filter out irrelevant e1000e network adapter error (Ansible)[/+] on May 1, 2024
  16. changed the title [-]Filter out irrelevant e1000e network adapter error (Ansible)[/-] [+]Filter out irrelevant / blacklist e1000e network adapter error (Ansible)[/+] on May 1, 2024
  17. changed the title [-]Filter out irrelevant / blacklist e1000e network adapter error (Ansible)[/-] [+]Filter out / blacklist irrelevant e1000e network adapter error (Ansible)[/+] on May 1, 2024
  18. added
    P3Low-impact bugs or features
    and removed
    P2Critical bugs or normal features
    on May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featuresarea:AnsibleProblems that Ansible can help witharea:non-audio FailureFalse positives: failing when we don't want to

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions