wiki:KernelDbgVbox

Kernel-Debugging OS/2 as a VirtualBox Guest

With a Linux host and an OS/2 guest in VirtualBox, the serial terminal für kernel debugging can be established like this:

1st Linux Terminal

socat UNIX-CONNECT:./os2dbg PTY,link=./os2dbg 

where os2dbg is the name of the host pipe file specified in the serial setup dialog of VirtualBox.

2nd Linux Terminal

screen -h 400 ./os2dbg

Again, os2dbg is the name of the pipe/socket specified in the VirtualBox serial setup dialog.

-h specifies the number of lines for the scrollback buffer (history). Scrolling in the terminal window requires to enter scroll mode: Ctrl-a Esc.

Off you go!

Last modified 13 years ago Last modified on May 16, 2011, 9:46:16 AM