Thank you for the resources. However, I am stuck on running the run script from [2]. The only changes I made to the run script were related to the build options to fix some initial errors (I have attached the modified script below).
The error I get stuck on seems to be related to the ROM-Session, I have attached a log file below. Best, Rumen ________________________________ From: Josef Söntgen <josef.soent...@genode-labs.com> Sent: Tuesday, August 13, 2024 3:58 PM To: Genode users mailing list <users@lists.genode.org> Subject: Re: Logging Based File System Support in Genode Hi Rumen, > > Does anyone know of any projects / plugins that support a logging file > > system (e.g. ext3/4) in Genode? > > There is lwext4_fs in the genode-world repository. I never used it, > therefore I can't tell you about state it is in. There is indeed a port of the 'lwext4' [1] library for Genode and by now a VFS plugin that utilizes the library. However, I recently moved it from genode-world to my personal Genode “playground” [2]. [1] https://github.com/gkostka/lwext4 [2] https://codeberg.org/jws/genode-wundertuete/src/branch/sculpt-24.04-2024-04-19 I use it on a daily basis (it is integrated in my personal Sculpt branch [3]) and at least in my limited usage it works well enough. There are known limitations in the library (some features of Ext4 that are enabled by default by now are not supported so you have to prepare the FS in a certain way and sparse files are not supported) and the plugin itself is quite plain. [3] https://github.com/cnuke/genode/commits/sculpt-24.04-2024-04-26/ So, since you aim for a “logging file system”, I assume your use-case might require specific properties and given its current state, the 'vfs_lwext4' plugin probably does not fit the bill. Regards Josef -- Josef Söntgen Genode Labs http://www.genode-labs.com/ · http://genode.org/
make: Entering directory '/home/rumen/genode/build/x86_64' including /home/rumen/genode/tool/run/power_on/linux including /home/rumen/genode/tool/run/log/linux including /home/rumen/genode/tool/run/boot_dir/linux including /home/rumen/genode/repos/wundertree/run/vfs_lwext4.run building targets: core init timer server/lx_block server/report_rom server/vfs lib/vfs lib/vfs_lwext4 test/libc_vfs lib/ld spawn make core init timer server/lx_block server/report_rom server/vfs lib/vfs lib/vfs_lwext4 test/libc_vfs lib/ld make[1]: Entering directory '/home/rumen/genode/build/x86_64' [00;33mLibrary[0m vfs.abi.so [00;33mLibrary[0m ld.abi.so [00;33mLibrary[0m base.lib.a [00;33mLibrary[0m ldso_so_support.lib.a [00;33mLibrary[0m vfs.lib.so [00;33mLibrary[0m format.lib.a [00;33mLibrary[0m lwext4.lib.a [00;33mLibrary[0m vfs_lwext4.lib.so [00;33mLibrary[0m syscall-linux.lib.a [00;33mLibrary[0m base-linux-common.lib.a [00;33mLibrary[0m timeout.lib.a [00;33mLibrary[0m startup-linux.lib.a [00;33mLibrary[0m cxx.lib.a [00;33mLibrary[0m seccomp.lib.a [00;33mLibrary[0m base-linux.lib.a [00;33mLibrary[0m ld-linux.lib.so [00;33mLibrary[0m ld.lib.so [00;33mLibrary[0m core-linux.lib.a [01;33mProgram[0m core/linux/core-linux COMPILE version.o LINK core-linux [01;33mProgram[0m init/init [00;33mLibrary[0m lx_hybrid.lib.a [01;33mProgram[0m server/lx_block/lx_block [01;33mProgram[0m server/report_rom/report_rom [01;33mProgram[0m server/vfs/vfs [00;33mLibrary[0m libc.abi.so [01;33mProgram[0m test/libc_vfs/test-libc_vfs [01;33mProgram[0m timer/linux/linux_timer_drv make[1]: Leaving directory '/home/rumen/genode/build/x86_64' genode build completed checking configuration syntax CHECK init spawn ./core Genode 24.05 <local changes>[0m 17592186044415 MiB RAM and 18997 caps assigned to init[0m stat: No such file or directory terminate called after throwing an instance of 'Lx_block_driver::Could_not_open_file' [init -> vfs_lwext4_fs] 0x1000000 .. 0x10ffffff: linker area[0m[0m [init -> vfs_lwext4_fs] 0x40000000 .. 0x4fffffff: stack area[0m[0m [init -> vfs_lwext4_fs] 0x50000000 .. 0x601b2fff: ld.lib.so[0m[0m [init -> vfs_lwext4_fs] 0x10f5b000 .. 0x10ffffff: vfs.lib.so[0m[0m [init -> test-libc_vfs] [31mError: ROM-session creation failed (label="libc.lib.so", ram_quota=6K, cap_quota=3, )[0m[0m [init -> test-libc_vfs] [31mError: could not open ROM session for "libc.lib.so"[0m[0m [init -> test-libc_vfs] [31mError: LD: exception during program load: 'Genode::Rom_connection::Rom_connection_failed'[0m[0m [init -> test-libc_vfs] [31mError: Uncaught exception of type 'Genode::Rom_connection::Rom_connection_failed'[0m[0m [init -> test-libc_vfs] [34mWarning: abort called - thread: ep[0m[0m make: Leaving directory '/home/rumen/genode/build/x86_64'
vfs_lwext4.run
Description: vfs_lwext4.run
_______________________________________________ users mailing list -- users@lists.genode.org To unsubscribe send an email to users-le...@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/33VD4C3CO2RJWHAOH7OXOJCLDSKZAEYP/