libpulse symbols beginning by pa_ not found while linking fb_sdl (newbie)

2013-01-14 Thread Paul Dufresne
Hi, I am new to Genode and love it (particularly the release notes!). I am having a problem linking fb_sdl with while compiling Genode 12.11 on LuninuxOS (based on Ubuntu Quantal) 64 bits: paul@paul-P5GZ-MX:~/Bureau/Genode/genode-12.11/build.lx$ make run/demousing run script /home/paul/Bureau/Geno

Re: libpulse symbols beginning by pa_ not found while linking fb_sdl (newbie)

2013-01-14 Thread Paul Dufresne
Just found the libs on my system, but I don't know what to do next: paul@paul-P5GZ-MX:/usr/lib/x86_64-linux-gnu$ locate libpulse /usr/lib/libpulsecore-2.1.so /usr/lib/vlc/plugins/access/libpulsesrc_plugin.so /usr/lib/vlc/plugins/audio_output/libpulse_plugin.so /usr/lib/vlc/plugins/services_discove

Re: libpulse symbols beginning by pa_ not found while linking fb_sdl (newbie)

2013-01-14 Thread Paul Dufresne
Problem solved by: paul@paul-P5GZ-MX:/usr/lib/x86_64-linux-gnu$ sudo cp pulseaudio/libpulsecommon-2.1.so . [sudo] password for paul: paul@paul-P5GZ-MX:/usr/lib/x86_64-linux-gnu$ ls libpuls* libpulsecommon-2.1.solibpulse-simple.solibpulse.so.0 libpulse-mainloop-glib.soli

Genode 12.11 on Ubuntu 64 bits: Could not open file "ld.lib.so" seems to cause black window

2013-01-14 Thread Paul Dufresne
First, I did not search yet for issues showing this. It is just a ... "hey, that's seems wrong, anyone knows about this?". After my "make run/demo" on Linux Ubuntu 64 bits, I got a big black window, that was empty so I closed it. The log after compilation shows: Program app/launchpad/launchpad

Re: MSI support in Genode

2013-01-14 Thread Paul Dufresne
Just in case someone else is asking himself/herself the same question I did: "What is MSI anyway?" the answer is in 3. of: http://www.mjmwired.net/kernel/Documentation/MSI-HOWTO.txt -- Master Visual Studio, SharePoint, SQL

Re: Genode 12.11 on Ubuntu 64 bits: Could not open file "ld.lib.so" seems to cause black window

2013-01-14 Thread Paul Dufresne
>if your Ubuntu GCC version is 4.7.x, you need to apply the patch from this >bugtracker issue: >https://github.com/genodelabs/genode/issues/550 Yep, manually applying the patch make the launchpad window to work. Thanks! That said, I was using the Genode toolchain which is gcc 4.7.2 from: genode-t

Re: Genode 12.11 on Ubuntu 64 bits: Could not open file "ld.lib.so" seems to cause black window

2013-01-15 Thread Paul Dufresne
he he, I wish I would have read tool_chain.txt before. I was merely following instructions in getting_started.txt that is not very clear: "Furthermore, you will need to install the official Genode toolchain, which you can download at [http://genode.org/download/tool-chain]."; That's probably where

HelenOS kernel (Spartan) as a Genode platform

2013-01-15 Thread Paul Dufresne
I believed that an HelenOS GoogleSummerOfCode (GSOC) project for 2012 was: https://www.google-melange.com/gsoc/project/google/gsoc2012/kurbel/20001 http://trac.helenos.org/ticket/419 Basically no GSOC 2012 projects was accepted for Genode, but it was for the HelenOS. So Tobias Börtitz did work on

Re: HelenOS kernel (Spartan) as a Genode platform

2013-01-16 Thread Paul Dufresne
Hi Tobia! I am happy to know that you are still working on this project! Maybe adding a small progress comment on http://trac.helenos.org/ticket/419 mentionning both links you gave me would help people know you are still working on this. In fact it should probably be a feature issue in https://gi

Re: HelenOS kernel (Spartan) as a Genode platform

