| View previous topic :: View next topic |
| Author |
Message |
melinuxfool n00b

Joined: 22 Mar 2010 Posts: 3
|
Posted: Mon Mar 22, 2010 3:24 am Post subject: FATAL: Error inserting i915 |
|
|
Trying to set up the X server so I can get a window manager going.
At first, I had the i915 graphics driver compiled into the kernel. But xorg was giving me complaints about the module not existing, so I redid it as a module.
I get the same error from Xorg and from trying to run modprobe.
| Quote: | | FATAL: Error inserting i915 (/lib/modules/2.6.31-gentoo-r10/kernel/drivers/gpu/drm/i915/i915.ko): Invalid argument |
I've installed Gentoo before, and even gotten Gnome running on this same machine. This is a fresh install, and searches have all turned up similar errors, but with the "Invalid argument" changed to something else. Is this a bug in the code, or a bug in my brain?  |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4178
|
|
| Back to top |
|
 |
pavel_prochazka n00b


Joined: 29 Sep 2008 Posts: 19
|
Posted: Mon Mar 22, 2010 7:48 pm Post subject: Also problem with i915 driver |
|
|
Hello, I have also troubles with i915 driver. I have installed the i915 as a kernel module, but the loading of the module is not correct and the graphics works wrongly (e.g. overlapping text in konsole)
| Quote: |
Mar 22 20:24:20 nemo kernel: [ 4.427831] agpgart-intel 0000:00:00.0: Intel Mobile Intel® GM45 Express Chipset
Mar 22 20:24:20 nemo kernel: [ 4.428476] agpgart-intel 0000:00:00.0: detected 32764K stolen memory
Mar 22 20:24:20 nemo kernel: [ 4.432118] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
Mar 22 20:24:20 nemo kernel: [ 4.540674] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Mar 22 20:24:20 nemo kernel: [ 4.540680] i915 0000:00:02.0: setting latency timer to 64
Mar 22 20:24:20 nemo kernel: [ 4.547453] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
Mar 22 20:24:20 nemo kernel: [ 4.547457] [drm] MTRR allocation failed. Graphics performance may suffer.
Mar 22 20:24:20 nemo kernel: [ 4.547603] alloc irq_desc for 30 on node 0
Mar 22 20:24:20 nemo kernel: [ 4.547605] alloc kstat_irqs on node 0
Mar 22 20:24:20 nemo kernel: [ 4.547613] i915 0000:00:02.0: irq 30 for MSI/MSI-X
Mar 22 20:24:20 nemo kernel: [ 4.652327] [drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-D
Mar 22 20:24:20 nemo kernel: [ 5.166819] [drm] LVDS-8: set mode 1366x768 c
|
I tried to google the message from the kernel, but i have not found a solution yet...
I also tried unsuccessfully to load the module i915 in xorg.conf file...
My kernel version is 2.6.31-gentoo-r10 and
| Quote: |
nemo pajin # lspci -n
00:00.0 0600: 8086:2a40 (rev 07)
00:02.0 0300: 8086:2a42 (rev 07)
00:02.1 0380: 8086:2a43 (rev 07)
00:1a.0 0c03: 8086:2937 (rev 03)
00:1a.1 0c03: 8086:2938 (rev 03)
00:1a.2 0c03: 8086:2939 (rev 03)
00:1a.7 0c03: 8086:293c (rev 03)
00:1b.0 0403: 8086:293e (rev 03)
00:1c.0 0604: 8086:2940 (rev 03)
00:1c.1 0604: 8086:2942 (rev 03)
00:1c.2 0604: 8086:2944 (rev 03)
00:1c.4 0604: 8086:2948 (rev 03)
00:1d.0 0c03: 8086:2934 (rev 03)
00:1d.1 0c03: 8086:2935 (rev 03)
00:1d.2 0c03: 8086:2936 (rev 03)
00:1d.7 0c03: 8086:293a (rev 03)
00:1e.0 0604: 8086:2448 (rev 93)
00:1f.0 0601: 8086:2919 (rev 03)
00:1f.2 0106: 8086:2929 (rev 03)
00:1f.3 0c05: 8086:2930 (rev 03)
09:00.0 0200: 11ab:4354 (rev 13)
0c:00.0 0280: 14e4:4315 (rev 01)
|
PS. I am not sure about my kernel configuration, the most related part of the configuration is attached.
| Quote: |
nemo linux # grep -i mtrr .config
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
|
| Quote: |
nemo linux # grep -i i915 .config
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
|
Hope to giving a relevant information for help. Thank you for every advise
Pavel |
|
| Back to top |
|
 |
melinuxfool n00b

Joined: 22 Mar 2010 Posts: 3
|
Posted: Mon Mar 22, 2010 10:06 pm Post subject: |
|
|
| audiodef wrote: | Intel isn't the best graphics card, and from what I hear, the kernel devs are adding their own brand of screwiness to the whole Intel chipset mess.
Post lspci -n and which kernel version you're using and I'll see if I can spot something. |
Kernel is 2.6.31-r10
| Quote: | 00:00.0 0600: 8086:27a0 (rev 03)
00:02.0 0300: 8086:27a2 (rev 03)
00:02.1 0380: 8086:27a6 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 02)
00:1c.0 0604: 8086:27d0 (rev 02)
00:1c.1 0604: 8086:27d2 (rev 02)
00:1c.2 0604: 8086:27d4 (rev 02)
00:1c.3 0604: 8086:27d6 (rev 02)
00:1d.0 0c03: 8086:27c8 (rev 02)
00:1d.1 0c03: 8086:27c9 (rev 02)
00:1d.2 0c03: 8086:27ca (rev 02)
00:1d.3 0c03: 8086:27cb (rev 02)
00:1d.7 0c03: 8086:27cc (rev 02)
00:1e.0 0604: 8086:2448 (rev e2)
00:1f.0 0601: 8086:27b9 (rev 02)
00:1f.2 0101: 8086:27c4 (rev 02)
00:1f.3 0c05: 8086:27da (rev 02)
05:00.0 0280: 14e4:4311 (rev 01)
06:01.0 0200: 14e4:170c (rev 02)
06:04.0 0607: 1524:1412 (rev 10)
06:04.1 0501: 1524:0530 (rev 01)
06:04.2 0805: 1524:0550 (rev 01)
06:04.3 0501: 1524:0520 (rev 01)
06:04.4 0501: 1524:0551 (rev 01) |
Thanks for your help. |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Mar 22, 2010 10:39 pm Post subject: |
|
|
For intel cards you need to disable CONFIG_DRM_I915_KMS=y in your kernel, then rebuild it, like during the installation. Review that part of the Gentoo Handbook if required.
Remember to mount the /boot partition (if any) before copying over the new kernel. |
|
| Back to top |
|
 |
melinuxfool n00b

Joined: 22 Mar 2010 Posts: 3
|
Posted: Mon Mar 22, 2010 11:40 pm Post subject: |
|
|
| Mike Hunt wrote: | For intel cards you need to disable CONFIG_DRM_I915_KMS=y in your kernel, then rebuild it, like during the installation. Review that part of the Gentoo Handbook if required.
Remember to mount the /boot partition (if any) before copying over the new kernel. |
That did it! I can now get a nice xterm session running. Thanks! |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Tue Mar 23, 2010 1:20 am Post subject: |
|
|
Nice, now you can start having fun with your Gentoo box  _________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4178
|
|
| Back to top |
|
 |
|