# modprobe radeon WARNING: Error inserting drm (/lib/modules/2.6.12-mm1/kernel/drivers/char/drm/drm.ko): Invalid module format FATAL: Error inserting radeon (/lib/modules/2.6.12-mm1/kernel/drivers/char/drm/radeon.ko): Invalid module format Same thing happens with any of the drm modules.
Any chance you compiled the module and your kernel with different gcc versions? What's dmesg tell you?
Actually gcc versions differ. I will recompile the kernel and the module, and then try again. Thank you (In reply to comment #1) > Any chance you compiled the module and your kernel with different gcc versions? > What's dmesg tell you?
Recompiling drm with the same gcc version as the kernel solves the problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.