2013-01-16 Thread Paul Dufresne
I believe that 'platform' refer to the thing the rest of the thing sit on. For applications you can see the platform as the OS, but for a microkernel based OS, that can support many microkernels, it make sense for me to call platform, the microkernel choosed. HelenOS sit on it's own microkernel n

Re: [memory issue] i see a issue when i build demo with linux_x86 mode.

2013-01-18 Thread Paul Dufresne
I find this value quite big on my 1 Gb computer while make run/sdl on Linux 64b: spawn ./core int main(): --- create local services --- int main(): --- start init --- int main(): transferred 17592186044415 MB to init int main(): --- init created, waiting for exit condition --- Quota exceeded! amoun

Re: [memory issue] i see a issue when i build demo with linux_x86 mode.

2013-01-18 Thread Paul Dufresne
>The confusion is just perfect. ;-) Thanks for the full explanation! -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-st

Tested run/demo on nova: liquid_fb tried to call an invalid object

2013-01-18 Thread Paul Dufresne
Just giving a small glitch while trying run/demo on Nova (x86_64). First I am using a 2 day old master.zip file of Genode (because I had github not able finishing getting objects in 56k with git clone). However I have a new git clone of Nova that did work fine. Note 1: Genode seems to get latest

Re: Tested run/demo on nova: liquid_fb tried to call an invalid object

2013-01-18 Thread Paul Dufresne
Ok, so I burn my var/run/demo.iso file from my build directory (8 MB, impressively small!) to a CD and tried it. My big surprise when I ran it on my computer was to hear the 56k modem call a number. I heard the operator voice, so that I know it did not join it's destination fine. I first tought th

Re: Tested run/demo on nova: liquid_fb tried to call an invalid object

2013-01-19 Thread Paul Dufresne
> and two lines after the clone is reset to the revision specified in GIT_REV > and then the custom patches are applied Ah, yes, indeed. Thanks! It's the first time I see this reset command. I was expecting to clone a specific version, rather than resetting. And the fact that the patches when app

Re: Tested run/demo on nova: liquid_fb tried to call an invalid object

2013-01-21 Thread Paul Dufresne
Nova 64 bits rebooting in loop on my older Pentium 4 computer was not a surprised. This morning I tested Nova 32 bits. Nova 32 bits seems to work well on my Celeron D computer, but not on my older (about 2002) IBM Netvista computer where I get when trying to boot the demo.iso CD: Nova Microhypervis

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-21 Thread Paul Dufresne
Ok... will try to see what I can make with these new info. I was reading a bit about IO-APIC and Local APIC. Frankly, it does goes above my head (not fully understanding, not so much interested). At this site: http://osdev.berlios.de/pic.html I am reading something that looks like could be relate

needed to add some service from CORE in hello_tutorial/run/hello.run

