Re: waiting for RPC method to be called

2018-04-22 Thread Emery Hemingway
Hi Ben, The 'Genode' way would be not to block for RPC, but to only run the component during RPC or signal handling. If you need a component to execute between RPC calls then signal handlers would be the way to go. A private signal handler can perform the operations you need and block for RPC by

Re: preparing ports

2018-04-13 Thread Emery Hemingway
Hey, Sadly Khronos is updating the EGL headers in place, so I will try to find a versioned location. Emery On Fri, 13 Apr 2018 16:51:43 +0200 Roman Iten wrote: > Hi > > I have problems preparing some ports (on current master, d54f95d49): > > gnupg generate gnupg.hash >

Re: problem building depot for fb_sdl

2018-03-20 Thread Emery Hemingway
Hello, Fb_sdl uses the linux host SDL implementaion for a framebuffer, so you will need to install the Ubuntu SDL package, on my machine I believe it is libsdl1.2-dev. Emery On Tue, 20 Mar 2018 07:08:23 +0100 Duss Pirmin wrote: > Hello all > > I have two clones of Genode

Re: Genode affinity, multi-core separation and service encapsulation (core inferences)

2018-03-14 Thread Emery Hemingway
CPU balancing is pretty easy to manage at a higher level. For example, the Nim runtime balances additional Genode threads automatically, because the common high-level case is to create a thread pool for each CPU and push jobs to it. In other cases I assume that a thread will be blocked or block an

Re: getaddrinfo - Error: libc suspend() called from non-user context (0x117549a) - aborting

2018-02-07 Thread Emery Hemingway
Hello Johannes, The message "libc suspend() called from non-user context" indicates that you are using POSIX I/O from the initial Libc::Component 'kernel' context, and not the 'user' context. To switch to a user context, supply user level code as a lambda to the 'Libc::with_libc(...)' function.

Re: Roadmap 2018

2018-01-11 Thread Emery Hemingway
Hello list, I apologize for my absence from the mailing list, I didn't realize my subscription had ended until I noticed a link to the spectre thread on the front page of Hacker News :-) Two goals that I set at the begining of last year have turned out well, the Nim language works for reasonable

Re: Mosquitto library ported to Genode

2017-05-30 Thread Emery Hemingway
Hello Alexander, I'm glad to hear that our networking options are expanding! The 'lwip_tcpip_init()' should be called implicitly by the 'libc_lwip' library, so I believe your problems come from double initialization:

Re: Libreboot and GuixSD

2017-05-23 Thread Emery Hemingway
Hi Dawson, Genode is not directly bootable as a coreboot payload but is bootable from GRUB. As far as I know all the of the supported kernels on x86 use the multiboot standard, which is the same as Hurd, so you can cross-reference GRUB config snippets between the two. I'm a bit suprised you

Re: XML editing for dynamic subsystems

2017-05-06 Thread Emery Hemingway
Hey Norman, Extending the package management to cover some runtime configuration sounds great. Making subsystems clean and self-contained will be very helpful for distributing compositions that contain a lot of configuration. On Fri, 5 May 2017 11:46:45 +0200 Norman Feske

XML editing for dynamic subsystems

2017-05-04 Thread Emery Hemingway
Hello list, To continue last month's interactive GUI thread, I have a proposal for the interplay between GUIs and the subsystem manager. I too would like a new way of launching and managing subsystems, but I prefer not dedicate any on-screen area for persistent menus. I would also live without

Re: Socket fs

2017-03-27 Thread Emery Hemingway
Hello Boris, In my opinion, once you start using TCP/IP, you cross a complexity threshold where it makes sense to use high-level langauges or networking libraries. The alternative would be to use the lwIP raw API and avoid libc, but this is not exposed right now. Another option would be the Rust

Re: Roadmap 2017

2016-12-26 Thread Emery Hemingway
Hello list, My plans for the next year: Libc This next release will hopefully feature a more asynchronous VFS library which can move a number of improvements at libc forward. When the internals of libc settle and stabilize, I hope to make performance improvements to libc for the sake of my

Re: Listing a directory using the file system session

2016-12-15 Thread Emery Hemingway
for free, such as merging the same directory present in multiple File_system sessions. https://github.com/genodelabs/genode/blob/master/repos/os/src/lib/vfs/fs_file_system.h#L279 Cheers, Emery Hemingway On Thu, Dec 15, 2016 at 01:42:45PM +0100, Martijn Verschoor wrote: > Dear Genode commun

