wiki:KernelDbgVbox

Version 1 (modified by Markus Thielen, 14 years ago) ( diff )

--

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!

Note: See TracWiki for help on using the wiki.