* qemu again :(
@ 2009-11-04 16:03 Steffen Sledz
2009-11-05 8:24 ` Robert P. J. Day
0 siblings, 1 reply; 5+ messages in thread
From: Steffen Sledz @ 2009-11-04 16:03 UTC (permalink / raw)
To: openembedded-devel
Yesterday i tried to use OE at my new notebook for the first time. But
i hit a qemu problem again:
# bitbake emacs (clean build)
ERROR: function do_compile failed
ERROR: log data follows
(/home/sledz/work/HydraIP/OE/tmp.4/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r1/temp/log.do_compile.8552)
| NOTE: make -j 8 QEMU=qemu-arm -s 1048576 -L
/home/sledz/work/HydraIP/OE/tmp.4/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r1/qemu-treedir
...
| mmap: Permission denied
| make[1]: *** [test-distrib] Error 255
All solutions for this problem i found see the cause in a wrong
setting of mmap_min_addr (see e.g.
<http://www.bugcommunity.com/wiki/index.php/Kernel_and_Rootfs_Build_System#Potential_Problems_.26_Their_Solutions:>).
But this setting is correct at my notebook:
# cat /proc/sys/vm/mmap_min_addr
0
Hmmmm? What else could be the cause for this error?
Steffen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: qemu again :(
2009-11-04 16:03 qemu again :( Steffen Sledz
@ 2009-11-05 8:24 ` Robert P. J. Day
2009-11-05 9:29 ` Steffen Sledz
0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2009-11-05 8:24 UTC (permalink / raw)
To: openembedded-devel
On Wed, 4 Nov 2009, Steffen Sledz wrote:
> Yesterday i tried to use OE at my new notebook for the first time. But
> i hit a qemu problem again:
>
> # bitbake emacs (clean build)
>
> ERROR: function do_compile failed
> ERROR: log data follows
> (/home/sledz/work/HydraIP/OE/tmp.4/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r1/temp/log.do_compile.8552)
> | NOTE: make -j 8 QEMU=qemu-arm -s 1048576 -L
> /home/sledz/work/HydraIP/OE/tmp.4/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r1/qemu-treedir
> ...
> | mmap: Permission denied
> | make[1]: *** [test-distrib] Error 255
>
> All solutions for this problem i found see the cause in a wrong
> setting of mmap_min_addr (see e.g.
> <http://www.bugcommunity.com/wiki/index.php/Kernel_and_Rootfs_Build_System#Potential_Problems_.26_Their_Solutions:>).
>
> But this setting is correct at my notebook:
>
> # cat /proc/sys/vm/mmap_min_addr
> 0
>
> Hmmmm? What else could be the cause for this error?
i suspect koen will hate me for this but i documented what it took
for me to build angstrom over at my wiki:
http://www.crashcourse.ca/wiki/index.php/Angstrom
and if you read carefully, you'll notice that even if that value is
correctly set to zero, you might still get an SELinux violation. it's
just a suggestion.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: qemu again :(
2009-11-05 8:24 ` Robert P. J. Day
@ 2009-11-05 9:29 ` Steffen Sledz
2010-01-12 12:06 ` Marc Olzheim
0 siblings, 1 reply; 5+ messages in thread
From: Steffen Sledz @ 2009-11-05 9:29 UTC (permalink / raw)
To: openembedded-devel
Robert P. J. Day wrote:
>> Yesterday i tried to use OE at my new notebook for the first time. But
>> i hit a qemu problem again:
>> ...
>> | mmap: Permission denied
>>
>> All solutions for this problem i found see the cause in a wrong
>> setting of mmap_min_addr (see e.g.
>> <http://www.bugcommunity.com/wiki/index.php/Kernel_and_Rootfs_Build_System#Potential_Problems_.26_Their_Solutions:>).
>>
>> But this setting is correct at my notebook:
>>
>> # cat /proc/sys/vm/mmap_min_addr
>> 0
> ...
> and if you read carefully, you'll notice that even if that value is
> correctly set to zero, you might still get an SELinux violation. it's
> just a suggestion.
Thanx for the hint, but there's no SELinux (and no Apparmor) running.
Steffen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: qemu again :(
2009-11-05 9:29 ` Steffen Sledz
@ 2010-01-12 12:06 ` Marc Olzheim
2010-01-18 10:57 ` Steffen Sledz
0 siblings, 1 reply; 5+ messages in thread
From: Marc Olzheim @ 2010-01-12 12:06 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
On Thu, Nov 05, 2009 at 10:29:32AM +0100, Steffen Sledz wrote:
> >> Yesterday i tried to use OE at my new notebook for the first time. But
> >> i hit a qemu problem again:
> >> ...
> >> | mmap: Permission denied
> >>
> >> All solutions for this problem i found see the cause in a wrong
> >> setting of mmap_min_addr (see e.g.
> >> <http://www.bugcommunity.com/wiki/index.php/Kernel_and_Rootfs_Build_System#Potential_Problems_.26_Their_Solutions:>).
> >>
> >> But this setting is correct at my notebook:
> >>
> >> # cat /proc/sys/vm/mmap_min_addr
> >> 0
>
> > ...
> > and if you read carefully, you'll notice that even if that value is
> > correctly set to zero, you might still get an SELinux violation. it's
> > just a suggestion.
>
> Thanx for the hint, but there's no SELinux (and no Apparmor) running.
I have the same problem on Ubuntu 9.10 (karmic).
When I pass -r 2.6.18 or lower to qemu though, the qemu hangs itself and
will never finish. With -r 2.6.19 and up, it gives me the "mmap: No such
device or address" message.
Did you find a solution in the mean time ?
Marc
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: qemu again :(
2010-01-12 12:06 ` Marc Olzheim
@ 2010-01-18 10:57 ` Steffen Sledz
0 siblings, 0 replies; 5+ messages in thread
From: Steffen Sledz @ 2010-01-18 10:57 UTC (permalink / raw)
To: openembedded-devel
Marc Olzheim wrote:
> I have the same problem on Ubuntu 9.10 (karmic).
> When I pass -r 2.6.18 or lower to qemu though, the qemu hangs itself and
> will never finish. With -r 2.6.19 and up, it gives me the "mmap: No such
> device or address" message.
>
> Did you find a solution in the mean time ?
No, sorry. Problem is still pending. :(
Steffen
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-01-18 17:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 16:03 qemu again :( Steffen Sledz
2009-11-05 8:24 ` Robert P. J. Day
2009-11-05 9:29 ` Steffen Sledz
2010-01-12 12:06 ` Marc Olzheim
2010-01-18 10:57 ` Steffen Sledz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.