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'
  Library vfs.abi.so
  Library ld.abi.so
  Library base.lib.a
  Library ldso_so_support.lib.a
  Library vfs.lib.so
  Library format.lib.a
  Library lwext4.lib.a
  Library vfs_lwext4.lib.so
  Library syscall-linux.lib.a
  Library base-linux-common.lib.a
  Library timeout.lib.a
  Library startup-linux.lib.a
  Library cxx.lib.a
  Library seccomp.lib.a
  Library base-linux.lib.a
  Library ld-linux.lib.so
  Library ld.lib.so
  Library core-linux.lib.a
  Program core/linux/core-linux
    COMPILE  version.o
    LINK     core-linux
  Program init/init
  Library lx_hybrid.lib.a
  Program server/lx_block/lx_block
  Program server/report_rom/report_rom
  Program server/vfs/vfs
  Library libc.abi.so
  Program test/libc_vfs/test-libc_vfs
  Program 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>
17592186044415 MiB RAM and 18997 caps assigned to init
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
[init -> vfs_lwext4_fs]   0x40000000 .. 0x4fffffff: stack area
[init -> vfs_lwext4_fs]   0x50000000 .. 0x601b2fff: ld.lib.so
[init -> vfs_lwext4_fs]   0x10f5b000 .. 0x10ffffff: vfs.lib.so
[init -> test-libc_vfs] Error: ROM-session creation failed (label="libc.lib.so", ram_quota=6K, cap_quota=3, )
[init -> test-libc_vfs] Error: could not open ROM session for "libc.lib.so"
[init -> test-libc_vfs] Error: LD: exception during program load: 'Genode::Rom_connection::Rom_connection_failed'
[init -> test-libc_vfs] Error: Uncaught exception of type 'Genode::Rom_connection::Rom_connection_failed'
[init -> test-libc_vfs] Warning: abort called - thread: ep
make: Leaving directory '/home/rumen/genode/build/x86_64'

Attachment: 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/

Reply via email to