Sysprogs forums › Forums › VisualKernel › LinuxKernelDebugHelper failed to load
Tagged: VisualKernel module not load
- This topic has 6 replies, 2 voices, and was last updated 3 years, 7 months ago by danielhua.
-
AuthorPosts
-
March 31, 2021 at 15:32 #30286danielhuaParticipant
Dear Sir/Madam,
I installed the trial version of VisualKernel on vs2017 and followed the tutorial(https://sysprogs.com/VisualKernel/tutorials/quickdebug/) to do “Quick Debug Linux Kernel” with a vagrant-ubuntu vm as the target machine. It worked fine till step 7, when I clicked the debug to build and install LinuxKernelDebugHelper, it errored on “Loading LinuxKernelDebugHelper” and prompted as “Cannot load LinuxKernelDebugHelper.ko”. I checked the dmesg on the target machine, and there was an error while the module got loaded:
[ 2634.267798] LinuxKernelDebugHelper: module verification failed: signature and/or required key missing – tainting kernel
[ 2634.285642] BUG: kernel NULL pointer dereference, address: 0000000000000100
[ 2634.287434] #PF: supervisor read access in kernel mode
[ 2634.288760] #PF: error_code(0x0000) – not-present page
[ 2634.290146] PGD 0 P4D 0
[ 2634.290842] Oops: 0000 [#1] SMP PTI
[ 2634.291813] CPU: 3 PID: 6076 Comm: insmod Tainted: G OE 5.4.0-70-generic #78-Ubuntu
[ 2634.294135] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 2634.296200] RIP: 0010:strlen+0x0/0x20
[ 2634.297435] Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31[ 2634.302092] RSP: 0018:ffffc01f42943bb8 EFLAGS: 00010202
[ 2634.303562] RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000000
[ 2634.305418] RDX: 0000000000000000 RSI: ffffc01f42943bc8 RDI: 0000000000000100
[ 2634.307239] RBP: ffffc01f42943c08 R08: 0000000000000000 R09: 0000000000800000
[ 2634.309071] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000100
[ 2634.310907] R13: ffff9e9258318fc0 R14: ffffffffc0861080 R15: 0000000000000001
[ 2634.312733] FS: 00007eff261b7540(0000) GS:ffff9e929bb80000(0000) knlGS:0000000000000000
[ 2634.314999] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2634.316661] CR2: 0000000000000100 CR3: 00000000d615e006 CR4: 00000000000606e0
[ 2634.319156] Call Trace:
[ 2634.320022] ? AppendSequentialModuleInfo+0x98/0x10d [LinuxKernelDebugHelper]
[ 2634.322068] ? 0xffffffffc085f000
[ 2634.323179] UpdateGlobalModuleList+0x86/0xe0 [LinuxKernelDebugHelper]
[ 2634.325308] ModuleNotificationCallback+0x122/0x140 [LinuxKernelDebugHelper]
[ 2634.327298] notifier_call_chain+0x55/0x80
[ 2634.328552] blocking_notifier_call_chain+0x50/0x70
[ 2634.330046] do_init_module+0x8c/0x260
[ 2634.331213] load_module+0x11a3/0x12a0
[ 2634.332396] __do_sys_finit_module+0xbe/0x120
[ 2634.333749] ? __do_sys_finit_module+0xbe/0x120
[ 2634.335108] __x64_sys_finit_module+0x1a/0x20
[ 2634.336422] do_syscall_64+0x57/0x190
[ 2634.337921] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2634.339399] RIP: 0033:0x7eff262fc89d
[ 2634.340533] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 f5 0c 00 f7 d8 64 89 01 48[ 2634.345707] RSP: 002b:00007ffe99e0eae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 2634.348001] RAX: ffffffffffffffda RBX: 000055af03ddc7a0 RCX: 00007eff262fc89d
[ 2634.350015] RDX: 0000000000000000 RSI: 000055af03ddc2a0 RDI: 0000000000000003
[ 2634.352019] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffe99e0eca8
[ 2634.354044] R10: 0000000000000003 R11: 0000000000000246 R12: 000055af03ddc2a0
[ 2634.356021] R13: 0000000000000000 R14: 000055af03ddc370 R15: 000055af03ddc2a0
[ 2634.358291] Modules linked in: LinuxKernelDebugHelper(OE) vboxsf(O) md4 cmac cifs libarc4 fscache libdes isofs binfmt_misc dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua input_leds vboxguest(O) video serio_raw sch_fq_codel nfsd auth_rpcgss drm nfs_acl lockd grace sunrpc ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel mptspi scsi_transport_spi mptscsih e1000 aesni_intel crypto_simd cryptd glue_helper mptbase psmouse
[ 2634.372526] CR2: 0000000000000100
[ 2634.373700] —[ end trace de9b175ed6bb1bcd ]—
[ 2634.375200] RIP: 0010:strlen+0x0/0x20
[ 2634.376349] Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31[ 2634.381912] RSP: 0018:ffffc01f42943bb8 EFLAGS: 00010202
[ 2634.383979] RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000000
[ 2634.386671] RDX: 0000000000000000 RSI: ffffc01f42943bc8 RDI: 0000000000000100
[ 2634.389165] RBP: ffffc01f42943c08 R08: 0000000000000000 R09: 0000000000800000
[ 2634.391878] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000100
[ 2634.393913] R13: ffff9e9258318fc0 R14: ffffffffc0861080 R15: 0000000000000001
[ 2634.395881] FS: 00007eff261b7540(0000) GS:ffff9e929bb80000(0000) knlGS:0000000000000000
[ 2634.398601] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2634.400304] CR2: 0000000000000100 CR3: 00000000d615e006 CR4: 00000000000606e0Detailed Ubuntu version info:
vagrant@nitest2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focalWould you let me know how to fix this issue to have LInuxKernelDebugHelper.ko loaded successfully?
Thanks,
Daniel
April 1, 2021 at 18:10 #30292supportKeymasterHi,
No problem, we have reproduced and fixed the issue. Please try updating to VisualKernel 3.1R8 here: https://sysprogs.com/VisualKernel/download/
April 1, 2021 at 20:13 #30294danielhuaParticipantDear Support,
Thanks for responding so quickly. I tried to install the updated VisualKernel 3.1R8 from the link, it seems the issue persists. I got the exactly same error in vs2017 saying “Cannot load LinuxKernelDebugHelper.ko” after the module gets built. And dmesg info indicates the same issue:
[ 2858.804289] LinuxKernelDebugHelper: module verification failed: signature and/or required key missing – tainting kernel
[ 2858.833211] BUG: kernel NULL pointer dereference, address: 0000000000000100
[ 2858.835544] #PF: supervisor read access in kernel mode
[ 2858.837204] #PF: error_code(0x0000) – not-present page
[ 2858.838917] PGD 0 P4D 0
[ 2858.839812] Oops: 0000 [#1] SMP PTI
[ 2858.841013] CPU: 3 PID: 6499 Comm: insmod Tainted: G OE 5.4.0-70-generic #78-Ubuntu
[ 2858.843890] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 2858.846473] RIP: 0010:strlen+0x0/0x20
[ 2858.847711] Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31
[ 2858.853843] RSP: 0018:ffff9e5481eb7bb8 EFLAGS: 00010202
[ 2858.855561] RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000000
[ 2858.857878] RDX: 0000000000000000 RSI: ffff9e5481eb7bc8 RDI: 0000000000000100
[ 2858.859883] RBP: ffff9e5481eb7c08 R08: 0000000000000000 R09: 0000000000800000
[ 2858.861726] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000100
[ 2858.863596] R13: ffff8e5e9ad53660 R14: ffffffffc08ee080 R15: 0000000000000001
[ 2858.865454] FS: 00007fabb6b66540(0000) GS:ffff8e5edbb80000(0000) knlGS:0000000000000000
[ 2858.867747] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2858.869408] CR2: 0000000000000100 CR3: 000000011548c001 CR4: 00000000000606e0
[ 2858.871957] Call Trace:
[ 2858.872853] ? AppendSequentialModuleInfo+0x98/0x10d [LinuxKernelDebugHelper]
[ 2858.874957] ? 0xffffffffc08ec000
[ 2858.876053] UpdateGlobalModuleList+0x86/0xe0 [LinuxKernelDebugHelper]
[ 2858.878032] ModuleNotificationCallback+0x122/0x140 [LinuxKernelDebugHelper]
[ 2858.880268] notifier_call_chain+0x55/0x80
[ 2858.881530] blocking_notifier_call_chain+0x50/0x70
[ 2858.883012] do_init_module+0x8c/0x260
[ 2858.884193] load_module+0x11a3/0x12a0
[ 2858.885388] __do_sys_finit_module+0xbe/0x120
[ 2858.886819] ? __do_sys_finit_module+0xbe/0x120
[ 2858.888357] __x64_sys_finit_module+0x1a/0x20
[ 2858.889689] do_syscall_64+0x57/0x190
[ 2858.891180] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2858.892711] RIP: 0033:0x7fabb6cab89d
[ 2858.893880] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 f5 0c 00 f7 d8 64 89 01 48
[ 2858.899005] RSP: 002b:00007ffdf26c0ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 2858.901294] RAX: ffffffffffffffda RBX: 0000556dd27ca7a0 RCX: 00007fabb6cab89d
[ 2858.903330] RDX: 0000000000000000 RSI: 0000556dd27ca2a0 RDI: 0000000000000003
[ 2858.905358] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffdf26c0ea8
[ 2858.907352] R10: 0000000000000003 R11: 0000000000000246 R12: 0000556dd27ca2a0
[ 2858.909733] R13: 0000000000000000 R14: 0000556dd27ca370 R15: 0000556dd27ca2a0
[ 2858.912085] Modules linked in: LinuxKernelDebugHelper(OE) vboxsf(O) md4 cmac cifs libarc4 fscache libdes isofs binfmt_misc dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua input_leds vboxguest(O) serio_raw video sch_fq_codel nfsd auth_rpcgss nfs_acl lockd grace drm sunrpc ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel mptspi scsi_transport_spi crypto_simd mptscsih cryptd glue_helper psmouse e1000 mptbase
[ 2858.926282] CR2: 0000000000000100
[ 2858.927430] —[ end trace a83e2daecf38b983 ]—
[ 2858.928882] RIP: 0010:strlen+0x0/0x20
[ 2858.930039] Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31
[ 2858.959458] RSP: 0018:ffff9e5481eb7bb8 EFLAGS: 00010202
[ 2858.961055] RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000000
[ 2858.963138] RDX: 0000000000000000 RSI: ffff9e5481eb7bc8 RDI: 0000000000000100
[ 2858.965197] RBP: ffff9e5481eb7c08 R08: 0000000000000000 R09: 0000000000800000
[ 2858.967300] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000100
[ 2858.969330] R13: ffff8e5e9ad53660 R14: ffffffffc08ee080 R15: 0000000000000001
[ 2858.971707] FS: 00007fabb6b66540(0000) GS:ffff8e5edbb80000(0000) knlGS:0000000000000000
[ 2858.974237] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2858.976003] CR2: 0000000000000100 CR3: 000000011548c001 CR4: 00000000000606e0I also tried uninstall and then install the latest Visualkernel, nothing changes. Please help check if the new installer contains the fix for this issue.
Thanks,
Daniel
April 1, 2021 at 20:17 #30295supportKeymasterWe have rechecked it. Please try restarting the target and clearing the /tmp directory if it contained the previous version of LinuxKernelDebugHelper.
If it doesn’t help, please double-check that the SequentialModuleInfo.c file copied to the target contains the USE_NEW_MODULE_ATTRIBUTE_LAYOUT check and that the check is enabled when building on your kernel (e.g. add an #else \\ #error Unexpected ) after the Linux kernel version check.
If it doesn’t help either, please let us know the output of running the “uname -a” command on the target machine.
April 1, 2021 at 20:48 #30296danielhuaParticipantCorrect, it was because my ubuntu kernel version is 5.4.0
vagrant@nitest2:/tmp/LinuxKernelDebugHelper-76b64643-3d2f-4153-867c-af871a16d872$ uname -a
Linux nitest2 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxAfter I change the version check to enable the USE_NEW_MODULE_ATTRIBUTE_LAYOUT check for 5.4.0 and rebuilt the kernel module, it could be loaded successfully (I will need to copy it from the tmp and reboot vm to load it manually). But there is still error when I tried to proceed in vs2017, it seems to skip the build and load LinuxKernelDebugHelper steps and still errors as “Failed to start GDB session, No such host is known“, do you think it is the same issue or a different one?
(gdb begin)
— GDB Session —
Your VisualKernel trial expires in 29 days!
-file-exec-and-symbols “C:\\Program\ Files\ \(x86\)\\Sysprogs\\VisualKernel\\KernelTools\\amd64\\dummy\.elf”
=thread-group-added,id=”i1″
~”GNU gdb (GDB) 8.0.1\n”
~”Copyright (C) 2017 Free Software Foundation, Inc.\n”
~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \”show copying\”\nand \”show warranty\” for details.\n”
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
~”This GDB was configured as \”–host=i686-w64-mingw32 –target=x86_64-linux-gnu\”.\nType \”show configuration\” for configuration details.”
This GDB was configured as “–host=i686-w64-mingw32 –target=x86_64-linux-gnu”.
Type “show configuration” for configuration details.
~”\nFor bug reporting instructions, please see:\n”
~”<http://www.gnu.org/software/gdb/bugs/>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”.\n”
^done
add-symbol-file c:/KernelCache/5.4.0-70-generic_0.kernel/vmlinux-5.4.0-70-generic 0xffffffffa8200000 -s .notes 0xffffffffa9000eb4 -s __ex_table 0xffffffffa90010a0 -s .rodata 0xffffffffa9200000 -s .pci_fixup 0xffffffffa967bd80 -s .tracedata 0xffffffffa967eeb0 -s __ksymtab 0xffffffffa967ef28 -s __ksymtab_gpl 0xffffffffa968ef54 -s __kcrctab 0xffffffffa969fa84 -s __kcrctab_gpl 0xffffffffa96a4fe8 -s __ksymtab_strings 0xffffffffa96aa8f8 -s __init_rodata 0xffffffffa96e0580 -s __param 0xffffffffa96e0810 -s __modver 0xffffffffa96e3ee0 -s .data 0xffffffffa9800000 -s __bug_table 0xffffffffa9a58040 -s .vvar 0xffffffffa9a6e000 -s .data..percpu 0x0 -s .init.text 0xffffffffa9a9d000 -s .init.data 0xffffffffa9b2a000 -s .x86_cpu_dev.init 0xffffffffa9cefd78 -s .parainstructions 0xffffffffa9cefda0 -s .altinstructions 0xffffffffa9d10bf0 -s .iommu_table 0xffffffffa9d16f80 -s .apicdrivers 0xffffffffa9d17098 -s .exit.text 0xffffffffa9d170d8 -s .smp_locks 0xffffffffa9d1a000 -s .data_nosave 0xffffffffa9d24000 -s .bss 0xffffffffa9d25000 -s .brk 0xffffffffaa200000 -s .init.scratch 0xffffffffaa400000
&”add-symbol-file c:/KernelCache/5.4.0-70-generic_0.kernel/vmlinux-5.4.0-70-generic 0xffffffffa8200000 -s .notes 0xffffffffa9000eb4 -s __ex_table 0xffffffffa90010a0 -s .rodata 0xffffffffa9200000 -s .pci_fixup 0xffffffffa967bd80 -s .tracedata 0xffffffffa967eeb0 -s __ksymtab 0xffffffffa967ef28 -s __ksymtab_gpl 0xffffffffa968ef54 -s __kcrctab 0xffffffffa969fa84 -s __kcrctab_gpl 0xffffffffa96a4fe8 -s __ksymtab_strings 0xffffffffa96aa8f8 -s __init_rodata 0xffffffffa96e0580 -s __param 0xffffffffa96e0810 -s __modver 0xffffffffa96e3ee0 -s .data 0xffffffffa9800000 -s __bug_table 0xffffffffa9a58040 -s .vvar 0xffffffffa9a6e000 -s .data..percpu 0x0 -s .init.text 0xffffffffa9a9d000 -s .init.data 0xffffffffa9b2a000 -s .x86_cpu_dev.init 0xffffffffa9cefd78 -s .parainstructions 0xffffffffa9cefda0 -s .altinstructions 0xffffffffa9d10bf0 -s .iommu_table 0xffffffffa9d16f80 -s .apicdrivers 0xffffffffa9d17098 -s .exit.text 0xffffffffa9d170d8 -s .smp_locks 0xffffffffa9d1a000 -s .data_nosave 0xffffffffa9d24000 -s .bss 0xffffffffa9d25000 -s .brk 0xffffffffaa200000 -s .init.scratch 0xffffffffaa400000\n”
~”add symbol table from file \”c:/KernelCache/5.4.0-70-generic_0.kernel/vmlinux-5.4.0-70-generic\” at\n”
~”\t.text_addr = 0xffffffffa8200000\n”
~”\t.notes_addr = 0xffffffffa9000eb4\n”
~”\t__ex_table_addr = 0xffffffffa90010a0\n”
~”\t.rodata_addr = 0xffffffffa9200000\n”
~”\t.pci_fixup_addr = 0xffffffffa967bd80\n”
~”\t.tracedata_addr = 0xffffffffa967eeb0\n”
~”\t__ksymtab_addr = 0xffffffffa967ef28\n”
~”\t__ksymtab_gpl_addr = 0xffffffffa968ef54\n”
~”\t__kcrctab_addr = 0xffffffffa969fa84\n”
~”\t__kcrctab_gpl_addr = 0xffffffffa96a4fe8\n”
~”\t__ksymtab_strings_addr = 0xffffffffa96aa8f8\n”
~”\t__init_rodata_addr = 0xffffffffa96e0580\n”
~”\t__param_addr = 0xffffffffa96e0810\n”
~”\t__modver_addr = 0xffffffffa96e3ee0\n”
~”\t.data_addr = 0xffffffffa9800000\n”
~”\t__bug_table_addr = 0xffffffffa9a58040\n”
~”\t.vvar_addr = 0xffffffffa9a6e000\n”
~”\t.data..percpu_addr = 0x0\n”
~”\t.init.text_addr = 0xffffffffa9a9d000\n”
~”\t.init.data_addr = 0xffffffffa9b2a000\n”
~”\t.x86_cpu_dev.init_addr = 0xffffffffa9cefd78\n”
~”\t.parainstructions_addr = 0xffffffffa9cefda0\n”
~”\t.altinstructions_addr = 0xffffffffa9d10bf0\n”
~”\t.iommu_table_addr = 0xffffffffa9d16f80\n”
~”\t.apicdrivers_addr = 0xffffffffa9d17098\n”
~”\t.exit.text_addr = 0xffffffffa9d170d8\n”
~”\t.smp_locks_addr = 0xffffffffa9d1a000\n”
~”\t.data_nosave_addr = 0xffffffffa9d24000\n”
~”\t.bss_addr = 0xffffffffa9d25000\n”
~”\t.brk_addr = 0xffffffffaa200000\n”
~”\t.init.scratch_addr = 0xffffffffaa400000\n”
~”(y or n) [answered Y; input not from terminal]\n”
~”Reading symbols from c:/KernelCache/5.4.0-70-generic_0.kernel/vmlinux-5.4.0-70-generic…”
~”done.\n”
-gdb-version
^done
~”GNU gdb (GDB) 8.0.1\n”
~”Copyright (C) 2017 Free Software Foundation, Inc.\n”
~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \”show copying\”\nand \”show warranty\” for details.\n”
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
~”This GDB was configured as \”–host=i686-w64-mingw32 –target=x86_64-linux-gnu\”.\nType \”show configuration\” for configuration details.”
This GDB was configured as “–host=i686-w64-mingw32 –target=x86_64-linux-gnu”.
Type “show configuration” for configuration details.
~”\nFor bug reporting instructions, please see:\n”
~”<http://www.gnu.org/software/gdb/bugs/>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”.\n”
^done
-list-features
^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”]
-gdb-set disassembly-flavor intel
^done
-gdb-set print demangle off
^done
info target
&”info target\n”
~”Symbols from \”C:\\Program Files (x86)\\Sysprogs\\VisualKernel\\KernelTools\\amd64\\dummy.elf\”.\n”
^done— Linux 5.4.0-70-generic —
VisualKernel has hooked printk() and will display its output in this window.
You can disable this in VisualKernel Project Properties.I am looking forward to testing your new installer with the change and hopefully it fixes the issue and would allow me do some kernel debugging.
Thanks,
Daniel
April 2, 2021 at 09:47 #30299supportKeymasterThanks, we have confirmed that the new module attribute layout is also used in the 5.4 kernel branch after the v5.4.52 release. We have updated the check accordingly. Please try downloading the new installer.
The “no such host is known” error typically means that the machine running GDB cannot resolve the host name of the target. The easiest way to work around it would be to use IP addresses instead of host names in the settings.
If it doesn’t help, please share the screenshot of the error message you get, and any diagnostic logs or traces shown in it, and we will help you resolve it.
April 5, 2021 at 13:58 #30306danielhuaParticipantCool, thanks for the quick fix. It seems the issue is fixed in the latest installer and it starts working, I will try and play with it more. Appreciate it!
-Daniel
-
AuthorPosts
- You must be logged in to reply to this topic.