Wierd memory problem with a custom kernel
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Wierd memory problem with a custom kernel




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Wierd memory problem with a custom kernel  
Geico Caveman


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-07 06:14 AM

I just upgraded my system RAM from 1 GB (2x 512 MB) to 1.5 GB (512 MB + 1
GB). However, when I boot into a custom compiled kernel (2.6.21-5 with the
tuxonice/suspend2 patch), I see the memory is unchanged (free -m reports
884 MB). When I boot into a vanilla Debian kernel (2.6.21-2), I see the
full 1.5 GB (free -m reports 1510 MB). Needless to say, the BIOS also
reports the full 1.5 GB. I do not remember hardwiring the total memory
anywhere during the compilation of that kernel. Further, the grub boot line
is unremarkable in either case.

The system feels snappier when I use the Debian vanilla kernel (indicating
that it is really seeing more RAM and I do not simply have a kernel
dependent bug in free -m).

Any suggestions to see where things are going awry ?





[ Post a follow-up to this message ]



    Re: Wierd memory problem with a custom kernel  
Rodney


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-07 06:14 PM

On Wed, 18 Jul 2007 22:18:45 -0700, Geico Caveman wrote:

> I just upgraded my system RAM from 1 GB (2x 512 MB) to 1.5 GB (512 MB + 1
> GB). However, when I boot into a custom compiled kernel (2.6.21-5 with the
> tuxonice/suspend2 patch), I see the memory is unchanged (free -m reports
> 884 MB). When I boot into a vanilla Debian kernel (2.6.21-2), I see the
> full 1.5 GB (free -m reports 1510 MB). Needless to say, the BIOS also
> reports the full 1.5 GB. I do not remember hardwiring the total memory
> anywhere during the compilation of that kernel. Further, the grub boot
> line is unremarkable in either case.
>
> The system feels snappier when I use the Debian vanilla kernel (indicating
> that it is really seeing more RAM and I do not simply have a kernel
> dependent bug in free -m).
>
> Any suggestions to see where things are going awry ?

My first guess would be that you did not CONFIG_HIGHMEM when you compiled
your custom kernel. However, I'm not familiar with that patch, so I might
not be correct. Seems to act like not configured in kernel, though.

Rodney






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register