Skip to content

trace_printk usage in igc_main.c and stmmac_main.c cause kernel notice #73

Description

@pfink-christ

Hi, we are using yocto with meta-intel on master with linux-intel v6.12.16 and get the following notice when intel igc module is loaded:

[    5.182021] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[    5.187270] **                                                      **
[    5.193870] ** trace_printk() being used. Allocating extra memory.  **
[    5.200139] **                                                      **
[    5.205388] ** This means that this is a DEBUG kernel and it is     **
[    5.210685] ** unsafe for production use.                           **
[    5.217280] **                                                      **
[    5.223921] ** If you see this message and you are not debugging    **
[    5.230512] ** the kernel, report this immediately to your vendor!  **
[    5.237139] **                                                      **
[    5.249163] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[    5.260309] **********************************************************
[    5.276402] Intel(R) 2.5G Ethernet Linux Driver

Same on lts-v6.12.17-linux-250228T052357Z and 6.12/linux.

a4f7d08 is the origin of the problem. This commit was introduced 4 years ago as a temporary mechanism to log tx timestamps.

kernel.org does not have this commit and therefore does not print this message.

Who needs these timestamps? Or should it rather be removed from a lts kernel branch?

Thanks in advance
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions