Bug of 1G memory use.

v.shilkin v.shilkin at ...60...
Thu Oct 11 14:06:54 CEST 2012


Bug of 1G memory use.

*Description:*

When allow system using more than 512M of memory, user level apps 
execution can cause ‘Segmentation fault’ or glibc error.

*
Reproduction:*

*On PandaBoard:*

_In bootstrap_: in /base-foc/contrib/l4/mk/platforms/pandaboard.conf/

if set

/PLATFORM_RAM_SIZE_MB = *1024*/

(whole physical memory present on PandaBoard)//

//

And if allow L4Linux using more than 512M memory:

when modify run script: ‘/ports-foc/run/linux_panda.run’:/__

<start name="vmlinux.1" priority="-1">

<binary name="l4linux"/>

<resource name="RAM" quantum="796M"/>

<config args="mem=*754M* l4x_rd=initrd.gz">

<block label="sda" />

</config>

</start>

*(754M* is given for example*)*

System boots up. But user level apps can cause ‘Segmentation fault’ or 
glibc error.

Error is stable on command ‘*find*’ on fresh-booted system.

*On**QEMU:***

To support 1G of memory on Realview platform file 
‘/base-foc/contrib/l4/pkg/bootstrap/server/src/platform/rv.cc’/ 
(attached) was modified. (Address regions got from platform documentation.)

On system boot below error occurs:

/Assertion failed: 'idx < _nchips' [ret=0xf006f214]/

//Projects/l4bsdd/base-foc/contrib/kernel/fiasco/src/kern/irq_mgr_multi_chip.cpp:76 
at f0007c00/

There is no such error if Fiasco.OC was built with  –O1 gcc option (only 
with –O2), but L4Linux can’t boot anyway because of memory allocation error.

Best regards,
Vladimir Shilkin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20121011/2f079ffd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rv.cc
Type: text/x-c++src
Size: 1383 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20121011/2f079ffd/attachment.cc>


More information about the users mailing list