From: Philippe Gerum <rpm@xenomai.org>
To: Helder Daniel <hdaniel@ualg.pt>
Cc: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: Re: [Xenomai] Xenomai/cobalt: low_init(): binding failed: Function not implemented error issued when trting to run latency app on xeno 3.x-rc3
Date: Wed, 04 Mar 2015 09:40:47 +0100 [thread overview]
Message-ID: <54F6C50F.5040301@xenomai.org> (raw)
In-Reply-To: <CAKk99t0Xh01uxG7jd=oEDD71LBHvTnbCnejwiP2bzGN63Yo-ZA@mail.gmail.com>
On 03/03/2015 09:38 PM, Helder Daniel wrote:
> Done that:
>
> $> sudo pkill sysregd
>
> $> sudo ps aux | grep sysregd
> user 4045 0.0 0.1 3796 800 pts/1 S+ 20:30 0:00 grep
> sysregd
>
> all instances killed.
>
> Now launch:
>
> $> sudo /usr/xenomai/sbin/sysregd --linger --daemonize
>
> $> sudo ps aux | grep sysregd
> root 4022 0.0 0.3 3776 1888 ? Ssl 20:28 0:00
> /usr/xenomai/sbin/sysregd --linger --daemonize
> user 4045 0.0 0.1 3796 800 pts/1 S+ 20:30 0:00 grep
> sysregd
>
> Daemon running.
>
> Now tried to run app and receive the same error:
>
> ./hello
> sysregd: create_directory_recursive("/var/run/xenomai/anon/system"):
> Transport endpoint is not connected
> sysregd: create_directory_recursive("/var/run/xenomai/anon/system"):
> Transport endpoint is not connected
> sysregd: create_directory_recursive("/var/run/xenomai/anon/system"):
> Transport endpoint is not connected
> 3"006.383| WARNING: [main] cannot connect to registry daemon
> 3"006.574| BUG: [main] initialization failed, EAGAIN
>
The only plausible scenario for this issue is that sysregd got killed
(e.g. SIGKILL or SIGHUP, not SIGTERM which currently leads to a graceful
exit) while it was running, which caused the FUSE-based anon/system
mountpoint to be left over.
To fix this, you can unmount the system mount point manually before
starting sysregd again:
# fusermount -u /var/run/xenomai/anon/system
We can probably do better with graceful exit and cleaning up left overs.
I'll look at this.
--
Philippe.
next prev parent reply other threads:[~2015-03-04 8:40 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 8:49 [Xenomai] Xenomai/cobalt: low_init(): binding failed: Function not implemented error issued when trting to run latency app on xeno 3.x-rc3 Helder Daniel
2015-03-03 10:17 ` Philippe Gerum
[not found] ` <CAKk99t3_g0ZODEe32KGAzfHckWC=-Gqr6CrFa5yRh-hLF5Ttow@mail.gmail.com>
2015-03-03 13:59 ` Philippe Gerum
2015-03-03 14:07 ` Philippe Gerum
2015-03-03 14:58 ` Helder Daniel
2015-03-03 15:03 ` Helder Daniel
2015-03-03 15:03 ` Philippe Gerum
2015-03-03 15:40 ` Helder Daniel
2015-03-03 15:44 ` Philippe Gerum
2015-03-03 16:38 ` Helder Daniel
2015-03-03 17:03 ` Philippe Gerum
2015-03-03 17:06 ` Philippe Gerum
2015-03-03 17:23 ` Helder Daniel
2015-03-03 19:24 ` Philippe Gerum
2015-03-03 19:31 ` Philippe Gerum
2015-03-03 19:50 ` Helder Daniel
2015-03-03 20:09 ` Philippe Gerum
[not found] ` <CAKk99t0Xh01uxG7jd=oEDD71LBHvTnbCnejwiP2bzGN63Yo-ZA@mail.gmail.com>
2015-03-04 8:40 ` Philippe Gerum [this message]
2015-03-04 11:21 ` Helder Daniel
2015-03-04 11:40 ` Philippe Gerum
2015-03-04 14:25 ` Helder Daniel
2015-03-04 14:29 ` Philippe Gerum
2015-03-04 15:26 ` Helder Daniel
2015-03-04 17:18 ` Philippe Gerum
2015-03-04 23:30 ` Helder Daniel
2015-03-15 16:20 ` Philippe Gerum
2015-03-16 18:58 ` Helder Daniel
2015-03-16 19:21 ` Philippe Gerum
2015-03-17 15:30 ` Philippe Gerum
[not found] ` <CAKk99t2ZsNmY4myJAF+H3hWNpHN4bVm255QEsU6Nu+ytG-B0dA@mail.gmail.com>
[not found] ` <550837E2.9050701@xenomai.org>
[not found] ` <CAKk99t2eGYME0BsLCjJV7VMm8VU_2okmpd8sYfMb_02sTvOfLQ@mail.gmail.com>
[not found] ` <55083DA4.3080201@xenomai.org>
[not found] ` <CAKk99t0pG6HWOucFXDw1-_5-=EGQ7faqA22yVog6Ye6TcGjevA@mail.gmail.com>
[not found] ` <550850D5.9060207@xenomai.org>
[not found] ` <CAKk99t0q3iNcah1Us79hJUjjHQCr2rEPu9gukSNjO2a6+Gk3sg@mail.gmail.com>
[not found] ` <CAKk99t3wP-WLemoO_bbsvE4uwh-Sh-5eGPJrM=6cAc5edyQW5Q@mail.gmail.com>
[not found] ` <5508600D.4020500@xenomai.org>
2015-03-17 17:19 ` Helder Daniel
2015-03-19 17:23 ` Philippe Gerum
2015-03-19 18:29 ` Philippe Gerum
2015-03-23 10:59 ` Helder Daniel
2015-03-23 11:01 ` Helder Daniel
2015-03-23 11:16 ` Philippe Gerum
2015-03-23 11:47 ` Helder Daniel
2015-03-23 11:47 ` Helder Daniel
2015-03-23 12:11 ` Helder Daniel
2015-03-23 13:21 ` Philippe Gerum
2015-03-23 13:55 ` Helder Daniel
2015-03-30 16:51 ` Helder Daniel
2015-03-31 7:27 ` Philippe Gerum
2015-03-31 10:04 ` Helder Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F6C50F.5040301@xenomai.org \
--to=rpm@xenomai.org \
--cc=Xenomai@xenomai.org \
--cc=hdaniel@ualg.pt \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.