| 1 | = Kernel-Debugging OS/2 as a !VirtualBox Guest = |
| 2 | |
| 3 | With a Linux host and an OS/2 guest in !VirtualBox, the serial terminal für kernel debugging can be established like this: |
| 4 | |
| 5 | == 1st Linux Terminal == |
| 6 | |
| 7 | {{{ |
| 8 | socat UNIX-CONNECT:./os2dbg PTY,link=./os2dbg |
| 9 | }}} |
| 10 | |
| 11 | where ''os2dbg'' is the name of the host pipe file specified in the serial setup dialog of !VirtualBox. |
| 12 | |
| 13 | == 2nd Linux Terminal == |
| 14 | |
| 15 | {{{ |
| 16 | screen -h 400 ./os2dbg |
| 17 | }}} |
| 18 | Again, ''os2dbg'' is the name of the pipe/socket specified in the !VirtualBox serial setup dialog. |
| 19 | |
| 20 | {{{-h}}} specifies the number of lines for the scrollback buffer (history). |
| 21 | Scrolling in the terminal window requires to enter scroll mode: {{{Ctrl-a Esc}}}. |
| 22 | |
| 23 | Off you go! |