Emulator brings x86 Linux apps to ARM devices


Following the advice of linuxbochs, I was able to start heroes 3 using wine 1.6, with sound. Unfortunately, the performance seems to be clearly unsufficient, the sound stutters all the time. Also, it requires 800x600 display and refuses to go fullscreen.

post-1507-0-10803500-1413655689.png


Update:

I made it fullscreen by faking 800x600 resolution in xorg.conf. The game is still unplayabe because army slots in the lower part of the screen are offscreen.

post-1507-0-14725900-1413658678.png


I wish we had xrandr working on Pandora, it would be a quick fix.

141018-200630.png

141018-205210.png
 
Last edited by a moderator:
I got the same error recently. It is fixed by reactivating your copy of exagear: sudo /opt/exagear/bin/actool
Unfortunately this didn't change anything for me.  :(
Sorry to hear that, but there's nothing else I can suggest. Make sure your internet connection is working, try again, restart. Also try to remove the whole exagear installation and start from scratch
 
Tried that out. It doesn't work at all, failing with the following error:


_X11TransSocketUNIXConnect: Can't connect: errno = 2
Couldn't initialize SDL: Couldn't open X11 display
It is worth mentioning that I couldn't patch it to version 1.3.1, the patch would complain about "bad dynamic tag" in elf_get_dynamic_info. Maybe someone could PM me the patched heroes3 executable or a working patch?
 
Last edited by a moderator:
Heroes II is much better suited for Pandora with its 640x480 resolution, but the version I have found is extremely buggy, hanging up at various moments in the game. I will try the one I bought at GOG sometime later...

post-1507-0-50338100-1413670916.png


post-1507-0-93999100-1413671268.png


141019-002106.png

141019-000630.png
 
Last edited by a moderator:
Thank you for your work. Heroes2 is very cool. I asked at the VCMI boards, which are part of the wog community if they know a mod which changes the resolution. There are widescreen mods as far as I know, maybe they are "small" screen mods too. About the performance, Homm3 uses software only rendering or? Did you test it on a CC, Rebirth or Gigahertz Pandora?
 
There are widescreen mods as far as I know, maybe they are "small" screen mods too. About the performance, Homm3 uses software only rendering or? Did you test it on a CC, Rebirth or Gigahertz Pandora?
I have tried HD mod for Heroes3, but it requires 32-bit color for stretch feature to work, otherwise only a fixed set of resolutions (800x600 and above) is supported.

HoMM 2 and 3 use software-only rendering. The performance on my unit (1GHz running at 1.1GHz) is far from 100%, so the sound is distorted. The games themselves are turn-based, so they would remain playable with this performance. I suppose they should be playable on classic pandoras as well.
 
Tried to fire up VVVVVV (2.2) from a desktop install of Steam (mostly as a test since we already have 2.1 atm). Surprisingly it started up just fine, and there wasn't even slowdown (even though it had to fallback to software rendering since there's no openGL). However, no music (as mentioned earlier) -- and more importantly -- no input.

Each time I press a key, I get this: "The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <sdl@libsdl.org> X11 KeyCode 52 (44). X11 KeySym 0x7A (z)." (this is when pressing z, but I get similar messages for *most* other key as well, this doesn't include the d-pad or shoulder buttons as an example of keys not giving the message).

I also get a bunch of these:

(...)

code = 44, scancode = 0x7A (z) scancode not found


code = 45, scancode = 0x78 (x) scancode not found


code = 46, scancode = 0x63 © scancode not found


code = 47, scancode = 0x76 (v) scancode not found

(...)

 

at startup.





Is this a mess up from my side, or something else?
 
Last edited by a moderator:
I got this with SDL2, on the native version. I guess you get the same behavor because the hardware is the same and SDL2 doesn't recognize the keymap.

I had to add a special keymap for the Pandora to make it work (look in the forum, the diff is somewhere, I don't remember where exactly, in the dev. section).

I guess you'll have to compile an x86 version of SDL2 with my changes to make it works.
 
I can't get pulseaudio working for skype. It has dbus in dependencies, and dbus install fails. If I force dpkg to ignore postinstall scripts for dbus,  pulseaudio installs but won't work, failing to open /var/run/dbus/system_bus_socket

Edit: I have created a fake dbus package to satisfy dependencies, and mapped /var/run directory directory between host and guest systems. Now pulseaudio gets connected to dbus, but doesn't see consolekit service it depends on (which is normal, since I didn't map /usr/share/dbus-1 and /etc/dbus-1 directories to host system which physically runs dbus). I wonder if this hack will get me anywhere... Maybe I should just try to install consolekit and pulse in the firmware and make skype use that via dbus.

Here's the fake dbus package if someone wants to play this game.
 

Attachments

  • dbus_1.99_all.deb.gz
    2 KB · Views: 166
Last edited by a moderator:
Hello all,

Today I got Razor1911 "whispers" demo working, with sound. It ran fullspeed at 1.1 GHz

post-1507-0-45707300-1414086015.png


141023-193428.png
 
Last edited by a moderator:
Is that a mono demo (if I interpret background console text correctly)? If that's the case, x86 may not be required (I'm not familiar with this demo).
 
And I'm back. Exagear still doesn't run on my Pandora, but at least the support responded to my email.

Didn't get much out of it yet, but they wanted me to do a stack trace. Since it took them 8 days to respond, I thought it might a good idea to post it to you guys as well to see if you spot any obvious mistakes in my setup.

