LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updated Fedora kernel to 2.6.23.9-85.fc8 from 1-49 now all sorts of problems (https://www.linuxquestions.org/questions/linux-newbie-8/updated-fedora-kernel-to-2-6-23-9-85-fc8-from-1-49-now-all-sorts-of-problems-615848/)

Berwhale 01-23-2008 06:16 PM

Updated Fedora kernel to 2.6.23.9-85.fc8 from 1-49 now all sorts of problems
 
Hi peoples,

I'm a complete newbie so excuse the rambling. I have a PC with an nvidia graphics card that was running Fedora 8 2.6.23.1-49.fc8 but when I updated the kernel to 2.6.23.9-85.fc8 when all sorts of things went wrong. On startup with the new kernel I get a "blue screen of death" telling me it failed to start the X Sever (I don't even know what the X- Sever does for that mater). It asked me if I wanted to diagnose the problem...it showed me an output which seemed to indicate that all was going well until: "Module nvidia_100_14_19 Not Found". Then I go through X Sever setup and pretty much OK everything...I then get to a screen setup which I OK the size and colours options (800*600 and millions of colours).

Then it gets to a login screen into which I proceed to log. After that it starts up MythTV (which is configured to start on startup) in which all the graphics are now screwey - showing like 256 colours and v poor resolution.

I have been told to enter as su "nvidia-xconfig" and start-up the previous kernel (1-49)...which doesn't get to MythTV stage but a login screen - now I can only login as root, because logging in as a normal user gives a blank screen then goes right back to the login screen - no "incorrect user or password".

So logging in as root I try starting up MythTV frontend - this just sends the screen blank and goes straight back to the login screen!

Also, randomly now the computer just shuts down with now warning - no controlled shutdown just blank screen and no power!

Can you help? Do I need to provide some specific details of error messages?

Frustrated!

jay73 01-25-2008 03:02 AM

Well, if you updated the driver and you were using a proprietary driver (nvidia), then you need to reinstall it. These drivers simply don't survive kernel updates. Now if the driver was installed from the livna repository, that should be really easy, even without a GUI.

alexander_bosakov 01-25-2008 05:25 AM

X server is the program that draws your desktop - the GUI programs connect to it and issue request like "Draw a button at XY" and "Notify me when button is clicked". In short - you need a new driver module. Your desktop looks ugly, because missing proper driver, X loads a generic driver, which is largely not hardware accelerated. The drivers are specific to the kernel that uses them, so when you change the kernel, you need new driver. Not so different from Windows though, there you also have drivers for 98/Me, NT and Vista. Look in the repository for the nvidia driver matching your new kernel, there should be. If there is, install it and restart at least your X server (Press Ctrl-Alt-Backspace), or better, do a full reboot. If there aren't a precompiled driver, then you have to go the hard way (well, not so hard). Particularly for nVidia, go to nvidia.com and download the driver for your VC model and architecture (x86 or 64). It comes packaged in installer, which does the compilation, putting the module in place and reconfiguring the X server. Unfortunately, as X uses the video card, the nvidia installer will abort the installation if X is running. So, you have to go in console mode. That's a little above "complete newbye", so a little theory before step-by-step guide. The system has several so called "run levels", in which different services are started. Much like Windows's "Normal", "Safe mode", "Safe mode with network"... Besides, Linux has the concept of Virtual Terminals - sharing the screen among different login sessions. Conventionally, first 6 of them are used for console login, from the 7th above - for the X servers (yes, you can have more than one running, with different configuration, user, etc. if you want. For example, I start separate X with more lightweight config on the next VT when I play a game with a heavy 3D) You can switch between the VTs with a hotkey - Alt-F1...Fn, when you are in console mode, or Ctrl-Alt-Fn, when you are in graphical desktop. Usually, in runlevel 3, the system starts services for console sessions, and in 5 - it starts the X server and shows a graphical login screen. Most modern distros boot in 5 by default. So, now step-by-step:
1) go to nvidia.com, and download the driver package
2) still at the driver download page, READ the README.
3) to compile the driver, you'll need a compiler and the kernel header files. Install the packages "gcc" (GNU Compiler Collection) and "kernel-source"/"kernel-headers"/kernel-devel", i don't know exactly how it's named in Fedora, in my distro it's "kernel-source". Look for the version numbers, they must match the version of your kernel.
4) press Аlt-F1...F6 to switch to some of the text-mode VTs. You'll see login prompt - login as "root"
5) type the command "init 3", to switch to runlevel 3
6) "cd" to the directory where you downloaded the driver package
7) run command: "sh NVIDIA-Installer....."
8) follow the instructions...
9) reboot
10) if something went wrong, post what it is

Berwhale 01-31-2008 04:25 PM

Thanks muchly
 
Hi Alexander,

Thanks for the help. It's working now.

Cheers,
Berwhale:)


All times are GMT -5. The time now is 08:47 AM.