LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2005, 11:26 PM   #1
nobody_peterson
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
x windows doesn't work after compiling new kernel


Hi,

This problem is driving me crazy, so hopefully some one will be able to help me out. I've compiled many kernels before with no problem on my other machines, but can't seem to get one working on my new laptop.

I bought a Dell Inspiron 600m laptop and installed Red Hat 9 on it without any problem. Pretty much everything work straight out of the box, but I wanted to compile my own kernel to get a few more features working.

Red Hat installed the 2.4.21 kernel without any problem and like I said everything pretty much works. Since then I've tried to update the kernel to 2.4.27, 2.4.29, and now 2.4.31. Everytime I run into the same problem with x-windows no matter what options I select. x-windows will start up fine (I've tried several different windows managers) but the only program I can open is xterm. If I try to open up anything else I get a segmentation fault.

I don't know if this is related, but I also have a small problem with grub. My grub.conf files looks like

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Enterprise Linux WS (2.4.21-4.EL)
root (hd0,1)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /initrd-2.4.21-4.EL.img
title Linux-2.4.31
root (hd0,1)
kernel /bzImage-2.4.31 ro root=/dev/hda3
initrd /initrd-2.4.31.img
title DOS
rootnoverify (hd0,0)
chainloader +1

Red Hat Enterprise Linux WS is the one Redhat installed that works fine. Linux-2.4.31 is the one I'm trying to upgrade too. If I set root=LABEL=/ for Linux-2.4.31 I get a kernel panic. If I set root=/dev/hda3 things work fine, excpet for the problem with x-windows above.

Thanks
Kathy
 
Old 08-18-2005, 12:06 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
this is a very hard one without alot of information
try looking in the stock redhat kernel source directory
there are some config files that are the stock redhat config files there in a directory called
configs
copy the correct one to the top of your new kernel source directory and name it .config
then run make xconfig or however you do it
that way you start off with proper config and can tweak from there

it's a good way to learn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ps/2 Mouse Cannot Work After Compiling Kernel 2.6.13.4 asnoka Fedora 3 10-22-2005 06:35 AM
RH 9 upgraded Kernel, then tried to update Gimp. Now X windows does not work??? air4time Linux - Newbie 5 08-01-2004 10:58 PM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Alsaconf wont work after compiling new kernel Kebos Slackware 5 02-03-2004 10:28 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 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