LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-09-2007, 03:23 PM   #1
jonegold
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Problem Starting X After Compiling Kernel for Highmem


I have been using the bare kernel that comes with the Slackware 10.2 distribution. However, I have added a total of 2 GB of RAM to the system. Here are some steps I took to compile the kernel for highmem support:
  1. cp /boot/config-ide-2.4.31 /usr/src/linux/.config
  2. cd /usr/src/linux
  3. make menuconfig
  4. Processor type and features -->
  5. High Memory Support (on)
  6. Exit
  7. make bzImage
  8. cp arch/i386/boot/bzImage /boot/vmlinuz-custom-2.4.31
  9. cp .config /boot/config-2.4.31
  10. ln -fs /boot/config-2.4.31 /boot/config

I added the image to lilo.conf and ran /sbin/lilo. The new kernel seems to boot just fine, and the 2 GB is recognized, but when starting X, the screen goes blank. I can't even switch to another virtual terminal using Shift-Alt-F6. The only solution is to reboot. I still have the original kernel image configured in Lilo, so I'm able to recover, but I would really like to take advantage of the extra RAM.

I vaguely remember installing some kernel module for my NVIDIA graphics card some two years ago. Perhaps this has something to do with my problem? Any help to solve this would be greatly appreciated.

Thanks in advance.
 
Old 01-11-2007, 07:44 PM   #2
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
was the nvidia module compiled for a different kernel?

also i vaguely remember and i dont remember well these days, but i remember something about the nvidia driver conflicting with highmem support because the highmem support uses the memory ranges that the nvidia module wants to use ... sorry best i can give. try downloading the new nvidia modules and reinstalling them.
 
Old 01-12-2007, 12:39 AM   #3
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
As skog pointed out, you should recompile your NVIDIA module (or as a temporary solution switch to the "nv" driver in xorg.conf). If you haven't compiled ALSA together with the kernel, you will also need to compile the driver for your sound card. In short, all kernel modules must be recompiled when the kernel changes.
 
  


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
Disabling HIGHMEM in kernel 2.6.9-34.0.1.ELhugemem rolando1981 Linux - Enterprise 1 09-26-2006 12:29 PM
recompile kernel to enable highmem fatal1980 Debian 3 06-29-2006 01:39 PM
Error when recompiling 2.4.31 Kernel for SMP and HIGHMEM mjgould Slackware 15 09-28-2005 04:11 PM
How do I enable the kernel for HIGHMEM? Mike Healan Mandriva 5 05-19-2004 12:40 PM
kernel recompiled with highmem-- still can't use all 2GB RAM nknowles Linux - General 0 12-04-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:18 AM.

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