LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-22-2003, 06:26 PM   #1
BenjiF
LQ Newbie
 
Registered: Aug 2003
Location: Minneapolis, MN
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Unhappy X seems to be broken after compiling alternate kernel


I'm running Red Hat 8.0. It's been running it stably for about half a year (prior to which I had some limited experience with Mandrake 8.1). About a week ago I downloaded the 2.4.21 kernel source, applied the low-latency and preemptible kernel patches, and compiled. The new kernel showed up in GRUB, but refused to boot (it complained about not being about to open device "LABEL=/".) I assumed that I'd missed something important when I was configuring the build options, so I restarted and chose the old kernel from GRUB's menu. Everything seemed to load normally, but at the point when I'm usually presented with a graphical login, my monitor simply starts switching itself in and out of power saving mode. Sometimes my monitor would be on long enough to show a text based login screen momentarily before shutting off again a fraction of a second later. I've tried to login blind, but I've not been successful. I can still switch consoles, but they all make the monitor do the same thing. When I get tired of this, I can hit Ctrl-Alt-Delete, the monitor stops, and the system restarts politely - displaying all the normal shutdown messages along the way.

Any suggestions would be appreciated.

|)
|)enji

Benjamin Flaming
--------------------
"The trouble with computers, of course, is that they're very sophisticated idiots."
 
Old 08-22-2003, 07:24 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Do you have a specific driver for your graphics card? say Nvidia?

Then you'll need to re-compile the module for that to make X work.

If the readme confuses you, (It did me for a while) I talk you through it.

Your using grub I see so goto edit the lines and add a number to the end of the kernel line, for the runlevel on your distro that boots into console. (For the desprate try 1)


Last edited by leonscape; 08-22-2003 at 07:27 PM.
 
Old 08-23-2003, 01:36 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Why don't you log in into text mode to then find out what is wrong with X.

I'll walk you through the steps. First, when the GRUB appears, choose edit, (either Ctrl+e or some other key, I don't remember as I use lilo), and the add 'init 3' to the en of the second line. Be sure to leave a space between this and the other option.

Now select boot in the GRUB options, and you will boot into the text mode. You can check for your X drivers, and recompile them from here on.

If you need any other help, post your queries.
 
Old 08-23-2003, 02:01 AM   #4
BenjiF
LQ Newbie
 
Registered: Aug 2003
Location: Minneapolis, MN
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Cool That helps a lot!

leonscape - about a minute after reading your message, I had a command prompt available to me. Thanks a million! I won't try to tackle any serious diagnostic work until tomorrow, but now that I have a command prompt again, maybe I should focus on getting the new kernel compiled and running properly, since I'd probably break X again in the process anyway.

UltimaGuy - I got runlevel 3 working by simply adding " 3" to the kernel line. Would you recommend using " init 3" instead?

Thank you both very much for having taken the time to help me!

|)
|)enji

Benjamin Flaming
--------------------
"The trouble with computers, of course, is that they're very sophisticated idiots."
 
  


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
Xterm broken with Slack 10 and 2.6.9 kernel ebit Slackware 1 11-17-2004 07:54 AM
kde lib for compiling broken package qwertyuiop Debian 5 10-01-2004 06:31 PM
cd writing is broken since upgrading to 2.6 kernel chewbar Linux - Software 6 08-28-2004 04:08 PM
X broken after recompiling kernel. raylpc Linux - General 1 08-14-2003 02:33 AM
Kernel source in RedHat 9.0 broken?? sardaukar_siet Linux - Distributions 0 04-10-2003 08:26 AM

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

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