Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard boot failure #128

Open
essen opened this issue Aug 14, 2015 · 3 comments
Open

Hard boot failure #128

essen opened this issue Aug 14, 2015 · 3 comments

Comments

@essen
Copy link

essen commented Aug 14, 2015

Built with make ARCH=posix and then a plain ./railing/railing image:

$ ./ling.img
{error_logger,{{2015,8,14},{14,8,0}},[42,42,32,71,101,110,101,114,105,99,32,115,101,114,118,101,114,32,126,112,32,116,101,114,109,105,110,97,116,105,110,103,32,10,42,42,32,76,97,115,116,32,109,101,115,115,97,103,101,32,105,110,32,119,97,115,32,126,112,126,110,42,42,32,87,104,101,110,32,83,101,114,118,101,114,32,115,116,97,116,101,32,61,61,32,126,112,126,110,42,42,32,82,101,97,115,111,110,32,102,111,114,32,116,101,114,109,105,110,97,116,105,111,110,32,61,61,32,126,110,42,42,32,126,112,126,110],[9p_mounter,{'$gen_cast',{9p_attached,<0.25.0>,1,<<"/kernel">>,dir}},{st,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{13,<0.25.0>,<<"/stdlib">>,[<<"erlang">>,<<"lib">>,<<"stdlib-2.4">>,<<"ebin">>]},{14,<0.25.0>,<<"/asn1">>,[<<"ling">>,<<"apps">>,<<"asn1">>,<<"ebin">>]},{15,<0.25.0>,<<"/crypto">>,[<<"ling">>,<<"apps">>,<<"crypto">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]},{17,<0.25.0>,<<"/os_mon">>,[<<"ling">>,<<"apps">>,<<"os_mon">>,<<"ebin">>]},{18,<0.25.0>,<<"/stdlib">>,[<<"ling">>,<<"apps">>,<<"stdlib">>,<<"ebin">>]},{19,<0.25.0>,<<"/test">>,[<<"ling">>,<<"test">>,<<"ebin">>]}],[{sync,#Ref<local.0.0.16>,<0.10.0>}],[{11,[<<"boot">>],<0.25.0>,0,dir}],10,20,none},{{badmatch,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]}]},[{9p_mounter,handle_cast,2,[{file,"apps/kernel/src/9p_mounter.erl"},{line,357}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}]}
{error_logger,{{2015,8,14},{14,8,0}},crash_report,[[{initial_call,{9p_mounter,init,['Argument__1']}},{pid,<0.24.0>},{registered_name,9p_mounter},{error_info,{exit,{{badmatch,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]}]},[{9p_mounter,handle_cast,2,[{file,"apps/kernel/src/9p_mounter.erl"},{line,357}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]},[]}},{ancestors,[kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.10.0>,<0.25.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,2053},{stack_size,27},{reductions,256}],[]]}
{error_logger,{{2015,8,14},{14,8,0}},[42,42,32,71,101,110,101,114,105,99,32,115,101,114,118,101,114,32,126,112,32,116,101,114,109,105,110,97,116,105,110,103,32,10,42,42,32,76,97,115,116,32,109,101,115,115,97,103,101,32,105,110,32,119,97,115,32,126,112,126,110,42,42,32,87,104,101,110,32,83,101,114,118,101,114,32,115,116,97,116,101,32,61,61,32,126,112,126,110,42,42,32,82,101,97,115,111,110,32,102,111,114,32,116,101,114,109,105,110,97,116,105,111,110,32,61,61,32,126,110,42,42,32,126,112,126,110],[<0.25.0>,{'EXIT',<0.24.0>,{{badmatch,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]}]},[{9p_mounter,handle_cast,2,[{file,"apps/kernel/src/9p_mounter.erl"},{line,357}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}},{st,<0.20.0>,9p_zero,9p_zero,9p_zero,undefined,undefined,true,e,8192,<<"root">>,0,<<"/">>,0,0,undefined,undefined,normal,9p_mounter,undefined,ok,[<<"/boot">>,<<"/kernel">>,<<"/stdlib">>,<<"/asn1">>,<<"/crypto">>,<<"/kernel">>,<<"/os_mon">>,<<"/stdlib">>,<<"/test">>],[1,0],[1,0],9,[],9,[{8,none,{tattach,8,8,4294967295,<<>>,<<"/test">>}},{7,none,{tattach,7,7,4294967295,<<>>,<<"/stdlib">>}},{6,none,{tattach,6,6,4294967295,<<>>,<<"/os_mon">>}},{5,none,{tattach,5,5,4294967295,<<>>,<<"/kernel">>}},{4,none,{tattach,4,4,4294967295,<<>>,<<"/crypto">>}},{3,none,{tattach,3,3,4294967295,<<>>,<<"/asn1">>}},{2,none,{tattach,2,2,4294967295,<<>>,<<"/stdlib">>}}],[]},{{badmatch,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]}]},[{9p_mounter,handle_cast,2,[{file,"apps/kernel/src/9p_mounter.erl"},{line,357}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}]}
{error_logger,{{2015,8,14},{14,8,0}},crash_report,[[{initial_call,{9p,init,['Argument__1']}},{pid,<0.25.0>},{registered_name,[]},{error_info,{exit,{{badmatch,[{12,<0.25.0>,<<"/kernel">>,[<<"erlang">>,<<"lib">>,<<"kernel-3.2">>,<<"ebin">>]},{16,<0.25.0>,<<"/kernel">>,[<<"ling">>,<<"apps">>,<<"kernel">>,<<"ebin">>]}]},[{9p_mounter,handle_cast,2,[{file,"apps/kernel/src/9p_mounter.erl"},{line,357}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]},[]}},{ancestors,[9p_mounter,kernel_sup,<0.9.0>]},{messages,[{9p_zero,<0.20.0>,{rattach,2,<<128,0,0,0,0,0,0,0,0,0,0,0,0>>}}]},{links,[]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,2420},{stack_size,27},{reductions,287}],[]]}
@EarlGray
Copy link
Contributor

railing is meant to be run from within its own directory.

Typical usage is:

$ cd railing && ./railing image

or

$ mkdir ling
$ cp /path/to/railing ling/
$ cd ling && ./railing image

Anyway, we're working on this

@essen
Copy link
Author

essen commented Aug 14, 2015

Ah that's better. Works now. :-)

@proger
Copy link
Member

proger commented Aug 14, 2015

It's not exactly intuitive — is it possible to make it agnostic of current directory? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants