[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87e4b093-39a0-4765-8fda-dcf8615c7dd3@gmail.com>
Date: Wed, 30 Jul 2025 13:51:01 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: _ <j9@...ip.com>, netdev@...r.kernel.org
Subject: Re: no printk output in dmesg
On 7/29/25 16:26, _ wrote:
> Hi
>
> In "stmmac_main.c", in function "stmmac_dvr_probe", after probing is
> done and "ret = register_netdev(ndev);" is successfully executed I try this
>
> netdev_info(priv->dev, "%s:%d", __func__, __LINE__);
> netdev_alert(priv->dev, "%s:%d", __func__, __LINE__);
> printk(KERN_ALERT "%s : %d", __func__, __LINE__);
>
> But in kernel buffer there is no messages from these 3 function calls
>
> Any suggestions how to make printing work and why these are skipped ?
Are you sure that the kernel sources that you modified and compiled
correspond to the kernel image you are running?
--
Florian
Powered by blists - more mailing lists