Re: _msgbufp vs msgbufp in the kernel - no symbols for dmesg -N ?

From: Marcin Cieslak <saper_at_saper.info>
Date: Wed, 09 Sep 2026 16:31:08 UTC
On Wed, 9 Sep 2026, Navdeep Parhar wrote:

> On 9/9/26 5:56 AM, Marcin Cieslak wrote:
>> I have noticed that most of the tools like dmesg, vmcore, ps
>> do not seem to work on my amd64 minidump kernel core dumps anymore.
>> 
>> I noticed that those tools expect C-mangled symbol names ("_msgbufp")
>> but they are simply not available:
>> 
>>> dmesg -N /boot/kernel/kernel -M /big/crash/ieee80211_sta_join/vmcore.7
>> dmesg: /boot/kernel/kernel: msgbufp not found
>> 
>> (the message is misleading, dmesg looks for _msgbufp)
>> 
>>> nm /boot/kernel/kernel |grep msgbufp 
>> ffffffff8210b1d0 B msgbufp
>
> What exact revision of main is this?  Do you have cdfc673811ac?

various patches on to of 067ae9850f05a27239c28ae5819e4016e997cff2, will rebase, thank you!

Marcin