Upgrading the kernel is always a dangerous step. Anyway, under Debian, it is pretty simple. My main problem are ATI drivers. After each kernel upgrade this error appears: FATAL: Error inserting fglrx (/lib/modules/2.6.32-5-amd64/updates/dkms/fglrx.ko):Invalid module format
I think the problem is that the package fglrx-modules-dkms is upgraded after the kernel but before the reboot, so it is compiled under the old kernel version.
So rebooting, the error rise because wrong kernel version.
If you have the same problem after the reboot you can try my way:
- Remove the module:
rmmod fglrx - Remove the fglrx-modules-dkms package:
apt-get remove fglrx-modules-dkms - Reboot
- I'm using GDM so, when the system is up, I switch to a textual console (ALT+CTRL+F1) and log in as root.
- Stop GDM:
/etc/init.d/gdm stop - Reinstall the fglrx-modules-dkms package:
apt-get install fglrx-modules-dkms - Load the fglrx module:
modprobe flgrx - Restart GDM:
/etc/init.d/gdm start
That's all. These easy steps fix the problem on my PC always.
