Re: Can't start X with latest CentOS 50. kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2007-05-22 at 21:03 -0400, Jim Perrin wrote:
> On 5/22/07, Dick Roth <raroth7@xxxxxxxxxxx> wrote:
> > Thank you, Mark, for helping me get my thinker going again (it was
> > asleep).  It didn't occur to me, while first installing the driver, that
> > it was building modules!  Duh!!
> 
> This method will work just fine, but it can be a little annoying to do
> every update, and can be one of those forgotten gotchas. You may want
> to consider the dkms nvidia driver in the rpmforge repository (
> http://wiki.centos.org/Repositories/RPMForge ). The dkms modules are
> automagically rebuilt on the reboot following a kernel upgrade. Makes
> things incredibly simple to maintain.
> 

As a side note ... you can also do this after a kernel install and
before the reboot:

cd /lib/modules/`uname -r`
find . -name 'nvidia.ko'

Then when you find the module ... do this:

cp -a /path_to_module ../$new_version/path_to_module

(path_to_module is the path returned from the find ... $new_version is
the new kernel version, ie 2.6.18-8.1.4.el5)

then run this command:

depmod -a $new_version

(again, $new_version is the new kernel version)

Then on reboot all is well ... though the dkms rpm is probably easier.

One thing to remember is that all the nvidia drivers no longer work on
all nvidia cards ... for example, the latest driver to work with the
"GeForce2 MX/MX 400" is the 96xx version of the driver.


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux