LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2005, 05:51 PM   #1
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
Angry 2.6.14 kernel + uClibc can't manage memory?


begin edit>
My system is mostly PIC based. Could this be the cause of the virtual memory becoming "confused" in this way during compilation of the kernel modules?

I also wonder if this is instead a "make" bug.
<end edit


So, I get the infamous "make error: *** Virtual Memory Exhausted".
given that I am sitting on a uClibc system that is using only 40megs of RAM, and then type make modules_install. The error appears.

Idea in mind, I switch over to the glibc system, which uses 80megs under identical situations. make modules_install. Success, no virtual memory error.

This seemed interesting. I grabbed the 2.6.13.X kernel, and had the same results on both systems.

Now the glibc system had the 2.6.11.12 kernel running. So this time, I grabbed that source, and moved it onto the uClibc system. Typed make modules_install and success.

At some point in the kernel, between 2.6.11.12 and 2.6.14, the memory management got screwed up in such a way that my uClibc claims there is no virtual memory left, when I have 400+megs of RAM sitting around with nothing to do.

Looking further, I achieved identical results with swap enabled, and disabled. And the swap partition is one gigabyte, for reasons of sleep mode.

Any ideas? Hints on getting around this? (i cannot keep using the glibc system as i've depreciated it) Is there anyting I may have missed that could result in this situation?

memtest86+ fails to find any memory problems over extensive tests.
This also assumes that you assume I did all of the make menuconfig, make make install, etc.. commands prior to make modules_install, in every case

Last edited by Yerp; 11-18-2005 at 10:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HLFS: sed-4.1.4 & uClibc-0.9.28, Memory Exhausted. Yerp Linux From Scratch 1 01-05-2006 02:26 PM
Where can i get uClibc-0.2.tgz? cn_chopsticks Linux - Software 0 09-25-2005 05:47 AM
Busybox and uClibc spencerbray Linux - Newbie 4 01-27-2005 02:01 AM
bulding a gcc toolchain with uclibc behmjose Programming 1 02-29-2004 09:54 PM
uclibc install_target lukebeales Programming 0 11-25-2003 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration