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

Joe Smith stopads at yahoo.com
Tue Jan 20 09:48:08 PST 2009


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.

[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

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

Any ideas why I can't find the new .ko files to use for insmod?

Thanks a lot for any suggestions.



--- On Sun, 1/18/09, Dan Nicholson <dbn.lists at gmail.com> wrote:
From: Dan Nicholson <dbn.lists at gmail.com>
Subject: Re: Fedora 10: Trouble installing libdrm (2.4.4) for latest Intel driver (2.6)
To: stopads at yahoo.com
Cc: xorg at lists.freedesktop.org
Date: Sunday, January 18, 2009, 12:00 PM

On Fri, Jan 16, 2009 at 1:46 PM, Joe Smith <stopads at yahoo.com> wrote:
> Dan,
>
> Thanks for the info.  While I was waiting, I tried installing the latest
libdrm rpm from RPM Fusion or Rawhide, not sure which.  It was tagged 2.4.3
fc11, but I have fc10.  I assumed (ha ha) this was ok because the package
manager let me do it.  I know, a slippery slope.  Anyway, X didn't start
after that, and I couldn't easily get it back.  So I'm reinstalling now.
>
> So the question is, can
 I install rpms tagged for fc11 on fc10?  If so,
then perhaps X crashed because I had partially installed libdrm 2.4.4 from
source, and a conflict developed...?

rawhide rpms usually work in stable fedoras. However, getting the
graphics right is more that one package. For the whole stack, you'd
need (I think):

kernel (for newer drm modules/GEM)
xorg-x11-server
libdrm
mesa-libGL (will pull in dri drivers)
xorg-x11-drv-i810

As for a specific conflict with libdrm from source, you have
/lib/libdrm.so* if you followed the intel instructions. That's not
where fedora installs them. You might want to clean up what you can
and then "yum reinstall libdrm libdrm-devel". You can probably run
"make uninstall" from your libdrm source directory to clean up.

--
Dan



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090120/a29f06ec/attachment.html>


More information about the xorg mailing list