Discussion:
Problem with make run/demo & run/hellofor fiasco.oc based build
Shahbaz khan
2017-04-05 06:54:47 UTC
Permalink
Dear list,

I have started working with Genode, while I am interested in foc based
development and it seems the Genode efforts also prefer foc as I have been
trying run/demo for builds.

I am facing a few problems. Some that makes sense as a developer, while
some are new to me and definitely need some hints to move forward. I have
encountered the following errors:

x86_64 (run/demo & run/hello):- Error: target 'core' does not exist.
I was not able to figure out how to enable build core but it should
have been there by default like other Genode builds.

pba9 (run/demo):-
The mouse pointer does not work.

pba9 (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'

linux (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'

Does the uncaught exception mean that the capability list is not configured
properly? I am onto figuring out the build issue of core till your replies.

Regards,
Shahbaz Khan
R&D Engineer, IM|Sciences
Christian Helmuth
2017-04-05 09:36:34 UTC
Permalink
Hello Shahbaz Khan,

welcome to the list.
Post by Shahbaz khan
I have started working with Genode, while I am interested in foc based
development and it seems the Genode efforts also prefer foc as I have been
trying run/demo for builds.
I would not go along with telling that we "prefer" base-foc as most of
our scenarios run on all supported kernels. Prominent exceptions are
support for hardware virtualization (only on NOVA and hw/Muen) and
TrustZone (hw only). If you address ARM and x86 alike I'd suggest you
try out base-hw.
Post by Shahbaz khan
I am facing a few problems. Some that makes sense as a developer, while
some are new to me and definitely need some hints to move forward. I have
x86_64 (run/demo & run/hello):- Error: target 'core' does not exist.
I was not able to figure out how to enable build core but it should
have been there by default like other Genode builds.
This originates from a recent change in our framework regarding
unifies build directories for all base platforms of a selected
architectur. When running scenarios via "make run/<script>" you now
have to select the kernel by setting the KERNEL option like follows.

make run/demo KERNEL=hw

Please refer to

https://genode.org/documentation/release-notes/17.02#Unified_build_directories

for further information.
Post by Shahbaz khan
pba9 (run/demo):-
The mouse pointer does not work.
This is indeed strange. The nitpicker mouse pointer always works for
me, but I had one test (in 10) were I could not interact with the
scout window. Could you please run the scenario several times? Please
test by clicking the Qemu window and moving the mouse afterwards. Do
The scout buttons (e.g., forward/backward) change color when the mouse
pointer hovers them?
Post by Shahbaz khan
pba9 (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'
linux (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'
Does the uncaught exception mean that the capability list is not configured
properly? I am onto figuring out the build issue of core till your replies.
These errors were addressed by a recent commit

https://github.com/genodelabs/genode/commit/f6386c6ce197185df73d00a63c97d01070754fba

By cherry-picking the commit or applying the patch manually the
exceptions should vanish.

Please note that the current version of the Genode Foundation book
reflects the development state of Genode 16.05. We plan to publish
updates yearly and the next revision will be 17.05.

Regards
--
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Shahbaz khan
2017-04-05 20:35:17 UTC
Permalink
Thanks for your prompt reply.

On Wed, Apr 5, 2017 at 2:36 PM, Christian Helmuth <
Post by Christian Helmuth
Hello Shahbaz Khan,
welcome to the list
My pleasure.
Post by Christian Helmuth
.
Post by Shahbaz khan
I have started working with Genode, while I am interested in foc based
development and it seems the Genode efforts also prefer foc as I have
been
Post by Shahbaz khan
trying run/demo for builds.
I would not go along with telling that we "prefer" base-foc as most of
our scenarios run on all supported kernels. Prominent exceptions are
support for hardware virtualization (only on NOVA and hw/Muen) and
TrustZone (hw only). If you address ARM and x86 alike I'd suggest you
try out base-hw.
I will look into it.

I am interested in Fiasco.OC with Trustzone. I do not prefer pure
hypervisor approach i.e. Nova and haven't had a look at Muen. I will like
have something like a 'rehosted L4Linux or virtualized Linux' with rest of
the stack on something like L4Re, which I believe is the case with foc.
Post by Christian Helmuth
Post by Shahbaz khan
I am facing a few problems. Some that makes sense as a developer, while
some are new to me and definitely need some hints to move forward. I have
x86_64 (run/demo & run/hello):- Error: target 'core' does not exist.
I was not able to figure out how to enable build core but it
should
Post by Shahbaz khan
have been there by default like other Genode builds.
This originates from a recent change in our framework regarding
unifies build directories for all base platforms of a selected
architectur. When running scenarios via "make run/<script>" you now
have to select the kernel by setting the KERNEL option like follows.
make run/demo KERNEL=hw
Please refer to
https://genode.org/documentation/release-notes/17.02#Unified_build_
directories
for further information.
Got it.
Post by Christian Helmuth
Post by Shahbaz khan
pba9 (run/demo):-
The mouse pointer does not work.
This is indeed strange. The nitpicker mouse pointer always works for
me, but I had one test (in 10) were I could not interact with the
scout window. Could you please run the scenario several times? Please
test by clicking the Qemu window and moving the mouse afterwards. Do
The scout buttons (e.g., forward/backward) change color when the mouse
pointer hovers them?
Yes. This is the exact behavior that I experienced all the three times I
tried. I will give it a try. Nothing serious for me at least at this time.
Post by Christian Helmuth
Post by Shahbaz khan
pba9 (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'
linux (run/hello):- [init] Error: Uncaught exception of type
'Genode::Parent::Service_denied'
Does the uncaught exception mean that the capability list is not
configured
Post by Shahbaz khan
properly? I am onto figuring out the build issue of core till your
replies.
These errors were addressed by a recent commit
https://github.com/genodelabs/genode/commit/
f6386c6ce197185df73d00a63c97d01070754fba
By cherry-picking the commit or applying the patch manually the
exceptions should vanish.
ok.
Post by Christian Helmuth
Please note that the current version of the Genode Foundation book
reflects the development state of Genode 16.05. We plan to publish
updates yearly and the next revision will be 17.05.
Got it. Will follow up. Need to get used to semantics of capability lists.
Post by Christian Helmuth
Regards
--
Christian Helmuth
Genode Labs
https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
GeschÀftsfÌhrer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Regards,
Shahbaz Khan
Shahbaz khan
2017-04-13 19:38:29 UTC
Permalink
On Wed, Apr 5, 2017 at 2:36 PM, Christian Helmuth <
Post by Christian Helmuth
Post by Shahbaz khan
I have started working with Genode, while I am interested in foc based
development and it seems the Genode efforts also prefer foc as I have
been
Post by Shahbaz khan
trying run/demo for builds.
I would not go along with telling that we "prefer" base-foc as most of
our scenarios run on all supported kernels. Prominent exceptions are
support for hardware virtualization (only on NOVA and hw/Muen) and
TrustZone (hw only). If you address ARM and x86 alike I'd suggest you
try out base-hw.
I got a bit acquainted with the release notes but I still find it difficult
to comprehend what really base-hw means when we say "Genode base -hw" on
Muen SK.

I am having some build issues (I do get an image.elf but build does not
complete) and have yet not looked into earlier commits and branches so I
would appreciate if you can let me know what actually runs over Muen SK in
Genode base-hw kernel VM. Does it mean we run another kernel like nova
between Muen and virtualbox.

I really like the idea but if we have another kernel below virtualbox than
why not run virtualbox on Muen as a subject? I am unable to criticize
clearly due to the mentioned confusion.

Thanks.

Regards,
Shahbaz
Nobody III
2017-04-14 05:28:50 UTC
Permalink
I've been wondering, is there any reason not to use base-hw_x86_64_muen on
regular hardware? It seems to work fine in Qemu, and almost all Genode
drivers are in userspace. Is there some limitation that I'm not aware of?
Post by Shahbaz khan
On Wed, Apr 5, 2017 at 2:36 PM, Christian Helmuth <
Post by Christian Helmuth
Post by Shahbaz khan
I have started working with Genode, while I am interested in foc based
development and it seems the Genode efforts also prefer foc as I have
been
Post by Shahbaz khan
trying run/demo for builds.
I would not go along with telling that we "prefer" base-foc as most of
our scenarios run on all supported kernels. Prominent exceptions are
support for hardware virtualization (only on NOVA and hw/Muen) and
TrustZone (hw only). If you address ARM and x86 alike I'd suggest you
try out base-hw.
I got a bit acquainted with the release notes but I still find it
difficult to comprehend what really base-hw means when we say "Genode base
-hw" on Muen SK.
I am having some build issues (I do get an image.elf but build does not
complete) and have yet not looked into earlier commits and branches so I
would appreciate if you can let me know what actually runs over Muen SK in
Genode base-hw kernel VM. Does it mean we run another kernel like nova
between Muen and virtualbox.
I really like the idea but if we have another kernel below virtualbox than
why not run virtualbox on Muen as a subject? I am unable to criticize
clearly due to the mentioned confusion.
Thanks.
Regards,
Shahbaz
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Loading...