Sysprogs forums › Forums › VisualKernel › LinuxKernelDebugHelper Module failed on Kernel 6.8
- This topic has 6 replies, 3 voices, and was last updated 1 day, 1 hour ago by
support.
-
AuthorPosts
-
April 18, 2025 at 14:47 #36559
soroshsabz
ParticipantITNOA
Hi,
I have VisualKernel 4.1r3 and I want to test kernel module (Hello World based on Your extension plugin), but I see below error message
Run "make -C "/lib/modules/6.8.0-57-generic/build" M="/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70" modules DISABLE_LIVE_MEMORY_ENGINE=1" in directory "" on local computer
--------------------------
make: Entering directory '/usr/src/linux-headers-6.8.0-57-generic'
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/AppendableBuffer.o
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.o
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.o
make: Leaving directory '/usr/src/linux-headers-6.8.0-57-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:56:7: warning: no previous prototype for ‘LookupSymbolByName’ [-Wmissing-prototypes]
56 | void *LookupSymbolByName(const char *name)
| ^~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:96:36: warning: no previous prototype for ‘UpdateGlobalModuleList’ [-Wmissing-prototypes]
96 | struct SequentialModuleListHeader *UpdateGlobalModuleList(struct list_head *pModules)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:132:28: warning: no previous prototype for ‘OnGlobalModuleListUpdateStarted’ [-Wmissing-prototypes]
132 | void __attribute__((weak)) OnGlobalModuleListUpdateStarted(void) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:133:28: warning: no previous prototype for ‘OnGlobalModuleListUpdateFinished’ [-Wmissing-prototypes]
133 | void __attribute__((weak)) OnGlobalModuleListUpdateFinished(const struct SequentialModuleListHeader *modules, struct module *module, enum module_state state) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c: In function ‘AppendSequentialModuleInfo’:
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:64:28: error: ‘struct module’ has no member named ‘module_core’
64 | rec.pBase = pModule->module_core;
| ^~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:65:27: error: ‘struct module’ has no member named ‘core_size’
65 | rec.Size = pModule->core_size;
| ^~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c: At top level:
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:91:5: warning: no previous prototype for ‘GetModuleSectionCount’ [-Wmissing-prototypes]
91 | int GetModuleSectionCount(struct module *module)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:99:6: warning: no previous prototype for ‘GetModuleSectionInfo’ [-Wmissing-prototypes]
99 | bool GetModuleSectionInfo(struct module *module, int sectionNumber, const char **name, void **loadAddr)
| ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:243: /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.8.0-57-generic/Makefile:1925: /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70] Error 2
make: *** [Makefile:240: __sub-make] Error 2
--------------------------
Command exited with code 2
I use Ubuntu 24.04.1 and Visual Studio 2022
April 18, 2025 at 14:52 #36560soroshsabz
ParticipantAnother problem, that I want to know why below warning exists? any missing? How to resolve this warnings?
warning: no previous prototype for ‘LookupSymbolByName’ [-Wmissing-prototypes]
Thanks 🙂
April 19, 2025 at 10:07 #36575support
KeymasterThanks for reporting this. We will monitor the feedback from our paid users, and will consider investigating it further if they confirm it.
April 22, 2025 at 07:45 #36582soroshsabz
ParticipantWhy you need to confirm this problem by other? if you want any information or additional data, I can provide to you
April 22, 2025 at 08:27 #36584support
KeymasterSorry, based on what we see, you do not have a valid license and tried tampering with the activation system. We will not be able to help you.
July 1, 2025 at 00:16 #36753richardhsu
ParticipantI also meet this issue in VisualKernel-4.1r3-trial.And i find that module_core and core_size members didn’t defined in module.h, But they existed in older kernel. How can i fix it ?or i buy VisualKernel with license that can fix these issues.
thank you!
July 2, 2025 at 20:44 #36756support
KeymasterHi,
Unfortunately, we do not see enough demand for Visual Studio-based kernel development anymore. Many company users moved to developing from Linux directly, and hobbyists typically manage to get things done during the trial period, and cannot justify getting a license. Hence, we will only update VisualKernel once our new cross-platform IDE framework is mature enough to support kernel tracing and debugging directly on Linux.
If your team is interested in using VisualKernel with Visual Studio, feel free to contact us from your work email address with a brief description of your project and the features you are interested in, and we can discuss possible options.
-
AuthorPosts
- You must be logged in to reply to this topic.