Re: [Xenomai-core] 'cannot map MAYDAY page' on blackfin

2011-03-25 Thread Gilles Chanteperdrix
Денис Латышев 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 15/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.


___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


[Xenomai-core] 'cannot map MAYDAY page' on blackfin

2011-03-03 Thread Денис Латышев
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 15/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. 













___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core