Skip to contentSkip to conversation

Out of date warning?

DISCUSSION Gary Thomas 3 participants 3 messages Feb 25, 2011 – Feb 28, 2011

lore
Share & tools
lore
#0 lore raw

Poky just presented me with this warning (on a new machine), when building for an ARM (OMAP/3530) platform:

===================================================================================

$ bitbake omap-installer-image
Pseudo is not present but is required, building this first before the main build
ERROR:  Poky's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).

To fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.
===================================================================================

I know this warning was in place because Qemu was used to run some tasks, e.g. locale generation. My impression is that this is no longer the case, so do we still need this warning?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 10 lines · Gary Thomas

Poky just presented me with this warning (on a new machine), when building for an ARM (OMAP/3530) platform:

===================================================================================

$ bitbake omap-installer-image
Pseudo is not present but is required, building this first before the main build
ERROR:  Poky's config sanity checker detected a potential misconfiguration.
     Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
     Following is the list of potential problems / advisories:
Quoted 9 lines

/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).

To fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.
===================================================================================

I know this warning was in place because Qemu was used to run some tasks, e.g. locale generation. My impression is that this is no longer the case, so do we still need this warning?

We have a bug tracking the issue:
http://bugzilla.pokylinux.org/show_bug.cgi?id=543

Most recent update indicates that there are still edge cases which require this check to be in place, though possibly only when running qemu for arm images?

Cheers,
Joshua

Signature · 2 lines
Joshua Lock
        Intel Open Source Technology Centre
#2 lore raw
In reply to Gary Thomas

Gary,

Most of this check has already removed except for ARM.
In theory, check for ARM should also be removed. But there is some corner case need to be tested, and I'll try them.

Pls. see
http://bugzilla.pokylinux.org/show_bug.cgi?id=543

Quoted 34 lines · Gary Thomas

Poky just presented me with this warning (on a new machine), when building for an ARM (OMAP/3530) platform:

===================================================================================

$ bitbake omap-installer-image
Pseudo is not present but is required, building this first before the main build
ERROR:  Poky's config sanity checker detected a potential misconfiguration.
     Either fix the cause of this error or at your own risk disable 
the checker (see sanity.conf).
     Following is the list of potential problems / advisories:

/proc/sys/vm/mmap_min_addr is not 0. This will cause problems
with qemu so please fix the value (as root).

To fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.
===================================================================================

I know this warning was in place because Qemu was used to run some tasks, e.g. locale generation. My impression is that this is no longer the case, so do we still need this warning?

Signature · 8 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky