From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4DB3C542.7030700@domain.hid> Date: Sun, 24 Apr 2011 08:37:54 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] apt-get mmap() error after upgrading to Xenomai 2.5.6 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: at91_enthus Cc: xenomai-help 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.