Денис Латышев 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-18.104.22.168 xenomai-22.214.171.124
# /usr/xenomai/bin/arith Xenomai: binding failed: Cannot allocate
# 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 cannot map
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.
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?
Xenomai-core mailing list