Closed nkcr closed 4 years ago
This is a bug with socat
. Downgrading to a slightly earlier version worked with me when I had this problem. 🙂
Great, thank you for the prompt answer :). I made a step forward using socat 1.7.3.4
.
Now this is what I get:
SeaBIOS (version 1.13.0-1ubuntu1)
Booting from ROM...
Welcome to _ __ _____
__ _____ (_) /__ _______ _/ _/ /_
/ // / _ \/ / '_// __/ _ `/ _/ __/
\_,_/_//_/_/_/\_\/_/ \_,_/_/ \__/
Rhea 0.4.0~00bbf2c
fatal error: runtime: cannot reserve arena virtual address space
runtime: use of FixAlloc_Alloc before FixAlloc_Init
fatal error: runtime: internal error
No worries. Looks like you have another different issue on your hands ;).
Closing as issue resolved.
The bug seems to be patched in socat 1.7.4.1
.
" According to the Changelog from socat-1.7.3.4[1] this is a know problem (Under certain circumstances, termios options of the first address were applied to the second address, resulting in error "Inappropriate ioctl for device"). The upstream commit[2] fixes this issue (also released in socat-1.7.3.4).
Thanks, Sascha.
[1] http://www.dest-unreach.org/socat/doc/CHANGES [2] https://repo.or.cz/socat.git/commit/5ebf36038f3960798e769bff5646e755a91a1119 " source: https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1883957
If you are using Ubuntu here are the steps to update it:
- wget http://archive.ubuntu.com/ubuntu/pool/main/s/socat/socat_1.7.4.1-3ubuntu1_amd64.deb
- sudo apt install ./socat_1.7.4.1-3ubuntu1_arm64.deb
More information: https://ubuntu.pkgs.org/21.10/ubuntu-main-amd64/socat_1.7.4.1-3ubuntu1_amd64.deb.html
Trying to use this example with
kraft up -F -p kvm -m x86_64 helloworld-go
from a virtual machine running ubuntu server 20.04.1 I get the following:and
/run/qemu-guest-13551_monitor.socket
does not exist.(if I use the
--background
option, the process is created but I don't know where to get the Unikernel's output)