Fedora 10: Trouble installing libdrm (2.4.4) for latest Intel driver (2.6)

Dan Nicholson dbn.lists at gmail.com
Wed Jan 21 09:58:45 PST 2009


On Tue, Jan 20, 2009 at 9:48 AM, Joe Smith <stopads at yahoo.com> wrote:
> Sorry, I'm still having trouble with this.  I followed the directions at
> http://www.x.org/wiki/Development/git, as recommended by Dan.
>
> I was able to build the drm-intel-2.6.28-20090112.tar.bz2 kernel and boot
> from it.  Good.
>
> Then I used the nice script at the end of the www.x.org page labelled "Quick
> and easy way to install a development build".  (Note: the git files were
> cloned yesterday)  The script seemed to run normally (as root).  Then I
> proceeded to the instructions labelled "Running your new stack".
>
> I booted the new kernel into run level 3.  When I tried insmod'ing the new
> modules, I couldn't find them.  The only ones found are in the new kernel
> directory, not /opt/gfx-test/ as I expected.

Here's one big difference with the instructions on that page. Since
you built a full kernel rather than building the drm kernel modules
against your current kernel, they're already loaded when boot with the
new kernel. You don't need to unload/reload the drm modules.

> [root at xyz]# find / -name drm.ko
> /home/joe/build/kernel/drivers/gpu/drm/drm.ko
> /lib/modules/2.6.27.9-159.fc10.i686/kernel/drivers/gpu/drm/drm.ko
> /lib/modules/2.6.27.5-117.fc10.i686/kernel/drivers/gpu/drm/drm.ko
> /lib/modules/2.6.28/kernel/drivers/gpu/drm/drm.ko
>
> [root at xyz]# find / -name i915.ko
> /home/joe/build/kernel/drivers/gpu/drm/i915/i915.ko
> /lib/modules/2.6.27.9-159.fc10.i686/kernel/drivers/gpu/drm/i915/i915.ko
> /lib/modules/2.6.27.5-117.fc10.i686/kernel/drivers/gpu/drm/i915/i915.ko
> /lib/modules/2.6.28/kernel/drivers/gpu/drm/i915/i915.ko
>
> I inserted the modules in the 2.6.28 kernel directory, and received the
> following:
>
> [root at xyz]# insmod /lib/modules/2.6.28/kernel/drivers/gpu/drm/drm.ko
> [drm] Initialized drm 1.1.0 20060810
>
> [root at xyz]# insmod /lib/modules/2.6.28/kernel/drivers/gpu/drm/i915/i915.ko
> pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [drm] Initialized i915 1.6.0 20080730 on minor 0

That is the i915 version in the 2.6.28 kernel, but the version and
date haven't changed more recently, anyway. To get more current kernel
modules, you can try one of the 2.6.29-rc releases. To get all the
latest intel fixes, though, it's best to use Eric Anholt's drm-intel
kernel.

git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel.git

> Notice the version numbers and dates are not recent.  I tried starting X
> anyway, but the keyboard and mouse where unresponsive.

For the keyboard/mouse issues, you'd probably have to attach an
Xorg.log. Did you build the evdev input driver against the new
xserver?

--
Dan



More information about the xorg mailing list