Tonight I did an emerge -uD world and it downloaded and installed nvidia-kernel 1.0.6629-r4. Everything compiled and installed correctly. However when I restarted the computer, I got an error when the nvidia module is suppost to be loaded. I re-emerged nvidia-glx and also nvidia-kernel. When I modprobe nvidia, I get the error message "invalid module format". Reproducible: Always Steps to Reproduce: 1.from the command line type "modprobe nvidia" 2. 3. Actual Results: error loading nvidia module, invalid module format
You probably compiled the kernel with a different gcc version than the module. Recompile your kernel. This usually shows up in dmesg as something about version magic mismatch.
Duh, note to big dummy at the keyboard "ALWAYS recompile kernel after recompiling system with new compiler playtoy thingy". Sorry guys.