5 There are two main parts to this package: the DRM client library/interface
6 (libdrm.so) and kernel/hardware-specific device modules (such as i915.ko).
13 By default, libdrm and the DRM header files will install into /usr/local/.
14 If you want to install this DRM to replace your system copy, say:
16 ./configure --prefix=/usr --exec-prefix=/
22 To build the device-specific kernel modules:
26 cp *.ko /lib/modules/VERSION/kernel/drivers/char/drm/
27 (where VERSION is your kernel version: uname -f)
32 copy the kernel modules to the appropriate place
36 Tips & Trouble-shooting
37 -----------------------
39 1. You'll need kernel sources. If using Fedora Core 5, for example, you may
40 need to install RPMs such as:
42 kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm
43 kernel-devel-2.6.15-1.2054_FC5.i686.rpm
47 2. You may need to make a symlink from /lib/modules/VERSION/build to your
48 kernel sources in /usr/src/kernels/VERSION (where version is `uname -r`):
50 cd /lib/modules/VERSION
51 ln -s /usr/src/kernels/VERSION build
54 3. If you've build the kernel modules but they won't load because of an
58 FATAL: Error inserting drm (/lib/modules/2.6.15-1.2054_FC5smp/kernel/drivers/char/drm/drm.ko): Invalid module format
60 And 'dmesg|tail' says:
62 drm: disagrees about version of symbol struct_module
64 Try recompiling your drm modules without the Module.symvers file.
65 That is rm the /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/Module.symvers
66 file (or rename it). Then do a 'make clean' before rebuilding your drm