X-6.9 SORTED, DRI Modules error, magic numbers?

brucem128 at comcast.net brucem128 at comcast.net
Thu Jan 19 06:20:57 PST 2006

> -bash-3.00# modprobe drm
> drm: version magic ' K7 GRSECURITY gcc-3.4'
> should be ' K7 GRSECURITY gcc-3.3'
> FATAL: Error inserting drm
> (/lib/modules/
> Invalid module format

When you compile kernel modules you need to use the same CC="..." that
you used to build your kernel. If you followed the book for linux then try to
use make CC="gcc -no-pie -fno-stack-protector-all".


More information about the hlfs-dev mailing list