2013-01-21 Thread Paul Dufresne
Before it works, I had to add these lines: inside section of hello.run. I would have tought however that: would have made it optional, which was not.

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-21 Thread Paul Dufresne
How do I change "timeout 0" of Grub? I found menu.lst in my build.nova32/var/run/hello/boot/grub but it seems to be generated and changing it seems to make no change. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-21 Thread Paul Dufresne
The result of testing with just the hypervisor seems the same on both of my computer: -I see the Killed EC: ... (No ELF) -spinner spin (actually at least on my Pentium 4, a cyan, a blue and a yellow text digit counting) down the screen --

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-21 Thread Paul Dufresne
Oh, I think I *may* begin to understand a bit better what is going on... and to feel a bit dumb. ... and still confused. Basically, I was expecting to see on the screen in my computer, what I was seeing in QEMU on my Linux. So I was expecting to see things like: Hypervisor does not feature VMX Hy

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-22 Thread Paul Dufresne
Ok, thanks for the answers! I finally did it: search and find my serial null-modem cable. Which was simply, after all, in one of the drawer of the desk where the computer was. ;-) Good news 1) hello tutorial works fine Good news 2) I understand much better why make run/demo do not work on this co

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-22 Thread Paul Dufresne
Well, the cause of my problem seems to be: static int map_code_area(void) { int err; Ram_dataspace_capability ds_cap; void *dummy; printf("map_code_area will map_io_mem\n"); /* map page0 */ if ((err = Framebuffer_drv::map_io_mem(0x0, PAGESIZE, false, &dummy))

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-23 Thread Paul Dufresne
Hi! This 0-1000 address you are trying to give VESA... this is virtual memory? I was asking because when I did read that one of the goal about 2013.2 release was: * IOMMU support on NOVA I remember to have read that IOMMU is often found on motherboard having PCI express. This one is AGP I think.

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-23 Thread Paul Dufresne
Ah no, I think I can guess (all my understanding is rather fuzzy). This 0-1000 thing, is my old real mode interrupt table (256 entries, of 4 bytes each). Well, I am surprised to see how this x86emu can be coded in user mode. But I find strange that so much assembler seems to need to be emulated, I

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-23 Thread Paul Dufresne
My current guess is that you don't use virtual 8086 mode but rather, emulate it in protected mode (as user code) mostly to call (euh run, much as an assembler interpreter) Vesa BIOS int 0x10 to set video mode and ask it where it has put the framebuffer. avl.diff applied. Much better, from there i

Re: Nova 32 bits on older Pentium 4 computer.

2013-01-23 Thread Paul Dufresne
Ok, I added a config element for the vesa driver in my demo.run file: append_if [have_spec vesa] config { } At first I did put it before the start element rather than inside, and so it took me a while to figure out what was wrong. I am

8 bits depth framebuffer not working

2013-01-23 Thread Paul Dufresne
>nitpicker and the other GUI components only support graphics modes with RGB565 >colors currently Indeed, trying to use 1024x768 with 8 bits depth I was expecting very ugly colors, but it is worst than that. Although I was able to distinguish Launchpad window, I was not able to interact with it.

A GUI for Genode

2013-01-23 Thread Paul Dufresne
About a GUI for Genode. That's in the roadmap for the beginning of 2013. So I began to think about it. My first idea was an old idea, very simple. Each visual application (text or graphics) had it's own framebuffer (could be different size for each). When pressing Ctrl-PageUp or Ctrl-PageDown, you

Re: A GUI for Genode

2013-01-23 Thread Paul Dufresne
Rather than having the notification area to the right, I want it at the bottom. It should contains 2 or 3 lines of text with the following fields: Origin application: ex.: gedit(3) Clicking it change the application area to that application. hour: 13h15:23 Up/Down arrow to switch to other same imp

Re: A GUI for Genode

2013-01-23 Thread Paul Dufresne
Now, I was beginning to think of a general form application. Many application need forms to be filled, and a general application for that seems to make sense. When a button is click, or a text area is changed, the general application could signal it to the application 'model'. Anyway, that is not

Re: A GUI for Genode

2013-01-24 Thread Paul Dufresne
Well, about the GUI, once again. I had: +:New -:Delete Up:Next Down:Previous. I should add a toggle button: 1/List: toggle the 'application' area between the selected one, and the list of things. Now, especially for programs, the list of things is not clear because there is in fact two lists: 1)

Re: A GUI for Genode

2013-01-24 Thread Paul Dufresne
Scrap almost all. Let's have 4 levels: Tasks -> Categories of applications -> Applications -> Instances of an application There is always just one band shown on the left, showing these buttons: Esc) Go to the higher level Up/Down) Navigate between items +/-) Level dependant meaning Ok) Level depe

About Enlightenment and EFL

2013-01-25 Thread Paul Dufresne
It looks like Qt is the currently (prefered) GUI library for Genode. I am trying to push it toward EFL with this message. ;-) Ok, frankly, I did not begin to develop any application either with Qt or EFL. I am still kind of searching which GUI libs I should learn. Anyway, what is Enlightenment? I

Re: About Enlightenment and EFL

2013-01-25 Thread Paul Dufresne
There seems to be a problem however: It seems to depend quite a bit on X. While reading: http://trac.enlightenment.org/e/wiki/Installation I now see it depends on the following libs: libc libm libpthread zlib freetype fontconfig opengl2.0/opengles-2 (depending on target)

