LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2007, 02:55 PM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Failed to Load Kernel Module "i915"


I compiled a new 2.6.19.1 kernel. Here is my video card:

Code:
VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
So I compiled two modules for it: http://alkos333.net/ss1.jpg

Here is an excerpt from /var/log/Xorg.0.log:

Code:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(II) I810(0): [drm] drmOpen failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Here is a link to the whole file: http://alkos333.net/Xorg.0.log

Here is /etc/X11/xorg.conf generated by 'xorgsetup': http://alkos333.net/xorg.conf

Another interesting thing that happens is when I run 'lsmod', I get mo modules listed although I know that I have compiled about 10-15 of them.

Last edited by alkos333; 01-13-2007 at 02:59 PM.
 
Old 01-13-2007, 04:20 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
As you mentioned that there is no modules loaded when you run 'lsmod', I wanted to know if you run 'make modules_install' after compiling your kernel ?

This command copies your newly compiled kernel modules into diectory /lib/modules/<kernel version>
 
Old 01-13-2007, 05:25 PM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by gegechris99
As you mentioned that there is no modules loaded when you run 'lsmod', I wanted to know if you run 'make modules_install' after compiling your kernel ?

This command copies your newly compiled kernel modules into diectory /lib/modules/<kernel version>
Yeah, I ran make, make modules, make modules_install

Here is the output from 'ls /lib/modules/2.6.19.1':

Code:
root@alkos333:/lib/modules/2.6.19.1# ls -l                  
total 44
lrwxrwxrwx 1 root root  23 2007-01-12 13:11 build -> /usr/src/linux-2.6.19.1
drwxr-xr-x 4 root root  96 2007-01-13 17:24 kernel
-rw-r--r-- 1 root root 615 2007-01-13 17:24 modules.alias
-rw-r--r-- 1 root root  69 2007-01-13 17:24 modules.ccwmap
-rw-r--r-- 1 root root 589 2007-01-13 17:24 modules.dep
-rw-r--r-- 1 root root  73 2007-01-13 17:24 modules.ieee1394map
-rw-r--r-- 1 root root 141 2007-01-13 17:24 modules.inputmap
-rw-r--r-- 1 root root  81 2007-01-13 17:24 modules.isapnpmap
-rw-r--r-- 1 root root  74 2007-01-13 17:24 modules.ofmap
-rw-r--r-- 1 root root 827 2007-01-13 17:24 modules.pcimap
-rw-r--r-- 1 root root  43 2007-01-13 17:24 modules.seriomap
-rw-r--r-- 1 root root 114 2007-01-13 17:24 modules.symbols
-rw-r--r-- 1 root root 189 2007-01-13 17:24 modules.usbmap
lrwxrwxrwx 1 root root  23 2007-01-13 17:24 source -> /usr/src/linux-2.6.19.1
 
Old 01-13-2007, 09:08 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Read my sticky on DRI (Link in my sig), was originally started for Intel chips...


As for configuring your kernel, 2.6.x only needs "make", "make modules_install"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg -- (EE) Failed to load module "glx" (loader failed, 7) windowsrefugeeX Linux - Software 10 09-23-2009 05:51 PM
"Failed to load module "i915"" Kane635 Linux - Software 0 11-22-2004 08:17 PM
Xorg - (EE) Failed to load module "i810".... frogboy Linux - Laptop and Netbook 1 10-17-2004 12:11 AM
Xorg - (EE) Failed to load module "i810".... frogboy Linux - Software 2 10-16-2004 11:39 AM
RedHat9 Failed to load module "bitmap" bkersey Linux - Software 0 10-25-2003 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration