Bug 4141

Summary: Invalid module format
Product: DRI Reporter: tensor5
Component: DRM/otherAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: critical    
Priority: high    
Version: DRI git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description tensor5 2005-08-19 13:44:30 UTC
# 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.
Comment 1 Donnie Berkholz 2005-08-19 13:53:25 UTC
Any chance you compiled the module and your kernel with different gcc versions?
What's dmesg tell you?
Comment 2 tensor5 2005-08-19 14:12:21 UTC
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?
Comment 3 tensor5 2005-09-01 16:30:58 UTC
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.