I really want to solve this problem. I have been sleeping for about 4 o'clock.

Source: Internet
Author: User
I really want to solve this problem. I have been sleeping for about 4 o'clock-Linux general technology-Linux programming and kernel information. here is the details. [I = s] This post was last edited by ac-Loster at, January 30 ,.

I sincerely ask you to solve the problem for me;
Kgdb is used to debug the kernel.
The virtual machine is vm7.1.4, the original kernel is 2.4.20-8, and the debugging kernel is 2.6.15.5.
I used two methods (none of them work ):
(1) compile the kernel 2.6.15.5 on the virtual machine (host), and then make modules; make modules_install; make instal;
Disable the vm, and then choose vm --> clone from the vm menu;
Modify grub. conf on the clone virtual machine, and then restart ......
Then run gdb./vmlinux; set rebotebaud 115200; target remote/dev/ttS1; on the host virtual machine, an error occurs;
(2) choose vm> clone (to get the clone vm)
Then, compile the kernel make bzImage & make modules on the VM, and copy the system and bzImage to the/boot directory of the clone VM,
Then ....

These two methods are all seen on the internet. I tried them, but they are still wrong. please give me some guidance. I am very grateful that my qq account is 411604745.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.