Re: About Enlightenment and EFL

2013-01-25 Thread Paul Dufresne
Now that I am reading the README of Evas 1.7.4 (I would think only this lib deals with backend buffers), the restriction seems much less strict: Must: libc eina (1.1.0 or better) freetype (2.1.9 or better) Recommended: libX11 + libXext + libXrender OpenGL2.0 or OpenGL-ES 2.0 fontconfi

Re: A GUI for Genode

2013-01-26 Thread Paul Dufresne
About the GUI once again. I came to think that one of the problem of the previous design, was that Up Down was moving from the (same application) instances. I was also thinking on the fact that limiting to a single application on the screen is a ... drawback. Often someone will work with different

Re: A GUI for Genode

2013-01-27 Thread Paul Dufresne
I realize I am becoming a bit off topic with this window manager idea. Complain if you think I am too much. Just adding some late thoughts on this. First, previous comment was making corners to accept just one application, by the fact that once you added a program in a corner, the opening icon wa

build directory outside of Genode dir xor vim error

2013-01-28 Thread Paul Dufresne
Well, I have tried maybe too many new things at once and it I have now broken pieces I would wish to share with you. :-) First change: staging rather than master. Second change: try make run/noux_bash Third change: ./tool/create_builddir linux_x86 BUILD_DIR="./build.lx" rather than the usual: ./t

Re: build directory outside of Genode dir xor vim error

2013-01-28 Thread Paul Dufresne
Well, I have this one: Skip target noux-pkg/coreutils because it requires prepare_coreutils The build system support some 'requires X' ? Would it be just a missing 'requires coreutils' to noux_bash.run file? I'll try to do a: paul@paul-P5GZ-MX:~/mygenode/ports$ make prepare PKG="coreutils" (well

Re: build directory outside of Genode dir xor vim error

2013-01-28 Thread Paul Dufresne
Ok, made make clean then make run/bash_noux still on staging. I now have the bash window: base-4.1# ls Maybe it was not a correct command to ask for, because the system seems to be hang there: [init -> terminal] int main(int, char**): --- terminal service started --- [init -> noux] --- noux start

Re: build directory outside of Genode dir xor vim error

2013-01-28 Thread Paul Dufresne
I have so much problems right now. Still on staging... not sure for how long. On foc? The make prepare was so long, that I decided I did not want to try to build that. The make prepare seems to prepare vim, download uclibc (with a libc that seems to prepare to run on Linux and others). At first, s

Re: build directory outside of Genode dir xor vim error

2013-01-28 Thread Paul Dufresne
And make run/noux_bash on okl4: COMPILE main.o In file included from /home/paul/mygenode/base/src/core/main.cc:24:0: /home/paul/mygenode/base/src/core/include/core_env.h:121:33: error: cannot declare field ‘Genode::Core_env::_rm_session’ to be of abstract type ‘Genode::Core_rm_session’ In file

Re: build directory outside of Genode dir xor vim error

2013-01-29 Thread Paul Dufresne
Norman Feske said: --- This looks like your build directory is somehow broken. Haven't you built the run/demo for NOVA before? I wonder what happened to your build directory. Please try again, taking one step after the other. 1. use tool/create_build_dir nova_x86_32 to create a fresh build dire

Re: build directory outside of Genode dir xor vim error

2013-01-29 Thread Paul Dufresne
Heuh... just build for pistachio, and include a bit the message I noted above: (citing pistachio messages, I remember was pretty the same for nova_x86_32) Program noux-pkg/bash/bash CONFIG bash BUILDbash [bash] making lib/intl/libintl.a in ./lib/intl [bash] cmp: libin

Re: build directory outside of Genode dir xor vim error

2013-01-29 Thread Paul Dufresne
Now that the bug I had in staging with okl4 is fixed, make run noux_bash work quite similarly on OKL4 than on Pistachio. cannot Esc :q in vim either lots of could not unmap page errors in the terminal. But overall, yes it does work quite a bit. --

