Hi Takumi,
On Tuesday, 05.05.2015 at 18:16, Takumi Shimada wrote:
> Hi all,
>
> I'm Takumi Shimada.
> I became interested in the rumpkernel a few days ago.
>
> I'm trying to build the rumpkernel for xen on Ubuntu 14.04 (64bit).
> The build was success. But I executed the test/hello, the error occurred as
> follow:
[snip]
> === calling "rumprun-xen" main() ===
>
> rumprun: rumprun_test: unable to open data device: No such file or directory
>
> === ERROR: _exit(1) called ===
The test programs in the tests/ directory use a block device to communicate
the "test result" back to the host. Not ideal, but the most straightforward
way to do things now.
If you just want to experiment with simple programs, any standard C program
will do, e.g.
----
#include <stdio.h>
#include <unistd.h>
int main()
{
printf("Hello, World!\n");
return 0;
}
----
Build with: rumprun-xen-cc -o hello hello.c
Run with: rumprun xen -i ./hello
> assertion "rumprun_done > 0" failed: file
> "/home/garasubo/workspace/rumprun/lib/librumprun_base/rumprun.c", line 193,
> function "rumprun_wait"
> rumprun: call to ``_sys___sigprocmask14'' ignored
> _lwpabort() called
>
> === ERROR: _exit(1) called ===
> panic: releasing non-pertinent lwp
I'm not sure what this and the following panic is about. Antti?
> rump kernel halting...
> halted
> PANIC: rumpuser panic
> minios: halting, reason=0
-mato