Hi Genodians
I'm currently looking into CBE and have read the articles and release notes about it.
Now I'm trying it out using the vfs_cbe_init and vfs_cbe runscripts on genode 21.02. When running vfs_cbe i get the following error:
[17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Exception raised: explicit raise in cbe-block_io.adb:753 [17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Uncaught exception of type 'Ada::Exception::Program_Error'
What am I missing?
Kind regards Stefan
Hi Stefan,
I'm not able to reproduce the error on my Genode 21.02. Unfortunately, from the log output alone, I cannot deduce a lot. Only that the block-IO back-end module of the CBE device driver (vfs_cbe) is being told that one of its requests is now processed but the module is not in a state were it would expect such a statement.
Did you do "make run/vfs_cbe_init BOARD=linux KERNEL=linux" and after that "make run/vfs_cbe BOARD=linux KERNEL=linux" ?
As a general background information regarding the CBE: We're currently working at getting the CBE into a productive use case - namely our Sculpt systems used for our daily work. But so far, the CBE is not tested against real-life work loads.
Cheers, Martin
El 12.03.21 a las 12:50, Stefan Thöni escribió:
Hi Genodians
I'm currently looking into CBE and have read the articles and release notes about it.
Now I'm trying it out using the vfs_cbe_init and vfs_cbe runscripts on genode 21.02. When running vfs_cbe i get the following error:
[17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Exception raised: explicit raise in cbe-block_io.adb:753 [17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Uncaught exception of type 'Ada::Exception::Program_Error'
What am I missing?
Kind regards Stefan
Hi Stefan,
A colleague of mine just gave me a hint: Are you aware that the CBE is currently only meant for x86_64? It's not that the code has explicit architecture-specific parts but we have never tested it on ARM for instance and I wouldn't be surprised if there hide some subtle issues.
May I ask on which architecture are you running?
Cheers, Martin
El 17.03.21 a las 13:44, Martin Stein escribió:
Hi Stefan,
I'm not able to reproduce the error on my Genode 21.02. Unfortunately, from the log output alone, I cannot deduce a lot. Only that the block-IO back-end module of the CBE device driver (vfs_cbe) is being told that one of its requests is now processed but the module is not in a state were it would expect such a statement.
Did you do "make run/vfs_cbe_init BOARD=linux KERNEL=linux" and after that "make run/vfs_cbe BOARD=linux KERNEL=linux" ?
As a general background information regarding the CBE: We're currently working at getting the CBE into a productive use case - namely our Sculpt systems used for our daily work. But so far, the CBE is not tested against real-life work loads.
Cheers, Martin
El 12.03.21 a las 12:50, Stefan Thöni escribió:
Hi Genodians
I'm currently looking into CBE and have read the articles and release notes about it.
Now I'm trying it out using the vfs_cbe_init and vfs_cbe runscripts on genode 21.02. When running vfs_cbe i get the following error:
[17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Exception raised: explicit raise in cbe-block_io.adb:753 [17:28:25.837] [init -> initialize_cbe -> init -> vfs_cbe] Error: Uncaught exception of type 'Ada::Exception::Program_Error'
What am I missing?
Kind regards Stefan
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hi Martin
I found the problem: We've modified lx_fs to check that symlinks stay within the core root directory. This conflicted with the vfs_cbe runscript's symlink to the disk image.
A colleague of mine just gave me a hint: Are you aware that the CBE is currently only meant for x86_64? It's not that the code has explicit architecture-specific parts but we have never tested it on ARM for instance and I wouldn't be surprised if there hide some subtle issues.
Thanks for this important hint.
May I ask on which architecture are you running?
I tested on x86_64 but we'll be using CBE eventually on ARM.
Best regards Stefan
Hi Stefan,
I'm glad you found the problem :)
In case you start experimenting with the CBE on ARM earlier than we do I would be very curious what will be your findings!
Cheers, Martin
El 17.03.21 a las 14:25, Stefan Thöni escribió:
Hi Martin
I found the problem: We've modified lx_fs to check that symlinks stay within the core root directory. This conflicted with the vfs_cbe runscript's symlink to the disk image.
I tested on x86_64 but we'll be using CBE eventually on ARM.
Best regards Stefan
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users