[BitVisor-devel-en:25] Re: Debugging methods for BitVisor
平野 学
hirano at toyota-ct.ac.jp
Tue Oct 2 22:40:44 JST 2012
Hello,
thank you for your reply.
>> 1) dbgsh
>> I have installed bitvisor 1.3 with DBGSH option. (Other options are all default) I think BitVisor is working fine. However, I cannot use dbgsh program from the guest OS (Ubuntu 12.04LTS and Fedora7). I have tried the dbgsh program both on GUI mode and on CUI mode. When I executed dbgsh program, the program outputs some kind of control characters. It does not show any prompt for BitVisor's debug interface. Is my method to use dbgsh wrong?
>
>I have never seen such behavior. Which version of dbgsh do you use?
>The dbgsh program is updated in version 1.3. The 1.3 dbgsh is in
>tools/dbgsh/ directory, and it works on AMD processors too. The
>interface between the program and the VMM is not changed, so you can
>use an older version of dbgsh on Intel processors.
I am using the dbgsh program in tools/dbgsh/ directory of BitVisor 1.3.
Here is a screenshot of the dbgsh program in a terminal (Ubuntu 12.04 LTS).
http://dl.dropbox.com/u/110035929/dbgsh.PNG
I also tried to use the dbgsh program on BitVisor 1.2.
However, I encountered the same problem.
Is my method to execute the dbgsh program wrong?
My grub launches bitvisor.elf, module1.bin, and module2.bin.
BitVisor launches a guest OS (Ubuntu 12.04 LTS),
then I executed the dbgsh program on the guest OS.
>> 2) RS-232
>> I have also installed bitvisor 1.3 on VMware Workstation 9 with its virtualization supports. BitVisor is working fine on VMware Workstation 9. In the VMware’s settings, I added a "virtual serial port" as a "named pipe". I am using "Named Pipe TCP proxy" software for proxying the named pipe (serial) to TCP. I am also using TeraTerm (Terminal software) to connect the TCP port. As a result, I can see some start-up messages from BitVisor on my TeraTerm program. However, I cannot access BitVisor's
de
>> bug interface. How can I input debug commands from serial port?
>>
>> I am sorry, I am not familiar with debugging methods for system programming.
>
>I have no idea about VMware Workstation, but I have used other VMs.
>QEMU (x86_64) with "-serial stdio" option works very good. VirtualBox
>OSE 3.2.10 (a package in Debian GNU/Linux 6.0) does not support
>virtualization, but serial input/output works while some characters
>are lost.
Thank you, I will try to use QEMU insted of VMware workstation.
>There is an Ethernet tty output option in BitVisor. If you use the
>option with TTY_SERIAL=0, BitVisor will output to a screen and the
>Ethernet, and input from a PS/2 keyboard.
I never realized BitVisor has the Ethernet tty output option for debugging.
I will try this option, too.
Thank you for your help :-)
Best regards,
Manabu
More information about the BitVisor-devel-en
mailing list