Bug#380534: drm mach64 module compiled from dri cvs against linux-headers-2.6.17-1-686 fails to load
Package: linux-headers-2.6.17-1-686
Version: 2.6.17-4
Severity: normal
here is the error on the command-line when calling modprobe mach64:
FATAL: Error inserting mach64
(/lib/modules/2.6.17-1-686/kernel/drivers/char/drm/mach64.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
Here is the output in dmesg:
[drm] Initialized drm 1.0.1 20051102
mach64: disagrees about version of symbol drm_open
mach64: Unknown symbol drm_open
mach64: disagrees about version of symbol drm_fasync
mach64: Unknown symbol drm_fasync
mach64: disagrees about version of symbol drm_poll
mach64: Unknown symbol drm_poll
mach64: disagrees about version of symbol drm_core_get_reg_ofs
mach64: Unknown symbol drm_core_get_reg_ofs
mach64: disagrees about version of symbol drm_pci_alloc
mach64: Unknown symbol drm_pci_alloc
mach64: disagrees about version of symbol drm_irq_uninstall
mach64: Unknown symbol drm_irq_uninstall
mach64: disagrees about version of symbol drm_ioctl
mach64: Unknown symbol drm_ioctl
mach64: disagrees about version of symbol drm_exit
mach64: Unknown symbol drm_exit
mach64: disagrees about version of symbol drm_core_get_map_ofs
mach64: Unknown symbol drm_core_get_map_ofs
mach64: disagrees about version of symbol drm_init
mach64: Unknown symbol drm_init
mach64: disagrees about version of symbol drm_vbl_send_signals
mach64: Unknown symbol drm_vbl_send_signals
mach64: disagrees about version of symbol drm_pci_free
mach64: Unknown symbol drm_pci_free
mach64: disagrees about version of symbol drm_mmap
mach64: Unknown symbol drm_mmap
mach64: disagrees about version of symbol drm_core_reclaim_buffers
mach64: Unknown symbol drm_core_reclaim_buffers
mach64: disagrees about version of symbol drm_release
mach64: Unknown symbol drm_release
I'm sure this is not a bug in the dri cvs, because I also built the same
module against the headers in a custom-compiled 2.6.17.3 downloaded from
kernel.org, and the module works fine with that kernel.
here is the procedure I used for fetching the cvs and compiling the module:
git clone git://anongit.freedesktop.org/git/mesa/drm
cd drm/linux-core
make DRM_MODULES="mach64" LINUXDIR=/usr/src/linux
(/usr/src/linux is a symlink to /usr/src/linux-headers-2.6.17-1-686)
cp /lib/modules/2.6.17-1-686/kernel/drivers/char/drm/drm.ko
/lib/modules/2.6.17-1-686/kernel/drivers/char/drm/drm.ko.orig
cp drm.ko /lib/modules/2.6.17-1-686/kernel/drivers/char/drm/drm.ko
cp mach64.ko /lib/modules/2.6.17-1-686/kernel/drivers/char/drm/mach64.ko
depmod -a $(uname -r)
modprobe -r drm
modprobe -r mach64
modprobe mach64
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages linux-headers-2.6.17-1-686 depends on:
ii gcc-4.1 4.1.1-9 The GNU C compiler
ii linux-headers-2.6.17-1 2.6.17-4 Common header files for Linux kern
ii linux-kbuild-2.6.17 2.6.17-2 Kbuild infrastructure for Linux 2.
linux-headers-2.6.17-1-686 recommends no packages.
-- no debconf information
Reply to: