Re: [osv-dev] OSv boots and runs simple hello world on Firecracker ARM edition ... on Raspberry PI 4

2020-05-21 Thread Roman Shaposhnik
This is super awesome, Waldek! I'm now inspired to run OSv as a VM backed by Firecracker on Project EVE/RPi! ;-) Btw, can you share your osv-config.json and also details of what version of Firecracker you used? Better yet -- if there's a github repo with all the bits and pieces required to

Re: [osv-dev] OSv boots and runs simple hello world on Firecracker ARM edition ... on Raspberry PI 4

2020-05-21 Thread Pekka Enberg
On Fri, May 22, 2020 at 12:26 AM Dor Laor wrote: > Kudos Waldek! > Indeed, nice work! - Pekka -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [osv-dev] OSv boots and runs simple hello world on Firecracker ARM edition ... on Raspberry PI 4

2020-05-21 Thread Dor Laor
Kudos Waldek! On Thu, May 21, 2020 at 1:58 PM Waldek Kozaczuk wrote: > > *ubuntu@ubuntu-rasp4*:*~*$ uname -a > > Linux ubuntu-rasp4 5.3.0-1025-raspi2 #27-Ubuntu SMP Fri May 8 08:32:04 > UTC 2020 aarch64 aarch64 aarch64 GNU/Linux > > *ubuntu@ubuntu-rasp4*:*~*$ ./firecracker-v0.21.1-aarch64

[osv-dev] OSv boots and runs simple hello world on Firecracker ARM edition ... on Raspberry PI 4

2020-05-21 Thread Waldek Kozaczuk
*ubuntu@ubuntu-rasp4*:*~*$ uname -a Linux ubuntu-rasp4 5.3.0-1025-raspi2 #27-Ubuntu SMP Fri May 8 08:32:04 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux *ubuntu@ubuntu-rasp4*:*~*$ ./firecracker-v0.21.1-aarch64 --no-api --config-file ./osv-config.json OSv v0.55.0-9-g840428ad PSCI: version

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
On Thu, May 21, 2020 at 3:40 PM wrote: > Hi, thanks for the prompt replies. I was just typing up a long response > (and ended up suspecting similar culprits) until I noticed there were 2 new > replies. Thanks for looking into it. > I'm guessing this means it is more or less impossible to use the

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread f1r3flyp1l0t
Hi, thanks for the prompt replies. I was just typing up a long response (and ended up suspecting similar culprits) until I noticed there were 2 new replies. Thanks for looking into it. I'm guessing this means it is more or less impossible to use the pxz application, unless I rewrite the source

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
I think this code in the app might explain this huge malloc: lzma_options_lzma lzma_options; xzcmd_max = sysconf(_SC_ARG_MAX); page_size = sysconf(_SC_PAGE_SIZE); xzcmd = malloc(xzcmd_max); On Thursday, May 21, 2020 at 3:16:29 PM UTC-4, Waldek Kozaczuk wrote: > > I connected with gdb and here

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
I connected with gdb and here is stacktrace I got for the main app thread: #0 sched::thread::switch_to (this=this@entry=0x801d1040) at arch/x64/arch-switch.hh:108 #1 0x4040dace in sched::cpu::reschedule_from_interrupt (this=0x8001e040,

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Nadav Har'El
On Thu, May 21, 2020 at 12:46 PM De Vries wrote: > Hi, > > Sorry if this is a bit of a newbie question. I'm trying to run a pretty > simple application on OSv: pxz . I'm able > to run other apps like mysql for example without any problem. > I have tried this the

[osv-dev] New user: trouble running a simple program

2020-05-21 Thread De Vries
Hi, Sorry if this is a bit of a newbie question. I'm trying to run a pretty simple application on OSv: pxz . I'm able to run other apps like mysql for example without any problem. I have tried this the following way. First, I compiled the pxz executable with the