All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Денис Латышев" <latyshev@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] 'cannot map MAYDAY page' on blackfin
Date: Fri, 25 Mar 2011 11:41:23 +0100	[thread overview]
Message-ID: <4D8C7153.5010606@domain.hid> (raw)
In-Reply-To: <e9120c91-7bfe-489f-a80d-16e2bfdec46c@domain.hid>

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



      reply	other threads:[~2011-03-25 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D8C7153.5010606@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=latyshev@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.