I don't know if kdump will work. Last time I tried kexec in VMware it would bomb and lock up the VM. I guess there is a possibility kdump and/or kexec could work with the right settings but I didn't play with it much.
I'm not sure what you're trying to do but VMware does provide the ability to connect gdb to a Linux guest from the host machine. Or at least it did, it has been a long time since I tried it but it worked when I was debugging a kernel module.
I just looked in the VMware knowledge base and couldn't find any new information. This is the old post I got my information from. Also the VMware forum for this type of debugging. I haven't really been paying to attention to what the current status is.
发布评论
评论(1)
不知道kdump能不能用。上次我在 VMware 中尝试 kexec 时,它会轰炸并锁定虚拟机。我想 kdump 和/或 kexec 有可能在正确的设置下工作,但我没有太多地使用它。
我不确定您想要做什么,但 VMware 确实提供了从主机将 gdb 连接到 Linux 来宾的功能。或者至少它做到了,自从我尝试它以来已经很长时间了,但是当我调试内核模块时它起作用了。
我刚刚查看了VMware知识库,没有找到任何新信息。 这是我从中获取信息的旧帖子。还有用于此类调试的 VMware 论坛。我还没有真正关注过目前的状况。
I don't know if kdump will work. Last time I tried kexec in VMware it would bomb and lock up the VM. I guess there is a possibility kdump and/or kexec could work with the right settings but I didn't play with it much.
I'm not sure what you're trying to do but VMware does provide the ability to connect gdb to a Linux guest from the host machine. Or at least it did, it has been a long time since I tried it but it worked when I was debugging a kernel module.
I just looked in the VMware knowledge base and couldn't find any new information. This is the old post I got my information from. Also the VMware forum for this type of debugging. I haven't really been paying to attention to what the current status is.