Please help me in remote kernel debugging using vmware.
I did the following things:
What should I do now? Please help.
I have also checked the sio drivers but the current version offreebsd FreeBSD seems to be handling this using uart only.
I did the following things:
Code:$ cd /usr/src/sys/i386/conf/ $ cp GENERIC MYKERNEL On your development machine, open the configuration file in your favorite editor (vi): $ vi /usr/src/sys/i386/conf/MYKERNEL Add the following lines, as follows: options ddb #This line will add the debugger into the kernel after the kernel compilation. makeoptions debug = -g #This line will tell the compiler to add debugging information into the new compiled #kernel image, which you are going to put on target machine. in MYKERNEL: makeoptions DEBUG=-g options DDB options GDB Then edit "boot/device.hints": hint.uart.0.flags="0x00080" # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL The host Setup: # cd /usr/obj # mount /remote/usr [CODE]Error: "mount: /remote/usr: unknown special file or file system" target:
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL
# cd /boot/kernel
# strip -x *
# shutdown -r nowCode:Error : unknown file format
[/code]
What should I do now? Please help.
I have also checked the sio drivers but the current version of