LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-10-2004, 01:09 PM   #1
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Rep: Reputation: 15
Can't start GUI after Kernel Update


I updated my RH9 using the Red Hat update thingie (I'm a real newbie at Linux so be kind please!) and now I can't start my GUI (is it called X?).

The problem occurred, I think, due to the fact I updated (before the kernel update) my video card drivers (i have a GeForce 4) using the nvidia update thingie.

Basically I think I have to rebuild the drivers for the new kernel. That works successfully yet I still can't start the GUI. The monitor appears as if it is switching modes yet I get an error saying the GUI couldn't start (something along those lines).

Any suggestions? Thanks.
 
Old 06-10-2004, 01:16 PM   #2
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
is the driver correctly configured in your XF86Config file, dirver should be nvidia. If the driver is nvidia try replacing with nv to get basic functionality (no hardware acceleration).
this is my device section from XF86Config, which works in slackware 9.1 kernel 2.6.5


Section "Device"
Identifier "NVIDIA Geforce4"
Driver "nvidia"
VideoRam 65536
Option "NoLogo" "true"
# Insert Clocks lines here if appropriate
EndSection
 
Old 06-10-2004, 02:45 PM   #3
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
I tried doing that but it didn't work (same problem as before). Any other sugggestions?
 
Old 06-10-2004, 03:04 PM   #4
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
maybe its your monitor try re-configuring Xfree by running xf86config setting lower monitor refresh rates. after booting to run level three by specifying init 3 in lilo
 
Old 06-11-2004, 07:43 PM   #5
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks, geniarse, but I was unable to run xf86config. The command is not there (can't remember the exact error message).

Basically on startup, it changes the screen mode from a text to a graphical one (which is normal...used to happen before), I see the mouse pointer (busy cursor) on a blue background and within half a second or so, the screen mode changes back to a text one. Then apparently it tries to swith to a graphical mode a few more times before I finally get an error message in a box on the text mode (hope that makes sense).
 
Old 06-12-2004, 04:11 PM   #6
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
The error that I'm getting on startup is

Quote:
Failed to start the display server several times in a short period; disabling display :0
 
Old 06-12-2004, 05:33 PM   #7
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
reinstall the nvidia drivers and all will be fine. to do this, just download the binary from nvidia.com. then, as root in console, run it. make sure you have the source for your kernel. how did you install the drivers in the first place?

this happens because the nvidia drivers work my making a module for the kernel which acts as the driver. however, when you get a new kernel, it cannot use modules made for the old one. this means you need to rerun the install to make a new module. you will need to do this after all new kernels.

edit: xf86config is a slackware thing i think. if you wanna use xconfigs, i think its xfree86setup is one, not sure baout the other.

Last edited by drigz; 06-12-2004 at 05:35 PM.
 
Old 06-12-2004, 05:39 PM   #8
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
drigz, before I downloaded the new kernel I installed the drivers using the instructions supplied (first booting to init 3 and then building them, etc).

I started getting these problems after I installed the new kernel. I did try rebuilding the drivers and it seemed to work. (Actually, it said that I already have the drivers installed, built I rebuilt them anyway for the new kernel.)

So I'm still stuck here...
 
Old 06-12-2004, 05:46 PM   #9
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
really? the problem looks exactly like what i have everytime i use a new kernel... after booting, try this:
modprobe nvidia
lsmod

and tell me the output.

edit: im going to bed ill check tomorrow.

Last edited by drigz; 06-12-2004 at 06:03 PM.
 
Old 06-12-2004, 05:48 PM   #10
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
Ok when I ran modprobe nvidia I got the following output.

Warning: loading /lib/modules/2.4.20-31.9/kernel/drivers/video/nvidia.o will taint the kernel.

See http://www.tux.org/lkml/#export-tainted for information about tainted modules.

0: nvidia oading NVIDIA Linux x86 NVIDIA kernel module 1.0-5336 Wed Jan 14 18:29:26 PST 2004

module nvidia loaded, with warnings


I also ran lsmod and I got a long list of stuff. I didnt see nvidia as one of them though. It appeared that the output was longer than one screen so nvidia may have been output and I would have missed it (I don't know how to pause the output after each screen).

Last edited by Fe98; 06-12-2004 at 06:08 PM.
 
Old 06-13-2004, 03:18 AM   #11
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
try running modprobe nvidia then startx.
if you want the output paused after each screen, run:
your command | less (or more or most or whatever you like)
if you want to search for some text in the output, run:
your command | grep 'text you want to search for'
and it will print every line in which the text appears.
 
Old 06-13-2004, 10:19 AM   #12
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
Ok I tried it again with basically the same results.

modprobe nvidia returns the same results that I had in my last post.

I then ran startx and it appeared that the video mode had changed, I saw the mouse cursor (an X) for a short while (less than a second) and then it changed back to text mode.

I got some error messages (warnings), too much to write out. Umm, I remember seeing something with Initializing GLX, and some warnings with GLib.

If I can't get it to work I'll just to a reinstall from scratch.

Oh, I forgot to add... lsmod | grep nvidia did return a single line ...

nvidia 2124384 0

Last edited by Fe98; 06-13-2004 at 10:20 AM.
 
Old 06-13-2004, 11:15 AM   #13
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
do you know if you use xfree86 or x.org? im guessing that you have already removed the load "glcore" and load "dri" lines from your x config file.
 
Old 06-13-2004, 04:21 PM   #14
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Original Poster
Rep: Reputation: 15
Umm, how do I find out? And yes I did remove both lines from the config file (and it worked on the previous kernel).

As a side point, when I try to boot up the old kernel I get the same errors.
 
Old 06-13-2004, 04:58 PM   #15
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
does /etc/X11/xorg.conf exist? if so u use xorg and you need to edit that instead.

you could always try compiling a new kernel, booting (non-graphical) into that, installing the nvidia stuff and it might work.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
linux wont start after kernel update avinashtn Linux - Software 3 03-28-2005 12:45 PM
Upgraded Kernel - Now X Server Won't Start - No GUI Rexversusu Linux - Software 9 08-21-2004 06:42 AM
Couldn't start X server after update kernel TamLe Red Hat 8 02-22-2004 08:35 PM
Libranet. Installing drivers/Kernel update. Were do I start? Linuxiscomplex Libranet 13 11-10-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration