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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-22-2003, 07:26 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Minneapolis, MN
Distribution: Slackware
Posts: 16
Rep:
|
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."
|
|
|
08-22-2003, 08:24 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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 08:27 PM.
|
|
|
08-23-2003, 02:36 AM
|
#3
|
Member
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840
Rep:
|
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.
|
|
|
08-23-2003, 03:01 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Location: Minneapolis, MN
Distribution: Slackware
Posts: 16
Original Poster
Rep:
|
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."
|
|
|
All times are GMT -5. The time now is 09:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|