Hi,
I tried the steps listed in the Genode website, and I'm trying to run Genode on the NOVA microkernel.
Previously, I've had trouble running the above because I didn't install Expect correctly. Now, I've passed that hurdle and encountered another problem:
... make[1]: Leaving directory `/home/mylinux/Downloads/genode-15.05/build_dir' genode build completed Warning: Cannot validate config syntax (please install xmllint) cp: cannot stat ‘bin/fb_drv’: No such file or directory while executing "exec cp bin/$binary [run_dir]/genode" (procedure "copy_and_strip_genode_binaries_to_run_dir" line 4) invoked from within "copy_and_strip_genode_binaries_to_run_dir $binaries" (procedure "run_boot_dir" line 6) invoked from within "run_boot_dir $binaries" (procedure "build_boot_image" line 2) invoked from within "build_boot_image $boot_modules" (file "/home/mylinux/Downloads/genode-15.05/repos/os/run/demo.run" line 225) invoked from within "source $include_name" ("foreach" body line 6) invoked from within "foreach include_name [get_cmd_arg --include ""] { # first check if the include name is absolute if {[string first "/" $include_name] == 0} { puts ..." (file "/home/mylinux/Downloads/genode-15.05/tool/run/run" line 642) make: *** [run/demo] Error 1
Upon installing the libxml2-utils package, the line "Warning: Cannot validate config syntax (please install xmllint)" disappeared, but the rest of the error message still exists.
Any help here?
Daren
Hello Daren,
welcome to the list. Please find my comments below embedded in your message.
On Thu, Jul 02, 2015 at 02:33:55PM +0800, Daren Sin wrote:
I tried the steps listed in the Genode website, and I'm trying to run Genode on the NOVA microkernel.
Previously, I've had trouble running the above because I didn't install Expect correctly. Now, I've passed that hurdle and encountered another problem:
... make[1]: Leaving directory `/home/mylinux/Downloads/genode-15.05/build_dir' genode build completed Warning: Cannot validate config syntax (please install xmllint) cp: cannot stat ‘bin/fb_drv’: No such file or directory
Here, the integration step tells you it's missing the framebuffer driver.
while executing
"exec cp bin/$binary [run_dir]/genode" (procedure "copy_and_strip_genode_binaries_to_run_dir" line 4) invoked from within "copy_and_strip_genode_binaries_to_run_dir $binaries" (procedure "run_boot_dir" line 6) invoked from within "run_boot_dir $binaries" (procedure "build_boot_image" line 2) invoked from within "build_boot_image $boot_modules" (file "/home/mylinux/Downloads/genode-15.05/repos/os/run/demo.run" line
This line tells me you're trying to execute demo.run on Genode/NOVA.
Section "Using platforms other than Linux" of "How to start exploring Genode" (getting_started.txt) gives some hints to run the demo on real hardware, among others how to prepare and build the VESA framebuffer driver for x86. The driver depends on the x86emu library to emulate x86 real-mode execution of the VESA BIOS. Please try the following steps in <genode-dir>
./tool/port/prepare_port x86emu make -C <nova-build-dir> drivers/framebuffer/vesa
Now you should get the fb_drv binary in <nova-build-dir>/bin and are ready to try again
make -C <nova-build-dir> run/demo
Regards
Hi Christian,
Thanks for the response!
The error message indicated "Please install xmllimit", which I did before you replied, and that portion of the error message is gone!
But now, I get another error message:
make[1]: Leaving directory `/home/mylinux/genode-15.05/tool/build.nova' genode build completed using NOVA kernel at /home/mylinux/genode-15.05/tool/build.nova/kernel/hypervisor install bootloader creating ISO image... Warning: -follow-links does not always work correctly; be careful. Size of boot image is 4 sectors -> No emulation Total translation table size: 2048 Total rockridge attributes bytes: 3026 Total directory bytes: 10970 Path table size(bytes): 64 Max brk space used 1d000 5116 extents written (9 MB) spawn qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -serial mon:stdio -cdrom var/run/demo.iso couldn't execute "qemu-system-x86_64": no such file or directory while executing "spawn qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -serial mon:stdio -cdrom var/run/demo.iso" ("eval" body line 1) invoked from within "eval spawn $qemu $qemu_args" (procedure "run_power_on" line 70) invoked from within "run_power_on" (procedure "run_genode_until" line 13) invoked from within "run_genode_until forever" (file "/home/mylinux/genode-15.05/repos/os/run/demo.run" line 229) invoked from within "source $include_name" ("foreach" body line 6) invoked from within "foreach include_name [get_cmd_arg --include ""] { # first check if the include name is absolute if {[string first "/" $include_name] == 0} { puts ..." (file "/home/mylinux/genode-15.05/tool/run/run" line 636) make: *** [run/demo] Error 1 make: Leaving directory `/home/mylinux/genode-15.05/tool/build.nova'
Thanks!
Daren
On Thu, Jul 2, 2015 at 4:47 PM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hello Daren,
welcome to the list. Please find my comments below embedded in your message.
On Thu, Jul 02, 2015 at 02:33:55PM +0800, Daren Sin wrote:
I tried the steps listed in the Genode website, and I'm trying to run Genode on the NOVA microkernel.
Previously, I've had trouble running the above because I didn't install Expect correctly. Now, I've passed that hurdle and encountered another problem:
... make[1]: Leaving directory
`/home/mylinux/Downloads/genode-15.05/build_dir'
genode build completed Warning: Cannot validate config syntax (please install xmllint) cp: cannot stat ‘bin/fb_drv’: No such file or directory
Here, the integration step tells you it's missing the framebuffer driver.
while executing
"exec cp bin/$binary [run_dir]/genode" (procedure "copy_and_strip_genode_binaries_to_run_dir" line 4) invoked from within "copy_and_strip_genode_binaries_to_run_dir $binaries" (procedure "run_boot_dir" line 6) invoked from within "run_boot_dir $binaries" (procedure "build_boot_image" line 2) invoked from within "build_boot_image $boot_modules" (file "/home/mylinux/Downloads/genode-15.05/repos/os/run/demo.run"
line
This line tells me you're trying to execute demo.run on Genode/NOVA.
Section "Using platforms other than Linux" of "How to start exploring Genode" (getting_started.txt) gives some hints to run the demo on real hardware, among others how to prepare and build the VESA framebuffer driver for x86. The driver depends on the x86emu library to emulate x86 real-mode execution of the VESA BIOS. Please try the following steps in <genode-dir>
./tool/port/prepare_port x86emu make -C <nova-build-dir> drivers/framebuffer/vesa
Now you should get the fb_drv binary in <nova-build-dir>/bin and are ready to try again
make -C <nova-build-dir> run/demo
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://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
Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello,
On 02.07.2015 10:47, Christian Helmuth wrote:
./tool/port/prepare_port x86emu make -C <nova-build-dir> drivers/framebuffer/vesa
I just want to add that you will also need to enable the libports repository (where the VESA driver resides) in your <build-dir>/etc/build.conf file.
Cheers Norman
Hi Daren,
see my comment below.
On 02.07.2015 10:58, Daren Sin wrote:
Hi Christian,
Thanks for the response!
The error message indicated "Please install xmllimit", which I did before you replied, and that portion of the error message is gone!
But now, I get another error message:
make[1]: Leaving directory `/home/mylinux/genode-15.05/tool/build.nova' genode build completed using NOVA kernel at /home/mylinux/genode-15.05/tool/build.nova/kernel/hypervisor install bootloader creating ISO image... Warning: -follow-links does not always work correctly; be careful. Size of boot image is 4 sectors -> No emulation Total translation table size: 2048 Total rockridge attributes bytes: 3026 Total directory bytes: 10970 Path table size(bytes): 64 Max brk space used 1d000 5116 extents written (9 MB) spawn qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -serial mon:stdio -cdrom var/run/demo.iso couldn't execute "qemu-system-x86_64": no such file or directory while executing
It seems that Qemu is not installed. By default, if nothing is specified, Qemu is used to actually execute any runscript scenario.
Cheers,
Alex.
Hello Daren,
again a look at the log reveals the problem
On Thu, Jul 02, 2015 at 04:58:14PM +0800, Daren Sin wrote:
spawn qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -serial mon:stdio > -cdrom var/run/demo.iso couldn't execute "qemu-system-x86_64": no such file or directory
The run tool tries to execute Qemu to run the demo scenario, but the qemu-system-x86_64 binary is missing. On Ubuntu, installing the "qemu-system" package will help, but depending on your Linux distro the package name may differ.
Regards
Hi,
may I add: the last time I needed the following programms below after a blank ubuntu 12.04 installation (program name, website, install command).
Christian, as a wish: an all-in one- ubuntu development iso for genode? Like the Fabscan Live DVD ( https://hci.rwth-aachen.de/fabscan_software ) - but for quick start into genode development? Or a vm?
Best regards, Wolfgang
libSDL 1.2 http://www.libsdl.org/ sudo apt-get install libSDL-dev tclsh http://www.tcl.tk/ sudo apt-get install tk8.5 tcl8.5 expect http://www.nist.gov/el/msid/expect.cfm sudo apt-get install expect byacc http://byaccj.sourceforge.net/ sudo apt-get install byacc qemu http://wiki.qemu.org/ sudo apt-get install qemu genisoimage https://wiki.debian.org/genisoimage sudo apt-get install genisoimage build-essential https://packages.debian.org/de/wheezy/build-essential sudo apt-get install build-essential git http://git-scm.com/ sudo apt-get install git svn http://subversion.apache.org/ sudo apt-get install subversion flex http://flex.sourceforge.net/ sudo apt-get install flex bison http://www.gnu.org/software/bison/ sudo apt-get install bison gperf http://www.gnu.org/software/gperf/ sudo apt-get install gperf
genode+toolchain tar xPfj genode-toolchain-12.11-x86_64.tar.bz2 tar -xfc genode-14.05.tar.bz2 git : git clone git://github.com/genodelabs/genode.git
-----Ursprüngliche Nachricht----- From: Christian Helmuth Sent: Thursday, July 2, 2015 12:13 PM To: genode-main@lists.sourceforge.net Subject: Re: cannot run make/demo
Hello Daren,
again a look at the log reveals the problem
On Thu, Jul 02, 2015 at 04:58:14PM +0800, Daren Sin wrote:
spawn qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -serial mon:stdio
-cdrom var/run/demo.iso
couldn't execute "qemu-system-x86_64": no such file or directory
The run tool tries to execute Qemu to run the demo scenario, but the qemu-system-x86_64 binary is missing. On Ubuntu, installing the "qemu-system" package will help, but depending on your Linux distro the package name may differ.
Regards
Hi Wolfgang,
On Fri, Jul 03, 2015 at 08:28:29AM +0200, w_schmidt@...181... wrote:
Christian, as a wish: an all-in one- ubuntu development iso for genode? Like the Fabscan Live DVD ( https://hci.rwth-aachen.de/fabscan_software )
- but for quick start into genode development? Or a vm?
In my opinion, your proposal is perfectly suited as a community contribution and if you decide to go for it, I'll endorse your work, for example, by providing a link on genode.org and making people aware of it on the mailing list or GitHub.
Regards