Re: Roadmap 2024

2023-12-22 Thread Duss Pirmin via users
Hello Norman and all fellow Genodians In this I only speak of my private achievements / plans, the company I'm working for, will write a separate reply. On 21.12.23 16:57, Norman Feske wrote: Do you see specific pain points that deserve the attention of Genode's core developer team? For my

Re: debugging VFS plugins with monitor

2023-09-27 Thread Duss Pirmin
/ld.lib.so. With this the breakpoints do not work (running is fine). The following commands fix this for me: ! cd /x86_64/debug ! rm ld.lib.so ! ln -s ld-nova.lib.so ld.lib.so I just wanted to make everybody aware of this. Regards Pirmin On 27.09.23 08:01, Duss Pirmin wrote: Hallo Christian Thanks

Re: debugging VFS plugins with monitor

2023-09-26 Thread Duss Pirmin
Hallo Christian Thanks for the Information. This helped. As the commands you listed we not in run/monitor_gdb_interactive, I was under the impression, that they are part of the automated test in run/monitor_gdb. Now I can try to analyze the problem in vfs_tresor_trust_anchor. Regards, Pirmin

debugging VFS plugins with monitor

2023-09-26 Thread Duss Pirmin
Hello Genodians I really like the new monitor component, it is really easy to use. For a first real world application, I'm trying to debug why run/vfs_tresor_init fails after the update of openssl. For this I changed the run script so that I can run it on QEMU. I can connect to the monitor a

openssl v3.X port for Genode

2023-07-19 Thread Duss Pirmin
Hello Genodians Just a quick heads-up to avoid duplicate work. We need openssl v3.X support for a project we are working on. Therefore I'm currently creating a port of openssl 3.1.1. As some APIs have changed or were entirely replaced by new ones, I'm naming the port openssl3 so each compone

Re: Update generated dummies for wireguard

2023-07-03 Thread Duss Pirmin
On 03.07.23 14:55, Christian Helmuth wrote: Hey, On Mon, Jul 03, 2023 at 13:50:44 CEST, Duss Pirmin wrote: The new code is much less invasive. I'm currently debugging, why do_settimeofday64() accesses address 0x0. Maybe I'm calling it too early but I think, that I will figur

Re: Update generated dummies for wireguard

2023-07-03 Thread Duss Pirmin
Hello Christian On 03.07.23 12:20, Christian Helmuth wrote: On Mon, Jul 03, 2023 at 11:26:47 CEST, Christian Helmuth wrote: Then, I noted that you wrote "RTC stub" and realized you may refer to connecting wireguard/virt_linux to the Genode RTC service. In this case, I'd like to ask if it may be

Update generated dummies for wireguard

2023-07-02 Thread Duss Pirmin
Hello Genodians I'm currently adding a RTC-driver (see earlier question by Stefan Thöni https://lists.genode.org/pipermail/users/2023-May/008704.html). To achieve this I need some additional source files from the Kernel tree. This leads to some more unresolved symbols that can probably be co

Re: Customizing the Goa run-stage

2023-06-23 Thread Duss Pirmin
Hello Johannes, Thank you for sharing your thoughts. On 21.06.23 14:47, Johannes Schlatow wrote: In principle, such extensions are reasonable. In the case of jitter_sponge, however, this would mean that we needed to make the Goa release dependent on the genode-world repo. I would rather avo

Customizing the Goa run-stage

2023-06-21 Thread Duss Pirmin
Hello Genodians The direction Goa is evolving is really cool! The new and upcoming features address topics that are perfectly aligned with how we currently use, or plan to use Goa. In addition to what is already addressed in issue #44 [1], in order to run or test some more complex projects w

Sculpt: use second SSD for a VM

2023-02-09 Thread Duss Pirmin
Hello Genodians I have a notebook with two SSDs, On which I have installed Sculpt. I want to use the whole second disk for one VM. VMs that use partitions from the first disk work well. In the launcher for the VM using the whole second Disk I configured block access as follows: Where ahc

Goa: build working libraries for arm_v8a

2023-02-07 Thread Duss Pirmin
Hello Sebastian and all After a lot of trail and error, I'm finally able to build shared libraries for the arm_v8a platform. My test component (wasmedge) runs successful on my iMX8 device :-). It turns out, that when using gcc to link libraries the argument `-shared` passed by cmake seems to

Re: Goa: build libraries fails on arm_v8a

