All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: at91_enthus <nwromania@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] apt-get mmap() error after upgrading to Xenomai 2.5.6
Date: Sun, 24 Apr 2011 08:37:54 +0200	[thread overview]
Message-ID: <4DB3C542.7030700@domain.hid> (raw)
In-Reply-To: <BANLkTimm_1HqM0tg9YL=y7ZKQBNH1=YgxA@mail.gmail.com>

at91_enthus wrote:
> Hi.
> 
> I patched a 2.6.35 kernel with Xenomai 2.5.6.
> 
> I was able to do a first update and even install a few packages on my
> Atmel board.
> However, when I tried to install some more on the board, I got his
> error message:
> -----------------------------------------------------------------------------------------------------------------
> Reading package lists... Error!
> E: Couldn't make mmap of 25165824 bytes - mmap (12: Cannot allocate memory)
> W: Unable to close mmap - mmap (22: Invalid argument)
> E: The package lists or status file could not be parsed or opened.
> -----------------------------------------------------------------------------------------------------------------
> 
> What's interesting about this situation is that apt-get works great
> after a fresh rootfs install.
> As soon as I issue apt-get update/upgrade/install for a
> second/third/... time, I get the above error message.
> 
> The filesystem resides on a ext4 formatted uSD, so this error cannot
> be jffs2-related.
> Also, increasing the cache size in apt configuration files doesn't work.
> 
> Here are some alternative configurations that didn't mess with apt-get:
> 
> (1) kernel 2.6.33, no Xenomai
> (2) kernel  2.6.33, Xenomai 2.5.5
> (3) kernel 2.6.35, no Xenomai
> 
> and here are the ones that made me think that 2.5.6 might interfere
> with apt-get:
> 
> (1) kernel 2.6.33, Xenomai 2.5.6
> (2) kernel 2.6.35, Xenomai 2.5.6

What FCSE options have you configured?

-- 
                                                                Gilles.


  reply	other threads:[~2011-04-24  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24  0:10 [Xenomai-help] apt-get mmap() error after upgrading to Xenomai 2.5.6 at91_enthus
2011-04-24  6:37 ` Gilles Chanteperdrix [this message]
     [not found]   ` <BANLkTi=dNEnxnBPO7T8rbJYhh040FQv-gw@domain.hid>
2011-04-24  7:12     ` Gilles Chanteperdrix
2011-04-24  7:33       ` at91_enthus

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=4DB3C542.7030700@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=nwromania@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.