Re: strance error when running Nova + Genode + Seoul (scenarion : seoul-auto.run)

2015-10-15 Thread Parfait Tokponnon
Hi Alexander,
That's correct, when I had set the timeout to 600, it ran perfectly.
Concerning the layers of virtualization, I understand well your concerns.
It was just for trying purpose.
Really, I am already considering moving to a real development platform and
let the Linux VM.
Regards,

2015-10-14 18:07 GMT+02:00 Alexander Boettcher <
alexander.boettc...@genode-labs.com>:

> Hi,
>
> On 14.10.2015 12:44, Parfait Tokponnon wrote:
> > Yes, I am running Ubuntu from within a VM (VirtualBox). Is there any
> > problem related to it? I didn't know we cannot test the platform from
> > within a VM...
>
> developing within a VM is no issue, but actually running the result from
> within a VM is adventurous - at least - most the time, based on
> practical experience.
>
> In your case you have 3 level of virtualization/emulation nested - you
> are running Ubuntu in Virtualbox (1), then you run Genode/Nova inside
> Qemu (2) ontop of (1) and finally you run a Linux VM with Seoul VMM (3)
> on top of (2).
>
> Beside the obviously waste of CPU time and increasing your idle time,
> you have to rely on all upper levels to work correctly. Such a
> assumption and in principal such a development setup just leads to
> various types of frustrations - I would try to avoid that.
>
> >
> > And Yes, when I had invoked qemu directly with the provided command in
> the
> > log file it worked too.
> > So what could be the explanation?
>
> Our run tool sets for automatically tested scripts (as seoul-auto.run) a
> timeout until it must have been finished. Since you say it works for you
> when you are calling qemu directly - it could be that the execution time
> in your 3-level nested virtualization setup is too short.
>
> You may try to increase the timeout in seoul-auto.run (search for
> run_genode_until) or try using seoul-net.run instead, which is mainly
> the same setup but without timeout.
>
> Does this change things for you ?
>
> If not, you would have to find out why tcl/expect stops working with a
> eof (in /tool/run/run) error when waiting for qemu output.
>
>
>
> Regards,
>
> Alex.
>
>
> --
> ___
> genode-main mailing list
> genode-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>



-- 
Parfait T.
--
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: strance error when running Nova + Genode + Seoul (scenarion : seoul-auto.run)

2015-10-14 Thread Alexander Boettcher
Hi,

On 14.10.2015 12:44, Parfait Tokponnon wrote:
> Yes, I am running Ubuntu from within a VM (VirtualBox). Is there any
> problem related to it? I didn't know we cannot test the platform from
> within a VM...

developing within a VM is no issue, but actually running the result from
within a VM is adventurous - at least - most the time, based on
practical experience.

In your case you have 3 level of virtualization/emulation nested - you
are running Ubuntu in Virtualbox (1), then you run Genode/Nova inside
Qemu (2) ontop of (1) and finally you run a Linux VM with Seoul VMM (3)
on top of (2).

Beside the obviously waste of CPU time and increasing your idle time,
you have to rely on all upper levels to work correctly. Such a
assumption and in principal such a development setup just leads to
various types of frustrations - I would try to avoid that.

> 
> And Yes, when I had invoked qemu directly with the provided command in the
> log file it worked too.
> So what could be the explanation?

Our run tool sets for automatically tested scripts (as seoul-auto.run) a
timeout until it must have been finished. Since you say it works for you
when you are calling qemu directly - it could be that the execution time
in your 3-level nested virtualization setup is too short.

You may try to increase the timeout in seoul-auto.run (search for
run_genode_until) or try using seoul-net.run instead, which is mainly
the same setup but without timeout.

Does this change things for you ?

If not, you would have to find out why tcl/expect stops working with a
eof (in /tool/run/run) error when waiting for qemu output.



Regards,

Alex.

--
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: strance error when running Nova + Genode + Seoul (scenarion : seoul-auto.run)

2015-10-14 Thread Parfait Tokponnon
Hello,

Thank you for your reply. I had some trouble with my system, that is why i
didn't reply you earlier...

Yes, I am running Ubuntu from within a VM (VirtualBox). Is there any
problem related to it? I didn't know we cannot test the platform from
within a VM...

And Yes, when I had invoked qemu directly with the provided command in the
log file it worked too.

So what could be the explanation?

Regards,


PS: sorry for the duplication, i have used the wrong mail account prevously!

2015-10-12 11:49 GMT+02:00 Alexander Boettcher <
alexander.boettc...@genode-labs.com>:

> Hello,
>
> On 09.10.2015 21:06, Parfait Tokponnon wrote:
> > Hello,
> > Can anyone help out?
>
> may you please try to invoke the resulting iso file with qemu directly
> without using our run tool? Change "spawn qemu-system-x86_64 -cpu ..."
> (see log file) to "qemu-system-x86_64 -cpu ..." and call it from within
> the build directory. What is the (error) output of qemu ?
> Do you are running Ubuntu 12.04 from within a VM ?
>
> Regards,
>
> Alex.
>
>
>
> --
> ___
> genode-main mailing list
> genode-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>



-- 
Parfait T.
--
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: strance error when running Nova + Genode + Seoul (scenarion : seoul-auto.run)

2015-10-12 Thread Alexander Boettcher
Hello,

On 09.10.2015 21:06, Parfait Tokponnon wrote:
> Hello,
> Can anyone help out?

