LDSO Question
Sam Kerr
kerr.sam at ...9...
Thu Mar 17 15:01:03 CET 2011
I enabled debugging output for LDSO. The relevant output for my scenario is:
thread 'ldso' has id 0x01020002 (task = 0x2, thread = 0x8)
thread 'ldso' has id 0x04804002 (task = 0x9, thread = 0x1)
[init -> ldso] Starting ldso ...
[init -> ldso] /libexec/ld-elf.so.1 is initialized, base address = 30000
[init -> ldso] RTLD dynamic = 57974
[init -> ldso] RTLD pltgot = 0
[init -> ldso] loading main program
[init -> ldso] void* mmap(void*, size_t, int, int, int, off_t): addr: 30000 length: 3c000 flags: 20002
[init -> ldso] void* mmap(void*, size_t, int, int, int, off_t): fd: 0, prot: 5 offs: 1000
[init -> ldso] realloc - not yet implemented
04804002 pf @ fffffffc, ip=000432ad
--- "KD# user touches kernel area" ---
--------------------------------- (eip=f010c342, esp=f01163c7) ---
> go
no RM attachment (READ pf_addr=fffffffc pf_ip=432ad from 1201 (raw 04804002))
invalid signal-context capability
I wasn't really sure what to do as far as config files went. I found the following through a google search:
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start>
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="vesa_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Framebuffer"/></provides>
</start>
<start name="launchpad">
<resource name="RAM" quantum="32M"/>
</start>
<start name="ldso">
<resource name="RAM" quantum="32M"/>
</start>
<start name="sharedlib">
<resource name="RAM" quantum="10M"/>
</start>
<memsection name="ldso" file="ldso" direct="true" />
</config>
Thanks for any help!
-Sam Kerr
On Mar 17, 2011, at 9:35 AM, Sebastian Sumpf wrote:
> Hi Sam,
>
> can you send me your Genode 'config' file? Furthermore, please set the
> 'DEBUG' variable in '<GENODE>/os/src/ldso/target.inc' to '1', recompile
> ldso, start your scenario, and attach the produced output as well.
>
> -- Sebastian
>
> On 03/17/2011 01:04 PM, Sam Kerr wrote:
>> Hi All,
>>
>> I have been trying to work with the LDSO library and have been having some more package. I am running Genode on top of Pistachio.
>>
>> I created a bootable image with the LDSO module, but when I start the disk, I get the following error message from LDSO:
>>
>> [init -> ldso] Starting ldso ...
>> [init -> ldso] realloc - not yet implemented
>> 04804002 pf @ fffffffc, ip=00042ecd
>> --- "KD# user touches kernel area" ---
>> --------------------------------- (eip=f010c342, esp=f01163c7) ---
>>
>> It's clear that realloc is not implemented, but is this provided in some other file? How do I work with the LDSO code?
>>
>> -Sam Kerr
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> Genode-main mailing list
>> Genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
More information about the users
mailing list