* [Xenomai-core] 'cannot map MAYDAY page' on blackfin
[not found] <9d74726e-8787-47c2-b138-a07a1164380f@domain.hid>
@ 2011-03-03 18:30 ` Денис Латышев
2011-03-25 10:41 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Денис Латышев @ 2011-03-03 18:30 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]
Hi All.
I am trying to run xenomai on blackfin ADZS-BF537-EZLITE board, but I'm getting an error when trying to execute any test programs like arith, clocktest etc.
Software versions:
linux-2.6.35.7
xenomai-2.5.5.2
example:
# /usr/xenomai/bin/arith
Xenomai: binding failed: Cannot allocate memory.
# dmesg | tail -5
[ 7.288690] PHY: 0:01 - Link is Up - 100/Full
[ 7.502574] Looking up port of RPC 100005/1 on 192.168.4.9
[ 7.593737] VFS: Mounted root (nfs filesystem) on device 0:11.
[ 7.601396] Freeing unused kernel memory: 104k freed
[ 300.787988] Xenomai: arith[330] cannot map MAYDAY page
All happens in root console.
I found that the error returns from the function validate_mmap_request when the flag BDI_CAP_MAP_DIRECT is checked in
file->f_mapping->backing_dev_info->capabilities while mapping memory in map_mayday_page. Looks like this flag must be set for /dev/rtheap, but it's not.
Is it bug on NOMMU system or maybe my fault? I've build kernel and system as explained in README.INSTALL.
[-- Attachment #2: Type: text/html, Size: 2308 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Xenomai-core] 'cannot map MAYDAY page' on blackfin
2011-03-03 18:30 ` [Xenomai-core] 'cannot map MAYDAY page' on blackfin Денис Латышев
@ 2011-03-25 10:41 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2011-03-25 10:41 UTC (permalink / raw)
To: Денис Латышев
Cc: xenomai
Денис Латышев wrote:
> Hi All. I am trying to run xenomai on blackfin ADZS-BF537-EZLITE
> board, but I'm getting an error when trying to execute any test
> programs like arith, clocktest etc.
>
>
> Software versions: linux-2.6.35.7 xenomai-2.5.5.2
>
>
> example:
>
>
> # /usr/xenomai/bin/arith Xenomai: binding failed: Cannot allocate
> memory.
>
>
> # dmesg | tail -5
>
> [ 7.288690] PHY: 0:01 - Link is Up - 100/Full [ 7.502574] Looking up
> port of RPC 100005/1 on 192.168.4.9 [ 7.593737] VFS: Mounted root
> (nfs filesystem) on device 0:11. [ 7.601396] Freeing unused kernel
> memory: 104k freed [ 300.787988] Xenomai: arith[330] cannot map
> MAYDAY page
>
>
> All happens in root console.
>
>
> I found that the error returns from the function
> validate_mmap_request when the flag BDI_CAP_MAP_DIRECT is checked in
> file->f_mapping->backing_dev_info->capabilities while mapping memory
> in map_mayday_page. Looks like this flag must be set for /dev/rtheap,
> but it's not. Is it bug on NOMMU system or maybe my fault? I've build
> kernel and system as explained in README.INSTALL.
Hi,
This issue does not happen when we validate Xenomai. Could you give us
more information, such as the .config for your kernel, and the options
you pass on configure command line?
Regards.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-25 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <9d74726e-8787-47c2-b138-a07a1164380f@domain.hid>
2011-03-03 18:30 ` [Xenomai-core] 'cannot map MAYDAY page' on blackfin Денис Латышев
2011-03-25 10:41 ` Gilles Chanteperdrix
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.