Because of the oss-commercial problem with 2.6.22, I decided to rollback the kernel to 188.8.131.52:
pacman -U /var/cache/.....
after a reboot, X failed to start because nvidia driver is for 2.6.22. So I did the same rollback thing for the nvidia module. Then I get a "API mismatch" complain from the nvidia driver. What should I do now?
You just have to compile nvidia kernel modules for the newly installed kernel. I'm not sure what that means in terms of abs/pacman magic - what I do is keep the Nvidia linux driver (from nvidia website) on my hd and reinstall it whenever I install a new kernel.
That surely will solve the problem. But then I'll be mixing pacman pkg and manaul installation, which isn't very clean. Besides, why did it fail if the kernel version matches the nvidia driver version?
I remember that I installed the generic nvidia driver for the first time after I had experienced something similar to what you're describing. Ultimately I found installing nvidia drivers "the hard way" to be much easier (and cleaner) than keeping track of multiple packages for multiple kernels - especially since I do have multiple kernels installed, some of them custom compiled... The installation script for the generic nvidia drivers is well written and easy to use, it installs/reinstalls drivers without any fuss/problems.
As for why the arch package drivers failed? I'm not sure... but I'm sure someone else will be more helpful Good luck.
OK. I'll do that for now. Thanks,
You might have to rollback nvidia-utils as well.