LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Failed to Load Kernel Module "i915" (https://www.linuxquestions.org/questions/slackware-14/failed-to-load-kernel-module-i915-519009/)

alkos333 01-13-2007 02:55 PM

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.

gegechris99 01-13-2007 04:20 PM

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>

alkos333 01-13-2007 05:25 PM

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


cwwilson721 01-13-2007 09:08 PM

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"


All times are GMT -5. The time now is 09:31 AM.