DRI Modules error, symbol drm_cleanup_pci
junk_mail at iol.ie
Fri Jan 20 12:53:27 PST 2006
Recently, Somebody Somewhere wrote these words
> > > > -bash-3.00# modprobe drm drm: version magic '220.127.116.11-grsec-05
> > > > K7 GRSECURITY gcc-3.4' should be '18.104.22.168-grsec-05 K7
> > > > GRSECURITY gcc-3.3' FATAL: Error inserting drm
> Actually, it looks like you are using a different compiler as well, one is
> compiled with gcc-3.4, the other gcc-3.3. You should try to use the same
> compiler as well.
I got at this again. I recompiled the kernel under hlfs,
recompiled modules, rebooted on them, and went again at dri.
I bodged my way into it. DRM comes in a common-* tarball, and (for
me) a radeon-* tarball. I had trouble in the radeon drivers (which
compile kernel modules) and got out of it (I think) with
alias make="CC=gcc -no-pie -fno-stack-protector-all make" in the
relevant console. I nearly got there.
Building modules, stage 2.
LD [M] /usr/src/radeon-20051220-linux.i386/drm/linux-core/drm.ko
LD [M] /usr/src/radeon-20051220-linux.i386/drm/linux-core/radeon.ko
make: Leaving directory `/usr/src/linux-22.214.171.124'
make: Leaving directory
FATAL: Error inserting radeon
Unknown symbol in module, or unknown parameter (see dmesg)
dmesg complained about drm_cleanup_pci as an unresolved symbol.
Sys.log is giving me two things
Jan 20 03:41:03 genius kernel: radeon: Unknown symbol
Jan 20 03:47:34 genius udev: run_program: exec of program
This one coming about 10 times at a time.
The symbol drm_cleanup_pci does show in every drm driver, but no
support library. I've grepped X-6.9.0 source, X-7.0 source,
libdrm-2.0 source drm common and radeon sources. It appears that
whatever driver I used this would be an unresolved symbol.
Any light please?
BTW, a note should go into the Kernel page not to touch the source
if you are going to compile the dri modules.
With best Regards,
More information about the hlfs-dev