may you please try to invoke the resulting iso file with qemu directly
without using our run tool? Change "spawn qemu-system-x86_64 -cpu ..."
(see log file) to "qemu-system-x86_64 -cpu ..." and call it from within
the build directory. What is the (error) output of qemu ?
Do you are running Ubuntu 12.04 from within a VM ?

Regards,

Alex.


--
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


strance error when running Nova + Genode + Seoul (scenarion : seoul-auto.run)

2015-10-09 Thread Parfait Tokponnon
Hello,
Can anyone help out?
I ran the "make run/seoul-auto.run" in my nova_x86_64 build directory and
nearly at the end of the process i got this error: make: ***
[run/seoul-auto] Erreur 253 (please find below a sample of the trace from
the serial output) I also attached the complete trace.
Can anyone help me solve the problem? I work on Ubuntu 12.04.

//error
...
...

[init -> seoul] VMM: #   rtc_cmos rtc_cmos: setting system clock to
2015-10-09 17:16:38 UTC (110998)
[init -> seoul] VMM: #   RAMDISK: ext2 filesystem found at block 0
[init -> seoul] VMM: #   RAMDISK: Loading 20704KiB [1 disk] into ram
disk... /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
[init -> seoul] VMM: # |   /
Booting Core 4.7.7
[init -> seoul] VMM: #   Running Linux Kernel 3.1.0.
[init -> seoul] VMM: #   Checking boot options...Done.
[init -> seoul] VMM: #   Starting udev daemon for hotplug support...|
[init -> seoul] VMM: # |  Done.
[init -> seoul] VMM: #   modprobe: chdir(3.1.0): No such file or directory
[init -> seoul] VMM: #   modprobe: chdir(3.1.0): No such file or directory
Error: Spawned process died unexpectedly
make: *** [run/seoul-auto] Erreur 253


-- 
Parfait T.
$ make run/seoul-auto
including /home/parfait/git/Genode/genode/tool/run/boot_dir/nova
including /home/parfait/git/Genode/genode/tool/run/power_on/qemu
including /home/parfait/git/Genode/genode/tool/run/log/qemu
including /home/parfait/git/Genode/genode/tool/run/image/iso
including /home/parfait/git/Genode/genode/repos/ports/run/seoul-auto.run
building targets: core init drivers/timer drivers/rtc drivers/input app/seoul 
drivers/nic drivers/framebuffer drivers/platform drivers/acpi server/report_rom 
drivers/platform/spec/x86/device_pd
spawn make core init drivers/timer drivers/rtc drivers/input app/seoul 
drivers/nic drivers/framebuffer drivers/platform drivers/acpi server/report_rom 
drivers/platform/spec/x86/device_pd
make[1]: entrant dans le répertoire « 
/home/parfait/git/Genode/genode/build/nova_x86_64 »
checking library dependencies...
Skip target app/seoul/spec/32bit because it requires 32bit
Skip target drivers/framebuffer/spec/exynos because it requires exynos
Skip target drivers/framebuffer/spec/imx53 because it requires imx53
Skip target drivers/framebuffer/spec/omap4 because it requires omap4
Skip target drivers/framebuffer/spec/pl11x/pbxa9 because it requires pl11x pbxa9
Skip target drivers/framebuffer/spec/rpi because it requires rpi
Skip target drivers/framebuffer/spec/sdl because it requires linux sdl
Skip target drivers/input/spec/imx53 because it requires imx53
Skip target drivers/input/spec/ps2/pl050 because it requires pl050
Skip target drivers/nic/spec/lan9118 because it requires lan9118
Skip target drivers/nic/spec/linux because it requires linux
Skip target drivers/platform/spec/arndale because it requires arndale
Skip target drivers/platform/spec/imx53 because it requires imx53
Skip target drivers/platform/spec/odroid_x2 because it requires odroid_x2
Skip target drivers/platform/spec/rpi because it requires rpi
  Library platform
  Library cxx
  Library syscall
  Library startup
  Library base-common
  Library core
  Program core/core
COMPILE  version.o
LINK core
  Library base
  Program drivers/acpi/spec/x86/acpi_drv
  Library blit
  Library x86emu
  Library config
  Program drivers/framebuffer/vesa/fb_drv
  Library server
  Program drivers/input/dummy/dummy_input_drv
  Program drivers/input/spec/ps2/x86/ps2_drv
  Library dde_ipxe_nic
  Program drivers/nic/nic_drv
  Program drivers/platform/spec/x86/device_pd/device_pd
  Program drivers/platform/spec/x86/platform_drv
  Program drivers/rtc/spec/x86/rtc_drv
  Library alarm
  Library timer
  Program drivers/timer/timer
  Library init_pd_args
  Program init/init
  Program server/report_rom/report_rom
  Library seoul_libc_support
  Program app/seoul/spec/64bit/seoul
make[1]: quittant le répertoire « 
/home/parfait/git/Genode/genode/build/nova_x86_64 »
genode build completed
building targets:  kernel 
spawn make kernel
make[1]: entrant dans le répertoire « 
/home/parfait/git/Genode/genode/build/nova_x86_64 »
checking library dependencies...
  Program kernel/hypervisor
make[1]: quittant le répertoire « 
/home/parfait/git/Genode/genode/build/nova_x86_64 »
genode build completed
using NOVA kernel at 
/home/parfait/git/Genode/genode/build/nova_x86_64/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
 71.69% done, estimate finish Fri Oct  9 19:16:10 2015
Total translation table size: 2048
Total