Saturday, January 24, 2009

The 2.6.28 kernel and the missing NVIDIA module

Haha, a few days back, I tried installing the 2.6.28 kernel. It went well, except that the XServer wouldn't start up.

It crashed with the following report:


(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration


But then, I noticed that the nvidia-kernel I installed was 2.6.26-1 and so, needed to update that. Well, a kernel installed _not_ from the repository would obviously need a nvidia-kernel install _not_ from the repo. ;)

A google search a couple of clicks later and some information from here, I landed at the-> NVIDIA's UNIX Drivers Portal

Grabbed the 180.22 version, the latest version for Linux AMD64/EM64. Follow instructions (essentially, chmod +x and run as root). It said my kernel was not new enough and tries to download the latest by ftp. In my case, I refused and it continued fine. Btw, you can't install the driver while you're running X.

Note: You should have the nvidia-xconfig program for the installation to go on smoothly, otherwise you'll end up with another problem

Installation and a reboot later, this is how it looks. :)