2023-02-02 Thread Duss Pirmin
Good morning Sebastian On 01.02.23 17:23, Sebastian Sumpf wrote: ! genode-aarch64-objdump -ph libc++.lib.so I have done this for the following combinations: library x86_64 arm_v8a --+-+--- libunwind.lib.so | X | X libc++abi.

Re: Goa: build libraries fails on arm_v8a

2023-02-01 Thread Duss Pirmin
Hello Sebastian Thanks for the quick patch. On 01.02.23 13:26, Sebastian Sumpf wrote: For Goa to build libraries the following version is required:   - repository: g...@gitlab.com:/gapfruit-community/goa.git   - branch: library_support This, I could not find and used the one from GitHub.

Re: Goa: build libraries fails on arm_v8a

2023-01-31 Thread Duss Pirmin
Hello Sebastian On 31.01.23 19:39, Sebastian Sumpf wrote: These are some very old issues (2011). Could you let me know how to reproduce this? The Goa project can be found as follows: - repository: g...@github.com:trimpim/wasmedge-genode.git - branch: llvm-arm_v8a_failure For Goa to buil

Goa: build libraries fails on arm_v8a

2023-01-31 Thread Duss Pirmin
Hello Genodians While extending my tests for the feature to build libraries with Goa, I encountered an error when building a library, that works well on x86_64, for arm_v8a. The error is as follows: /usr/local/genode/tool/21.05/bin/../lib/gcc/aarch64-none-elf/10.3.0/../../../../aarch64-none-

Re: using GOA to port libraries

2023-01-10 Thread Duss Pirmin
Hello Norman On 03.01.23 14:58, Norman Feske wrote: Hi Pirmin, I'm still working on the support to build libraries with Goa. > [...] I have cleaned up the commit series. 50dc357 is a bit big for my liking, but I failed to split it up in to smaller, reasonable commits. The current state

Re: using GOA to port libraries

2022-11-24 Thread Duss Pirmin
Hello Norman On 24.11.22 11:52, Norman Feske wrote: Hi Pirmin, I have now a first version of Goa that supports creation of libraries. > > [...] > > [1] https://github.com/trimpim/goa/tree/library_support thank you for sharing your work, which looks very promising. Thanks for the kind w

Re: Using Quectel EG25-G in ECM mode on PC

2022-09-02 Thread Duss Pirmin
Hi Sebastian Thanks for you quick reply. On 01.09.22 16:57, Sebastian Sumpf wrote: If the "AT" command gives you an "OK", you found the correct device. Note the modem exposes four UARTs. If this all is the case, a USB serial driver that exposes a terminal session  (like PL2303 [1]) is needed

Using Quectel EG25-G in ECM mode on PC

2022-09-01 Thread Duss Pirmin
Hello Genodians In the Release notes, I read that on the Pinephone it is possible to use the Quectel EG25-G in ECM mode to communicate over LTE. Which I find is a really great feature. We have a hardware (UP-Xtreme i7 8th gen) which comes with the same modem. I really like the idea of using

Monitoring components for CPU/segmentation faults

2022-07-05 Thread Duss Pirmin
Hello Genodians While searching for a solution to the problem of misbehaving components I stumbled upon `test-fault_detection` which gave me the idea to let init monitor the PD/CPU session of its children and report the error. The idea is that a monitor component can then decide what to do ab

Re: usage of new PC `platform_drv` and `pci_decode`

2022-06-28 Thread Duss Pirmin
Hello Stefan On 28.06.22 11:38, Stefan Kalkowski wrote The 'nvme.run' script in the mentioned topic branch is showcasing the configuration of the pci_decode component. It only needs to consume the report from the acpi_drv as well as the platform_info ROM module from core. Moreover, it needs acce

usage of new PC `platform_drv` and `pci_decode`

2022-06-28 Thread Duss Pirmin
Hello Genodians While debugging https://github.com/genodelabs/genode/issues/4538, I'm having trouble using the new `platfomr_drv` for the PC platform. From the release notes of 22.05, it seems that the new component `pci_decode` should be used to create the list of PCI devices. Searching for

Re: Launchers 101

2022-05-18 Thread Duss Pirmin
Hello John On 17.05.22 19:14, John J. Karcher wrote: Hello, Is there an introductory article about creating launchers in Sculpt, preferably from the config for a running component?  I thought I saw something like that, but I can't seem to find it. If you have a component running (see /confi

Re: Launchers 101

2022-05-17 Thread Duss Pirmin
Hello John On 17.05.22 19:14, John J. Karcher wrote: Hello, Is there an introductory article about creating launchers in Sculpt, preferably from the config for a running component?  I thought I saw something like that, but I can't seem to find it. If you have a component running (see /conf