Code:
alex-pandora:~$ strace exagear
execve("/usr/bin/exagear", ["exagear"], [/* 32 vars */]) = 0
brk(0)                                  = 0xbf000
uname({sys="Linux", node="alex-pandora", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400fa000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/var/run/ld.so.cache", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0xbe944028)      = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/half", 0xbe944028)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbe944028)          = -1 ENOENT (No such file or directory)
open("/lib/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/half", 0xbe944028)     = -1 ENOENT (No such file or directory)
open("/lib/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0xbe944028)          = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult", 0xbe944028)    = -1 ENOENT (No such file or directory)
open("/lib/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/half", 0xbe944028)         = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=3832, ...}) = 0
open("/usr/lib/tls/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0xbe944028)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbe944028)      = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0xbe944028)      = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/half", 0xbe944028)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\334\343"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=259312, ...}) = 0
mmap2(NULL, 292880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4019a000
mprotect(0x401d2000, 28672, PROT_NONE)  = 0
mmap2(0x401d9000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37) = 0x401d9000
mmap2(0x401e1000, 2064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401e1000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\4\t\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9752, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4008f000
mprotect(0x40091000, 28672, PROT_NONE)  = 0
mmap2(0x40098000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40098000
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 &\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=39924, ...}) = 0
mmap2(NULL, 71368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400ca000
mprotect(0x400d4000, 28672, PROT_NONE)  = 0
mmap2(0x400db000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x400db000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\fR\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1168724, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40023000
mmap2(NULL, 1204784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401e2000
mprotect(0x402fb000, 32768, PROT_NONE)  = 0
mmap2(0x40303000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x119) = 0x40303000
mmap2(0x40306000, 8752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40306000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4005e000
syscall_983045(0x4005e4a0, 0x4005e4a0, 0x684, 0x4005eb78, 0x4008e050, 0x4008e000, 0, 0xf0005, 0x50, 0x4008e600, 0xffff5300, 0xbe94478c, 0, 0xbe9445f8, 0x4007a844, 0x4006aff8, 0x20000010, 0x4005e4a0, 0xc488, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x40303000, 8192, PROT_READ)   = 0
mprotect(0x40098000, 4096, PROT_READ)   = 0
mprotect(0x4008d000, 4096, PROT_READ)   = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0xbf000
brk(0xc0000)                            = 0xc0000
brk(0xc1000)                            = 0xc1000
getuid32()                              = 1000
getgid32()                              = 1001
geteuid32()                             = 1000
getegid32()                             = 1001
gettimeofday({1414619264, 260192}, NULL) = 0
brk(0xc2000)                            = 0xc2000
brk(0xc3000)                            = 0xc3000
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40086000
read(3, "MemTotal:         253772 kB\nMemF"..., 1024) = 1024
close(3)                                = 0
munmap(0x40086000, 4096)                = 0
brk(0xc4000)                            = 0xc4000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="alex-pandora", ...}) = 0
stat64("/home/alex", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
getpid()                                = 1730
getppid()                               = 1729
brk(0xc5000)                            = 0xc5000
getpgrp()                               = 1729
rt_sigaction(SIGCHLD, {0x3bce0, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=1437, rlim_max=1437}) = 0
brk(0xc6000)                            = 0xc6000
open("/usr/bin/exagear", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbe9447c4) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#! /bin/bash\n\n#\n# This script st"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x20000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=2484, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0xc7000)                            = 0xc7000
brk(0xc8000)                            = 0xc8000
read(255, "#! /bin/bash\n\n#\n# This script st"..., 2484) = 2484
brk(0xc9000)                            = 0xc9000
brk(0xca000)                            = 0xca000
brk(0xcb000)                            = 0xcb000
brk(0xcc000)                            = 0xcc000
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -867, [1617], SEEK_CUR)    = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1731
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x3bce0, [], 0x4000000 /* SA_??? */}, {0x3bce0, [], 0x4000000 /* SA_??? */}, 8) = 0
close(4)                                = 0
read(3, "/opt/exagear/images/ubuntu-1204l"..., 128) = 35
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1731
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe943d64, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [QUIT BUS FPE KILL USR2 PIPE ALRM TERM STOP TSTP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "\nshell=\"/bin/bash\"\n\nif [ -n \"$SH"..., 2484) = 867
stat64("/opt/exagear/images/ubuntu-1204lts/bin/bash", {st_mode=S_IFREG|0755, st_size=920788, ...}) = 0
geteuid32()                             = 1000
getegid32()                             = 1001
getuid32()                              = 1000
getgid32()                              = 1001
access("/opt/exagear/images/ubuntu-1204lts/bin/bash", X_OK) = 0
stat64("/opt/exagear/images/ubuntu-1204lts/bin/bash", {st_mode=S_IFREG|0755, st_size=920788, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
stat64("/usr/local/sbin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/service", 0xbe944580)  = -1 ENOENT (No such file or directory)
stat64("/sbin/service", 0xbe944580)     = -1 ENOENT (No such file or directory)
stat64("/bin/service", 0xbe944580)      = -1 ENOENT (No such file or directory)
stat64("/usr/bin/X11/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/games/service", 0xbe944580) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
_llseek(255, -339, [2145], SEEK_CUR)    = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1732
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, /usr/bin/exagear: line 76: service: command not found
[{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 1732
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe94423c, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [HUP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "\n(\n  cd ~\n  $ubt --path-prefix $"..., 2484) = 339
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -8, [2476], SEEK_CUR)      = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1733
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, /usr/bin/exagear: line 91:  1734 Killed                  $ubt --path-prefix $image_dir --vpaths-list $vpaths_list -- /bin/echo "Starting the shell in the guest image $image_dir"
Failed to start the shell under ExaGear
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1733
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe9442bc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [HUP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "exit $?\n", 2484)            = 8
io_submit(0x1, 0x1, 0xfbad2088 <unfinished ... exit status 1>
Process 1730 detached
 
You absolutely need a swapfile to run Exagear on a CC. If you don't have one, you'll just get "Killed" when you try to run it.
 
Last edited by a moderator:
Back
Top