Page 1 of 1

Cannot use kbd> on VirtualBox running on Linux

Posted: Sat Mar 29, 2014 5:22 am
by paul
Once at the kbd> prompt, I cannot send my keystroke to the VM while using socat to show the log.
Even if I boot ReactOS (RosDbg)... ReactOS (Debug) should have this problem I think.

I use:
paul@chibouli:~$ socat unix-client:/tmp/ReactOS-Debug.pipe stdin

[Tab K to force the debugger]
fixme:shell:OnNotify LVN_KEYDOWN key=0x00000009
fixme:shell:OnNotify LVN_KEYDOWN key=0x00000009
fixme:shell:OnNotify LVN_KEYDOWN key=0x0000004b

Entered debugger on embedded INT3 at 0x0008:0x80957462.
kdb:> bt
bt

Do you have a magic socat line that would work?
Or maybe just an other application.

Re: Cannot use kbd> on VirtualBox running on Linux

Posted: Sat Mar 29, 2014 6:11 am
by paul
The best option is already documented in https://www.reactos.org/wiki/VirtualBox
minicom with serial port set to unix#/tmp/ReactOS-Debug.pipe
Then you can use Ctrl-A Z to get list of commands.
Most usefull Ctrl-A L to log to a file.
When finished, redo Ctrl-A L to close the file.

Ok I found something that works at: http://automatthias.wordpress.com/2008/ ... irtualbox/

First I now use /tmp/allo for the pipe created in Virtuabox.

Next in one terminal I do:
$ socat UNIX-CONNECT:/tmp/allo PTY,link=/tmp/alloah

In an other terminal I do:
$ screen /tmp/alloah

To exit screen:
Ctrl-A Ctrl-D

Re: Cannot use kbd> on VirtualBox running on Linux

Posted: Sat Mar 29, 2014 11:36 pm
by Black_Fox
The second post means you succeeded eventually or that more attempts failed? To me it seems optimisic, but I'm not sure.

Re: Cannot use kbd> on VirtualBox running on Linux

Posted: Sun Mar 30, 2014 1:02 am
by paul
Everything in second post was tested and worked for me.