Re: Launchers 101

2022-05-17 Thread Duss Pirmin
Hello John On 17.05.22 19:14, John J. Karcher wrote: Hello, Is there an introductory article about creating launchers in Sculpt, preferably from the config for a running component?  I thought I saw something like that, but I can't seem to find it. If you have a component running (see /conf

Re: restarting child components with resource saturation

2022-05-12 Thread Duss Pirmin
Hello Norman On 12.05.22 12:22, Norman Feske wrote: As the bottom line, resource saturation should only be used for static init configurations. Many thanks for the in depth explanation of what is going on when init is restarting components. I wasn't aware, that resource saturation should on

restarting child components with resource saturation

2022-05-11 Thread Duss Pirmin
Hello Genodians We have a somewhat complex scenario consisting of a hand full of components and (sub-)inits. The outermost deploy-config starts, besides others, the following components: - vfs - report_rom and other helper components - init (drivers runtime) - init (management ru

Re: Sculpt OS 22.04 Release Candidate (RC)

2022-04-20 Thread Duss Pirmin
Hello Josef On 19.04.22 13:12, Pirmin Duss wrote: Hello Josef On 4/19/22 11:57, Josef Söntgen wrote: If you are willing you can cherry-pick commit 'accab77' and give it a try. I'm willing to test your patch. I want to do a fresh install of my VM so there should be quite a bit of down load i

nova serial log output

2022-02-09 Thread Duss Pirmin
Hello Genodians I have a UP Xtreme board on which I want to run Genode on. it has a Intel core i7 8xxx [1]. This platform only supports UEFI boot. Starting Sculpt on the device from an USB stick works. The main problem I have currently, is that I do not receive any serial output from the ker

usb_modem and mbimcli

2021-10-25 Thread Duss Pirmin
Hello Genodians I have a SIMCOM 7600G mPCI modem, which I have configured to use MBIM mode. The device is recognized by `usb_drv` as follows: ``` ``` As described in the README of the driver I added a configuration to `usb_modem_drv. Most of the times when I

Re: Update intel wifi_drv

2021-09-13 Thread Duss Pirmin
Hi Stefan Many thanks for your feedback. As updating the driver isn't as easy as I have imagined it to be, we are currently discussing how to proceed. Best regards, Pirmin On 09.09.21 14:34, Stefan Kalkowski wrote: > Hi Pirmin, > > On Tue, Sep 07, 2021 at 02:14:24PM +0200, Pirmin Duss wrote: >

update openssl port

2020-12-17 Thread Duss Pirmin
Hi Genodians On December 08. 2020 the openssl project issued a security advisory (https://www.openssl.org/news/secadv/20201208.txt). I started looking into binging the latest version of openssl (1.1.1i) to Genode. I have a first version of the library that compiles on x86_64. When I started test

Re: iMX8 not all cores starting

2020-10-06 Thread Duss Pirmin
Hi Christian, Hi Stefan On 06.10.20 15:25, Christian Helmuth wrote: > Hi Pirmin, > > On Tue, Oct 06, 2020 at 15:06:35 CEST, Duss Pirmin wrote: >> How can I influence where a function is placed? I see, that in >> base/src/ld/genode.ld the content from crt0 is integ

Re: iMX8 not all cores starting

2020-10-06 Thread Duss Pirmin
Hi, On 06.10.20 13:44, Stefan Kalkowski wrote: > > The value 0xC403 is no register, but a SMC call [0] function > identifier, and part of the Power State Coordination Interface [1]. > So 0xfff7 seems to be -9, which means INVALID_ADDRESS > according to [1]. Looks like the provide

Re: iMX8 not all cores starting

2020-10-06 Thread Duss Pirmin
Hello Stefan Many thanks for the tips. I have stripped out all code from Bootstrap::Platform::Boot::Boot() except of a Genode::raw() call. This is currently the first output I see from bootstrap. I do now print print the value result after the asm call in wake_up_all_cpus(). The value of it is 0

iMX8 not all cores starting

2020-10-06 Thread Duss Pirmin
Hi Genodians As mentioned in an earlier mail I'm currently enabling base-hw on the IoT gateway of CompuLab [1]. The used SoC is a iMX8mm, which is a bit different from the iMX8mq used on the EVK [2]. On a running Linux I used `memtool` to read register values. In `src/bootstrap/spec/iot_gateway

Out of tree hardware platforms

2020-10-01 Thread Duss Pirmin
Hi Genodians I'm enabling base-hw on the IoT gateway of CompuLab [1]. I do this in a separate repository in the same way as arndale, panda etc are done in genode-world. This works well apart from some minor modifications on the imx8q_evk (for which I will create an issue as soon everything is fin

Re: Attached_mmio with platform_drv

2020-09-03 Thread Duss Pirmin
Hello Stefan > > The reason for the fault you've observed is that you access a 16-bit > register of the device with a 4-byte access. Please, assure that you > enter those 16-bit registers with 2-byte accesses. > When accessing the second I2C controller in bootstrap accordingly, the > cpu halts in

Re: Attached_mmio with platform_drv

2020-09-03 Thread Duss Pirmin
Hello Stefan On 02.09.20 17:00, Stefan Kalkowski wrote: > You encounter a synchronous, external data-abort. I don't know which I2C > bus you try to access, and what clocks you configured for it in the > device configuration of the platform driver. However, can you try to > access the same I2C bus

Re: Attached_mmio with platform_drv

2020-09-02 Thread Duss Pirmin
Hello Stefan On 01.09.20 13:46, Stefan Kalkowski wrote: > The Attached_mmio abstraction from the `os/include/os/attached_mmio.h` > header is no appropriated one for your use-case anymore. Instead you > might use the Attached_dataspace abstraction to map the I/O memory > into the address space, and

Re: virtual memory usage of base-linux components

2020-02-25 Thread Duss Pirmin
Hi Norman Many thanks. On 18.02.20 09:42, Norman Feske wrote: > Hi Pirmin, > > You can find the relevant definitions for linker area at [1] and for the > stack area at [2]. Note that the latter definition is Linux-specific. > > [1] > https://github.com/genodelabs/genode/blob/master/repos/base/

java execution time

2020-02-21 Thread Duss Pirmin
Hello Genodians I have a JAVA application that I execute on request by starting it in a sub init. When debugging why it takes about 6 seconds on x86_64 to handle a request I made the discovery that when Java is included via `import_from_depot` in the runs script, that the execution time goes down

virtual memory usage of base-linux components

2020-02-17 Thread Duss Pirmin
Hello Genodians I'm running a scenario on base-linux on a system that has virtual memory over commit disabled. While debugging startup problems of this scenario on the target system I realized that at "random" components didn't start without any hints in the log. `strace` showed that the compone

Re: Java fails to start when classes.tar is not loaded via the vfs tar plugin

2019-11-25 Thread Duss Pirmin
Hi Sebastian On 25.11.19 13:48, Sebastian Sumpf wrote: > Hi Pirmin, > > > I would suggest to test your scenario again with the upcoming Genode > release 19.11, (or current master) since a lot has been changed in the > VFS and libc implementations. If this does not help we will have to find > a w

Re: Java fails to start when classes.tar is not loaded via the vfs tar plugin

2019-11-21 Thread Duss Pirmin
Hello Sebastian On 21.11.19 10:53, Sebastian Sumpf wrote: > > I have tried to reproduce your issue by applying your commit and testing > it on base-hw in Qemu (pbxa9). This worked so far. The > 'NoClassDefFoundError' usually occurs if something goes wrong during > class compilation or dependency l

Java fails to start when classes.tar is not loaded via the vfs tar plugin

2019-11-20 Thread Duss Pirmin
Hello Genodians I'm tying to optimize the startup time of a java application (ARM board), as starting the JVM takes several seconds on our board. To do this, I tried to move the classes.tar in to a separate vfs component [1]. This crashes the JVM with the following error message: [init -> java]

Re: java applications and stdin

2019-10-22 Thread Duss Pirmin
Hi I have created a small example in genode-world that demonstrates the issue [1]. [1] https://github.com/trimpim/genode-world/commit/2df29ffad0fff8ec0edb257d693dd877e04c77c7 Regards, Pirmin signature.asc Description: OpenPGP digital signature ___

java applications and stdin

2019-10-21 Thread Duss Pirmin
Hello Genodians I'm trying to use the stdin file descriptor in a java application to pass data through a terminal to the application. When the application tries to read from the file descriptor, I get the following error message: [init -> init -> java] Error: no plugin found for read(0) If is st

Re: how to build an ISO for sel4

2019-08-20 Thread Duss Pirmin
hello minskey On 21.08.19 03:34, guo minskey wrote: > Hi,  all, > >      Is there any guide to build an ISO for seL4/genode for x86_64 platform ? > > I am new to Genode. I downloaded an ISO ( built by alex ??),  which works > in qemu-kvm, but doesn't work on my  Intel NUC hardware.  I want to

Re: jdk_generated: creating a classes.tar file

2019-08-09 Thread Duss Pirmin
Hi Sebastian On 09.08.19 13:17, Sebastian Sumpf wrote: > I downloaded > (https://api.github.com/repos/dmlloyd/openjdk/tarball/64892f1c9874938dfcdc235b5c051dd761cdd833) > and built OpenJDK on Linux (x86_64). The modules are than located > under:' /build/linux-x86_64-normal-server-release/jdk/module

Re: jdk_generated: creating a classes.tar file

2019-08-09 Thread Duss Pirmin
Hello On 09.08.19 09:11, Duss Pirmin wrote: > Hello Genodians > > I'm currently porting jtreg to Genode, so that I can run regression > tests for Java. > > This requires some .class files that aren't currently in the classes.tar > from the jdk_generated port. &g

jdk_generated: creating a classes.tar file

2019-08-09 Thread Duss Pirmin
Hello Genodians I'm currently porting jtreg to Genode, so that I can run regression tests for Java. This requires some .class files that aren't currently in the classes.tar from the jdk_generated port. Is there a short description, on how this file was created, so I can create an other version o

Re: import_from_depot size limitation

2019-08-06 Thread Duss Pirmin
Hello Stefan On 05.08.19 10:58, Stefan Kalkowski wrote: > Hello Pirmin, > > I was on vacation, so sorry for my late response. No problem, I hope you had a good time. > On Mon, Jul 22, 2019 at 08:09:47AM +0200, Duss Pirmin wrote: >> Heello Stefan >> >> Thanks

Re: import_from_depot size limitation

2019-07-21 Thread Duss Pirmin
Heello Stefan Thanks for the information. On 19.07.19 10:24, Stefan Kalkowski wrote: > can you check whether you might get an overlap of your uImage when > loaded to memory (from sd-card or network) and the final system image > copied to bootstrap's linking address? > > You might check your fina

import_from_depot size limitation

2019-07-18 Thread Duss Pirmin
Hello Genodians Is there a limit to the size (number of bytes or number of files) that can be added via import_from_depot (ARCH: imx6, KERNEL: hw)? I had a problem with a run script that sometimes hung (mkfs never completing) or sometimes crashed in different components (ip pointing to Genode::ip

Pre 19.05 compiler warnings "this statement may fall through"

2019-05-22 Thread Duss Pirmin
Hello Genodians While testing the update to Genode 19.05 I recognized many "this statement may fall through" warnings. I have created patches for the following files: base/include/util/string.h base/include/util/arg_string.h The patches are located at: https://github.com/trimpim/genode/tree/

pre 19.05 feedback: libc port update breaks mkfs from e2fsprogs

2019-05-21 Thread Duss Pirmin
Hello Genodians I'm running preparations for the transition to Genode 19.05. mkfs.run from https://github.com/trimpim/genode/tree/test-19.05-mkfs_fails fails with the error message (KERNEL=nova): "/dev/block: Memory allocation failed while setting up superblock". Through bisecting I determined,

Problem building src archive for component using Qt

2018-10-20 Thread Duss Pirmin
Hello Genodeans I have a component that uses QToolButton. When I build it in my run script, the build works well. When I want to build my src package I get the following error message: button.o:(.data.rel.ro._ZTIN14Launcher_slice6ButtonE[_ZTIN14Launcher_slice6ButtonE]+0x10): undefined refer

Re: Expanding an NVME partition to 1T hangs

2018-08-26 Thread Duss Pirmin
Hello again Quoting Duss Pirmin : If I boot the system afterwards, the partition is resized to 1T. Further investigations when bootet from a live Linux shows, that the inode count has not been updated. #df -i /mnt Filesystem Inodes IUsed IFree IUse% Mounted on

Expanding an NVME partition to 1T hangs

2018-08-26 Thread Duss Pirmin
Hello Genodeans I have upgraded my Sculpt notebook with a 1T NVME disk as I want to use different virtual machines. When I hit expand and configm, the expansion starts and about 20 seconds later the following message is printed: [runtime -> nvme-0.3.resize2fs] resource_request: ram_quota=

*****SPAM***** Sculpt TC and multi core virtual machines

2018-06-22 Thread Duss Pirmin
Spam detection software, running on the system "obelix.duss.local", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see root@localhost for details. Content preview: H