users Digest, Vol 59, Issue 6
Martin Stein
martin.stein at genode-labs.com
Mon Mar 6 09:24:38 CET 2023
Hi Yamini,
If you give your mails on this list a more sensible subject line than
"users Digest, Vol 59, Issue 6", you not only help others to follow the
list activities but also raise chances that someone with the required
expertise reads and answers your questions.
Regarding the test you ran: It finished successfully. AFAICT, these
warning and errors are not critical:
[init -> java] Warning: setrlimit: setrlimit not implemented
[init -> java] Warning: sysconf(71) not implemented
[init -> java] Error: no plugin found for socket()
[init -> java] Error: no plugin found for socket()
[init -> java] Warning: sysconf(56) not implemented
[init -> java] Warning: 8 dangling allocations at allocator destruction
[init -> java] Warning: 77 dangling allocations at allocator destruction
The "no plugin found" merely denotes that a (probably non-crucial) libc
function call is not backed with an actual implementation (Genode's libc
is completely modular). This is commonly seen in ported high-level
applications and normally no problem (see [1]).
The "not implemented" is likewise but with dummy implementations
installed by the developer that ported the application (see [2]).
Finally, the "dangling allocations" are a sign that the port still
misses to clean up things but its all at destruction time anyway and
therefore shouldn't hurt.
Cheers,
Martin
[1] grep -r "no plugin found for" repos/
[2] grep -r "warning.*not implemented" repos/
On 05.03.23 13:25, YamiNI ReddY wrote:
> Thanks for your suggestion.
> While running the simple run/java demo i got the following error
> suggesting that socket plugin is not found during init and some more
> warnings.
> i have used kernel=hw and BOARD=virt_qemu_arm_v7a
>
>
> Kindly give some advice on how to proceed further.
>
> Best,
> YAMINI.
>
>
>
>
> kernel initialized
> ROM modules:
> ROM: [40116000,40124703) Genode - Genode News.htm
> ROM: [403ce000,41e86000) classes.tar
> ROM: [403cd000,403cd74a) config
> ROM: [43274000,43275000) core_log
> ROM: [42003000,42005800) hello.tar
> ROM: [41fa0000,41fdc570) init
> ROM: [4027e000,402804c0) java
> ROM: [40125000,4013cd44) java.lib.so <http://java.lib.so>
> ROM: [41f0d000,41f14978) jimage.lib.so <http://jimage.lib.so>
> ROM: [40142000,40150728) jli.lib.so <http://jli.lib.so>
> ROM: [40108000,40115728) jnet.lib.so <http://jnet.lib.so>
> ROM: [42048000,42df47a0) jvm.lib.so <http://jvm.lib.so>
> ROM: [42041000,42047588) jzip.lib.so <http://jzip.lib.so>
> ROM: [41f15000,41f9f9d0) ld.lib.so <http://ld.lib.so>
> ROM: [40281000,403a92f4) libc.lib.so <http://libc.lib.so>
> ROM: [4201d000,42040f90) libm.lib.so <http://libm.lib.so>
> ROM: [4013d000,401414d0) management.lib.so <http://management.lib.so>
> ROM: [41f01000,41f0c648) nio.lib.so <http://nio.lib.so>
> ROM: [43272000,43273000) platform_info
> ROM: [42006000,42008800) servlet.tar
> ROM: [40151000,4027db38) stdcxx.lib.so <http://stdcxx.lib.so>
> ROM: [41ff7000,4200241c) timer
> ROM: [41fdd000,41ff6c1c) tzdb.dat
> ROM: [41e86000,41e91ca4) verify.lib.so <http://verify.lib.so>
> ROM: [403aa000,403cc690) vfs
> ROM: [41e92000,41f00970) vfs.lib.so <http://vfs.lib.so>
> ROM: [42009000,4201c66c) zlib.lib.so <http://zlib.lib.so>
>
> Genode 22.08
> 1997 MiB RAM and 64535 caps assigned to init
> [init -> java] Warning: setrlimit: setrlimit not implemented
> [init -> java] Warning: sysconf(71) not implemented
> [init -> java] Error: no plugin found for socket()
> [init -> java] Error: no plugin found for socket()
> [init -> java] Warning: sysconf(56) not implemented
> [init -> java] patch_verified_entry:304 called dest 2000a7d0 verf 20152d80
> [init -> java] patch_verified_entry:304 called dest 2000a7d0 verf 20145210
> [init -> java] Hello, Genode!
> [init -> java]
> [init -> java] Individual compiler times (for compiled methods only)
> [init -> java] ------------------------------------------------
> [init -> java]
> [init -> java] C1 {speed: 10180 bytes/s; standard: 1.261 s, 12835
> bytes, 96 methods; osr: 0.000 s, 0 bytes, 0 methods; nmethods_size:
> 89948 bytes; nmethods_code_size: 45600 bytes}
> [init -> java] C1 Compile Time: 1.241 s
> [init -> java] Setup time: 0.008 s
> [init -> java] Build HIR: 0.577 s
> [init -> java] Parse: 0.447 s
> [init -> java] Optimize blocks: 0.018 s
> [init -> java] GVN: 0.031 s
> [init -> java] Null checks elim: 0.018 s
> [init -> java] Range checks elim: 0.022 s
> [init -> java] Other: 0.041 s
> [init -> java] Emit LIR: 0.376 s
> [init -> java] LIR Gen: 0.135 s
> [init -> java] Linear Scan: 0.226 s
> [init -> java] Other: 0.015 s
> [init -> java] Code Emission: 0.129 s
> [init -> java] Code Installation: 0.135 s
> [init -> java] Other: 0.016 s
> [init -> java] JVMCI code install time: 0.000 s
> [init -> java]
> [init -> java] Accumulated compiler times
> [init -> java] ----------------------------------------------------------
> [init -> java] Total compilation time : 1.261 s
> [init -> java] Standard compilation : 1.261 s, Average : 0.013 s
> [init -> java] Bailed out compilation : 0.000 s, Average : nan s
> [init -> java] On stack replacement : 0.000 s, Average : nan s
> [init -> java] Invalidated : 0.000 s, Average : nan s
> [init -> java]
> [init -> java] C1 Compile Time: 1.241 s
> [init -> java] Setup time: 0.008 s
> [init -> java] Build HIR: 0.577 s
> [init -> java] Parse: 0.447 s
> [init -> java] Optimize blocks: 0.018 s
> [init -> java] GVN: 0.031 s
> [init -> java] Null checks elim: 0.018 s
> [init -> java] Range checks elim: 0.022 s
> [init -> java] Other: 0.041 s
> [init -> java] Emit LIR: 0.376 s
> [init -> java] LIR Gen: 0.135 s
> [init -> java] Linear Scan: 0.226 s
> [init -> java] Other: 0.015 s
> [init -> java] Code Emission: 0.129 s
> [init -> java] Code Installation: 0.135 s
> [init -> java] Other: 0.016 s
> [init -> java]
> [init -> java] Total compiled methods : 96 methods
> [init -> java] Standard compilation : 96 methods
> [init -> java] On stack replacement : 0 methods
> [init -> java] Total compiled bytecodes : 12835 bytes
> [init -> java] Standard compilation : 12835 bytes
> [init -> java] On stack replacement : 0 bytes
> [init -> java] Average compilation speed : 10180 bytes/s
> [init -> java]
> [init -> java] nmethod code size : 45600 bytes
> [init -> java] nmethod total size : 89948 bytes
> [init -> java] Warning: 8 dangling allocations at allocator destruction time
> [init -> java] Warning: 77 dangling allocations at allocator destruction
> time
> [init] child "java" exited with exit value 0
> un script execution successful.
>
>
>
> On Sun, Mar 5, 2023 at 4:30 PM <users-request at lists.genode.org
> <mailto:users-request at lists.genode.org>> wrote:
>
> Send users mailing list submissions to
> users at lists.genode.org <mailto:users at lists.genode.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.genode.org/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at lists.genode.org
> <mailto:users-request at lists.genode.org>
>
> You can reach the person managing the list at
> users-owner at lists.genode.org
> <mailto:users-owner at lists.genode.org>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Porting OpenJDK in Genode. (YamiNI ReddY)
> 2. Re: Porting OpenJDK in Genode. (Sebastian Sumpf)
> 3. Re: Porting OpenJDK in Genode. (Timo Nicolai)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 5 Mar 2023 14:59:42 +0530
> From: YamiNI ReddY <yaminireddycareerlife at gmail.com
> <mailto:yaminireddycareerlife at gmail.com>>
> To: Genode users mailing list <users at lists.genode.org
> <mailto:users at lists.genode.org>>
> Subject: Porting OpenJDK in Genode.
> Message-ID:
>
> <CAD8FX-r06iERDerV6A+cysmHtSSOb-bGWuFdrAwOmEa2+dEoVQ at mail.gmail.com
> <mailto:CAD8FX-r06iERDerV6A%2BcysmHtSSOb-bGWuFdrAwOmEa2%2BdEoVQ at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Genodians,
>
> I am writing to you to request your guidance on porting OpenJDK to run
> simple java programs in Genode. As I have been looking into the
> possibilities of running OpenJDK on Genode.
>
> I have been searching for documentation and resources on the
> subject, but I
> have not been able to find any comprehensive guide that explains the
> process in detail.
>
> Could you please guide me on the steps involved in porting OpenJDK to
> Genode?
> Additionally, if you know of any resources or documentation that
> could be
> useful for me, I would be grateful if you could share them with me.
>
> Thank you very much for your time and consideration.
>
> Best regards,
> Yamini
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.genode.org/pipermail/users/attachments/20230305/1475def1/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 5 Mar 2023 10:38:42 +0100
> From: Sebastian Sumpf <Sebastian.Sumpf at genode-labs.com
> <mailto:Sebastian.Sumpf at genode-labs.com>>
> To: users at lists.genode.org <mailto:users at lists.genode.org>
> Subject: Re: Porting OpenJDK in Genode.
> Message-ID: <6bd3d3e6-0b03-6027-5f43-195195c72128 at genode-labs.com
> <mailto:6bd3d3e6-0b03-6027-5f43-195195c72128 at genode-labs.com>>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hi Yamini,
>
> On 3/5/23 10:29, YamiNI ReddY wrote:
> > Dear Genodians,
> >
> > I?am writing to you to request your guidance on porting OpenJDK to
> run simple
> > java programs in Genode. As I have been looking into the
> possibilities of
> > running OpenJDK on Genode.
> >
> > I have been searching for documentation and resources on the
> subject, but I have
> > not been able to find any comprehensive guide that explains the
> process in detail.
> >
> > Could you please guide me on the steps involved in porting OpenJDK
> to Genode?
> > Additionally, if you know of any resources or documentation that
> could be useful
> > for me, I would be grateful if you could share them with me.
> >
> > Thank you very much for your time and consideration.
> >
>
> There is a port of OpenJDK 9 in our world [1] repo. It runs on
> x86_64 and
> arm_v7. You can test drive a simple hello using the java.run script,
> e.g.,
>
> make KERNEL=linux BOARD=linux run/java
>
> [1] https://github.com/genodelabs/genode-world/tree/master/src/app/jdk
>
> Regards,
>
> Sebastian
>
>
>
> --
> Sebastian Sumpf
> Genode Labs
>
> http://www.genode-labs.com ? http://genode.org
>
> Genode Labs GmbH ? Amtsgericht Dresden ? HRB 28424 ? Sitz Dresden
> Gesch?ftsf?hrer: Dr.-Ing. Norman Feske, Christian Helmuth
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 5 Mar 2023 10:36:24 +0100
> From: Timo Nicolai <timo.nicolai at gapfruit.com
> <mailto:timo.nicolai at gapfruit.com>>
> To: users at lists.genode.org <mailto:users at lists.genode.org>
> Subject: Re: Porting OpenJDK in Genode.
> Message-ID: <65beac6f-982c-2dd1-ba49-e2062128c045 at gapfruit.com
> <mailto:65beac6f-982c-2dd1-ba49-e2062128c045 at gapfruit.com>>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hello Yamini,
>
> An OpenJDK port already exists in the genode-world repository
> (https://github.com/genodelabs/genode-world).
>
> Best regards,
> Timo
>
> On 05.03.23 10:29, YamiNI ReddY wrote:
> > Dear Genodians,
> >
> > I?am writing to you to request your guidance on porting OpenJDK to
> run
> > simple java programs in Genode. As I have been looking into the
> > possibilities of running OpenJDK on Genode.
> >
> > I have been searching for documentation and resources on the subject,
> > but I have not been able to find any comprehensive guide that
> explains
> > the process in detail.
> >
> > Could you please guide me on the steps involved in porting OpenJDK to
> > Genode?
> > Additionally, if you know of any resources or documentation that
> could
> > be useful for me, I would be grateful if you could share them with me.
> >
> > Thank you very much for your time and consideration.
> >
> > Best regards,
> > Yamini
> >
> >
> > _______________________________________________
> > Genode users mailing list
> > users at lists.genode.org <mailto:users at lists.genode.org>
> > https://lists.genode.org/listinfo/users
>
> --
> Timo Nicolai
> Operating Systems Engineer
> Gapfruit AG
> Baarerstrasse 135
> 6300 Zug - Switzerland
> timo.nicolai at gapfruit.com <mailto:timo.nicolai at gapfruit.com>
> https://gapfruit.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.genode.org/pipermail/users/attachments/20230305/5c9186d5/attachment-0001.htm>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> users mailing list
> users at lists.genode.org <mailto:users at lists.genode.org>
> https://lists.genode.org/listinfo/users
>
>
> ------------------------------
>
> End of users Digest, Vol 59, Issue 6
> ************************************
>
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users
>
More information about the users
mailing list