hto wrote:coldReactive wrote:I was never able to setup debugging right in Ubuntu with Virtualbox, because lack of forum users that knew how.
Not true.
1. Configure virtual COM1 port, redirect it to a socket. The command looks like this:
- Code: Select all
VBoxManage modifyvm vm1 --uart1 0x3f8 4 --uartmode1 client /tmp/com1
where vm1 should be the name of VM. The list of all created VMs can be viewed with
- Code: Select all
VBoxManage list vms
command.
2. Install socat package.
3. Run
- Code: Select all
socat unix-listen:/tmp/com1 -
command to see debug messages on the screen, or redirect output to a file:
- Code: Select all
socat unix-listen:/tmp/com1 - > com1.log
Run it each time before VirtualBox.
4. Start VM, choose ReactOS (Debug).
VirtualBox can redirect COM port directly into a file, but for some reason it did not work when I tried.
I hate to bump an old topic, but this post was a great help setting it up on Ubuntu (along with this page: http://blog.zerodev.it/index.php/2008/0 ... port-setup)
Combining the two guides, I was able to set up the serial port through the VirtualBox GUI and use "telnet localhost 7777" to get the debug output (instead of having it go to a file). All I needed was socat.