Re: build directory outside of Genode dir xor vim error

2013-01-29 Thread Paul Dufresne
Ah, sure it must be it! Let me check that. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-st

Re: build directory outside of Genode dir xor vim error

2013-01-29 Thread Paul Dufresne
Yes, vim works better now. :-) -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tut

[Genode] why do I need to rebuild ports for different platforms? was: buid directory outside ...

2013-01-29 Thread Paul Dufresne
I said: --- While trying the different 'platforms' (kernels), the build system seems a bit unoptimized. To me, rebuilding libports, ports, gems in each different kernels don't make much sense. I don't expect them to apply patch platform-specifics, only Genode-specifics. So it would make sense to sp

Re: [Genode] why do I need to rebuild ports for different platforms? was: buid directory outside ...

2013-01-29 Thread Paul Dufresne
Ok, thanks, this clarify some misconceptions about the IPC I had. I was finding a bit odd that there was no kind of Interruption, or exact address to communicate for passing messages around. I was thinking a bit like if all programs were sharing the same address space (I must have been too much e

Re: build directory outside of Genode dir xor vim error

2013-01-30 Thread Paul Dufresne
https://github.com/genodelabs/genode/blob/master/ports/run/noux_bash.run line 123 I changed "de" to "us". Of course, this change affect only make run/noux_bash After that, ":" key was where I expected it to be on my keyboard. Don't search too much, the code up to now seems to know only "de" and no

What is going on for february release?

2013-01-31 Thread Paul Dufresne
Well, february 2013 is at our door now, and I would like to remember us of the plan for it according to our 2013 roadmap: -Low-latency audio support The current audio_out-session interface was our first shot into the direction of audio processing. To enable use cases where streaming audio and spor

Re: Toolchain out of date?

2014-03-02 Thread Paul Dufresne
I have used those file this morning on Arch Linux and $make run/demo did work, except for the close button not responding. Are you sure your version of Linux is 64 bits, not 32? cat /proc/version should show. 2014-03-02 11:10 GMT-05:00 Guido Witmond : > Dear people of Genode-labs, > > After a long

PicoTCP (an alternative to IwIP?)

2014-03-13 Thread Paul Dufresne
Well, I just watched this video from FOSDEM 2014, and it made me think about Genode. http://video.fosdem.org/2014/AW1121/Sunday/PicoTCP.webm or https://www.youtube.com/watch?v=AO4liMJZ0Qg The FOSDEM page: https://fosdem.org/2014/schedule/event/deviot03/ The PicoTCP page on the company web site: h

Writing sel4.iso on a CD/DVD vs. on an USB key

2016-09-18 Thread Paul Dufresne
At first I had burned sel4.iso on a CD, but no computer was able to boot from it. Then rereading the instructions, I saw it was asked to DD it to an USB key, which I did, and was getting much better results: a grub menu that disappears so fast that it only goes to loading the first module, then th

EDID (interrogating the monitor for display modes supported) support

2016-09-18 Thread Paul Dufresne
On some real x86 hardware, I have seen the monitor say that it does not support the video mode generated by Genode. Am I right to suggest that vesa driver does not yet use EDID? Or is it a more complicated issue (here using rv516 ATI video card). On archive ( https://sourceforge.net/p/genode/mail

some error of sel4.iso on VirtualBox (1495Mo)

2016-09-18 Thread Paul Dufresne
Because I have only 2GB, I had to lessen the memory in the virtual machine to 1495 Mo. Then I get some error, that I was able to capture by redirecting COM1 to /tmp/sel4 file: [some parsing cut ... ask if needed] Kernel loaded to: start=0x10 end=0x147000 size=0x47000 entry=0x10003e ACPI: RSDP

Re: some error of sel4.iso on VirtualBox (1495Mo)

2016-09-18 Thread Paul Dufresne
Oh well, might be usefull to say that VirtualBox is running with VT-X/AMD-V inactive, most probably because the real processor does not support it: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_

For Nova under VirtualBox I get that error

2016-09-18 Thread Paul Dufresne
NOVA Microhypervisor v7-23e7882 (x86_32): Aug 29 2016 10:39:41 [gcc 4.9.2] [ 0] CORE:0:0:0 f:4:9:4 [0] Intel(R) Celeron(R) CPU 2.66GHz [ 0] Killed EC:0xc23ca160 SC:0xc23cb100 V:0x6 CS:0x8 EIP:0xc02c CR2:0x0 ERR:0x0 (EXC) paul@arcturus:~$ ---

Re: Writing sel4.iso on a CD/DVD vs. on an USB key

2016-09-18 Thread Paul Dufresne
Just burn a new CD. New CD works as fine as the USB now. That is my monitor generate a flying window: "Not Optimum Mode Recommended Mode: 1280X1024 60Hz" Well, that's the price for using xfburn (that does not check burn image). I have now install and used Brasero. At least I learn something abou

Re: For Nova under VirtualBox I get that error

2016-09-18 Thread Paul Dufresne
Oh well, it seems I get the error only under Virtuabox (which is version 5.1.4). I just burn a CD with that nova.iso, and after showing fast invalid hints messages, goes to the not handled by monitor video mode. This is the same computer I tried under VirtualBox (Debian 4.6.0-1-amd64, Celeron D, 2G

Re: For Nova under VirtualBox I get that error

2016-09-18 Thread Paul Dufresne
Well,I never got understanding clearly these SYSENTER/SYSEXIT instructions. Trying to google it a bit, I find this that seems to make some kind of sense (but not too much honestly). Basically, someone in similar situation was told it need to save MSR (most particularly IA32_STAR MSR), for using SYS

Re: For Nova under VirtualBox I get that error

2016-09-18 Thread Paul Dufresne
Ok, first this talk about saving MSR is for AMD instructions (SYSENTER/SYSRET), not for Intel SYSEXIT. And indeed, the CPU simulated, a pentium 4, does not support SysEnter/SysExit. I know because when I go to Machine menu, show journal I can see: ... 00:00:02.740255 VM: fHMEnabled=true (configu

Re: For Nova under VirtualBox I get that error

2016-09-20 Thread Paul Dufresne
I got my hands on a Core2 Duo computer, that allows me to run this in VirtualBox without problems. On real hardware, it had hang on boot line however... but since that computer still have a com port I might be able to figure out why when I will have enough time. --

boot loader did not provide information about modules

2016-09-20 Thread Paul Dufresne
boot loader did not provide information about modules This is from my 'new' Core 2 Duo, booting Genode 16.08 sel4.iso on an usb key. I got it with a null-modem. I am attaching the full capture log file. I had the same symptoms on most computers I have tried... hanging on boot line doing nothing.

Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-20 Thread Paul Dufresne
I thought rebooting computer as soon has coming to boot line was for old low memories computer only, but I get it with nova.iso burnt on a CD on my Core 2 Duo, 2 GB (well 3 GB, but 2 Gb memory stick recognized as only 1 Gb + one other 1 Gb). Capture log with null-modem RS232: Bender: Hello World.

My P4 Netvista works fine on real hardware with both nova and sel4 CD

2016-09-20 Thread Paul Dufresne
I decided to test my computers in reverse side: P4 would test the CD Core 2 Duo would run minicom to capture log files. I was not expecting it to work, although I had some doubt because a quite older version was running on that P4. It appears both my CDs of Genode 16.08 (sel4.iso and nova.iso) ha

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-21 Thread Paul Dufresne
2016-09-21 8:20 GMT-04:00 Christian Helmuth : >> Need 05df2000 bytes to relocate modules. >> Relocating to 7980d000: >> Copying 483168 bytes... > [...] >> Copying 114820 bytes... > > If my calculations from this output are correct the boot modules cover > RAM from 0x7980d000 to 0x7f5e9000. Maybe th

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-21 Thread Paul Dufresne
But I seems to have problems on first file compiled when using gcc v6: In file included from ../src/acpi.cpp:28:0: ../include/acpi_rsdt.hpp:45:26: error: flexible array member in union uint32 rsdt[]; ^ ../include/acpi_rsdt.hpp:46:26: error: flexible array me

Nova multiboot v.1 flags == 0 ???

2016-09-21 Thread Paul Dufresne
I think I have a problem with Nova multiboot specification. In https://github.com/udosteinberg/NOVA/blob/master/src/start.S : /* * Multiboot Header */ __boot_header: .long 0x1badb002 .long 0x0 .long -0x1badb002 This is multiboot v.1 (current version is 2). 3.1.1 The layout of Multiboot header -

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-22 Thread Paul Dufresne
>we use as a chained-boot loader bender[0], which relocates the boot >modules before the NOVA kernel actually starts. You may try to remove it >and see whether this changes things. Well, I have remaster the 16.08 nova.iso to remove bender and put nova as the kernel. Still rebooting as soon as the b

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-22 Thread Paul Dufresne
Ok, I think I am pretty much doing things almost like you guys now. I figure out the line that make my computer reboot : in ~/genode/contrib/nova-8a5f311017becf7becd1dc325a388036b76215fc/src/kernel/nova/src/init.cpp / extern "C" INIT REGPARM (1) void init (mword mbi) { // Setup 0-page a

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-22 Thread Paul Dufresne
I see the following in hypervisor.ld but it is beyond my understanding: .init_array : AT (ADDR (.init_array) - OFFSET) { PROVIDE (CTORS_L = .); KEEP (SORT_BY_INIT_PRIORITY(*)(.init_array.65534 .ctors.1)) PROVIDE (CTORS_C = .); KEEP (SORT_BY_INIT_PRIORITY(

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-22 Thread Paul Dufresne
Oh well, I guess I get the very big picture. As Nova is written in C++, not C, the code contains constructors that somehow must be called almost as the first thing the hypervisor do. It seems the compilers make an array of function pointers to constructors functions (pointing inside .text I presume

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-23 Thread Paul Dufresne
2016-09-23 4:47 GMT-04:00 Christian Helmuth : > Hello Paul, > > I like the approach of narrowing the issue with 'while(1);' and > suggest to go further (see below). > > On Thu, Sep 22, 2016 at 10:02:51PM -0400, Paul Dufresne wrote: >> / >> extern &quo

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-23 Thread Paul Dufresne
2016-09-23 14:20 GMT-04:00 Christian Helmuth : ... > So your reboot is induced by Console_vga::Console_vga() in > src/console_vga.cpp. You may now proceed with moving 'while(1);' into > the constructor function. ... Good! So it seems to be that line in console_vga.cpp: Pd::kern.Space_mem::inser

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-23 Thread Paul Dufresne
Looks like I was ok in my previous post. In fact I seem to have isolated to a line in pte.cpp in function walk: template P *Pte::walk (Quota "a, E v, unsigned long n, bool a) { unsigned long l = L; for (P *p, *e = static_cast(this);; e = static_cast(Buddy::phys_to_ptr (e->addr())) + (v >

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-23 Thread Paul Dufresne
I now think the problem is with the expression: p = new (quota) P Will try the novga, even if I have doubt nova can react to cmdline arguments, because I belive it ask no information to the boot loader (including not asking the command line arguments).

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-23 Thread Paul Dufresne
About not reading any info from the bootloader, since we(now even me) use bender, this is bender that ask info the boot loader, and I will not be surprised if it give it to the nova hypervisor that knows how to read the command line, the list of modules, and the memory map if it is given to it. Bu

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-24 Thread Paul Dufresne
Well, now that you mentions things that does not seems to make sense in Console_VGA constructor, it ends with: enable() which I would presume is enable interruptions (did not check). But Idt::build(); (Interrupt Descriptor Table) will be called only after Hip::build too in init. -

Re: Genode 16.08 nova.iso rebooting on real Core 2 Duo after relocating modules

2016-09-24 Thread Paul Dufresne
Sorry, my mistake. that's Console::enable in console.hpp which seems to have nothing with interruptions. -- ___ genode-main mailing list genode-main@lists.sourceforge.net https:/