Netaidkit as an alternative wifi client

2016-09-28 Thread Emery Hemingway
Hello list, I come not with a problem but a solution, My laptop shipped with a wireless card not supported by the Genode wifi driver, and replacing the card model raises an error from the BIOS (which raises some suspicions of firmware interaction). This is usually not a problem as I have plenty

Re: Assembly at 33C3?

2016-09-28 Thread Emery Hemingway
I would also like to make it to congress this year, and would help with a Genode assembly. Emery On Wed, Sep 28, 2016 at 10:13:36AM +0200, Stefan Kalkowski wrote: > Hi Johannes, > > sorry for the late response. I don't know whether it is already to late > to apply for, but if you are still

Re: Build issue..."Not a git repository"

2016-07-13 Thread Emery Hemingway
Hello, It looks to me like this is caused by core and libc trying to get some version information from git, but it is failing because the current working directory (BUILD_DIR) is not inside a git repository. In the case of core it is only a cosmetic issue, and version information was removed from

Re: Recursive Nitpicker

2016-06-25 Thread Emery Hemingway
Hello Micheal, I have thought a bit about Genode chat clients, and I think the first concern is to seperate the crypto that protects a conversation from the GUI. If the critical code is isolated in a non-graphical component and a graphical frontend can interact with this core using something like

Re: libport usage and extra inclusion line

2016-06-22 Thread Emery Hemingway
I think I had the same issue with curl, I just filed an issue about this: https://github.com/genodelabs/genode/issues/2021 Emery On Wed, Jun 22, 2016 at 10:39:38AM +0200, Menno Valkema wrote: > Hello Christian, > > Thanks for your reply. A better example is the curl library. I've put > together

Re: [genode-main] network implementation example (for Parallella Board)

2016-05-16 Thread Emery Hemingway
Hello, If you want a really simple UDP example there is a TFTP client that uses the lwIP raw API. You can use the libc for "standard" sockets, but if performance isn't much of a concern than I think starting out with lwIP is a more pleasant choice.

Re: handling misbehaving filesystem drivers

2016-05-14 Thread Emery Hemingway
I think the thing to do is to leave the VFS static, but create a vfs plugin that is dynamic. Something like That keeps the VFS simple but with some optional complexity. Emery On Fri, May 13, 2016 at 05:52:44PM -0600, Nobody III wrote: > After thinking and going through

Re: Golang on Genode

2016-03-29 Thread Emery Hemingway
On Tue, Mar 29, 2016 at 08:45:39PM +, Petar Stupar wrote: > 2. Is there any reason why Golang wouldn't be a good choice as a language > on top of Genode? Although this seems to me as a very intuitive combination > perhaps there are concept/security issues I might have overlooked. As someone

Re: Roadmap 2016

2015-12-24 Thread Emery Hemingway
Hello list, For this next year I would personally like to see Genode host more network services, so more library support, more configuration idiom, and better support for virtual hosting environments. This is because I would like to migrate a few services that I manage myself, and to make Genode

Re: Roadmap 2016

2015-12-24 Thread Emery Hemingway
On Thu, Dec 24, 2015 at 11:46:42PM +1100, Jookia wrote: > Now, I mentioned 'proper' firewall system above in quotes. I'm not going to do > another rant, but rather focus on what I'd like to see on a firewall system: > Integration with system routing. I'd like to focus on per-application rules >

Nix port

2015-11-24 Thread Emery Hemingway
Hello list, This is a notice that I've cleaned up the Nix port and created a branch of the Genode master to test against. I've only managed to drive the toolchain part way to creating component binaries, but for now the problems seem to be in the domain of Noux. The core of the port has been

Re: libcrypto/openssl : Which to use

2015-05-07 Thread Emery Hemingway
On Wed, May 06, 2015 at 06:18:28AM -0700, Aditya Kousik wrote: ndn-cxx by itself has dependencies on boost libraries, libcrypto++, libsqlite3. Sqlite3 was already present. I wrote a libboost.port and cryptopp.port to compile before ndn-cxx, while manually adding the required header files of

Building Genode with Nix

2014-08-12 Thread Emery Hemingway
libraries into applications. Execute Genode and leave the build output and a log of the run in a directory in the Nix store. If there are any questions I will be lurking as 'emery' in the IRC channel on Freenode. As some of us like to say over here, If it ain't broke, you're not trying. Emery