Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296208 - kde-base/kdm doesn't start with "FATAL: Module i915 not found."
Summary: kde-base/kdm doesn't start with "FATAL: Module i915 not found."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 17:01 UTC by Bertjan Broeksema
Modified: 2010-01-24 22:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log after a failed start of "/etc/init.d/xdm start" (Xorg.0.log.fail,16.27 KB, text/plain)
2009-12-27 14:02 UTC, Bertjan Broeksema
Details
kdm.log after a failed start of "/etc/init.d/xdm start" (kdm.log.fail,1.79 KB, text/plain)
2009-12-27 14:03 UTC, Bertjan Broeksema
Details
My xorg.conf (xorg.conf,5.33 KB, text/plain)
2010-01-02 21:47 UTC, Bertjan Broeksema
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertjan Broeksema 2009-12-08 17:01:29 UTC
After upgrading to kde 4.3.3 my kdm fails to start up. I see for a short while the clock cursor but than X shuts down while the kdm process keeps running.

In /etc/rc.conf I've set XSESSION to KDE-4 and running startx works just fine. It gives me a working KDE session. The problem seems really kdm related.

/var/log/kdm.log contains some strange data though:

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r5 x86_64
Current Operating System: Linux abe 2.6.30-gentoo-r5 #4 SMP Tue Dec 8 17:00:32 CET 2009 x86_64
Build Date: 08 December 2009  03:00:05PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec  8 17:40:53 2009
(==) Using config file: "/etc/X11/xorg.conf"
FATAL: Module i915 not found.
Setting master
X Error of failed request:  BadPixmap (invalid Pixmap parameter)
  Major opcode of failed request:  56 (X_ChangeGC)
  Resource id in failed request:  0x0
  Serial number of failed request:  247
  Current serial number in output stream:  255
Dropping master

I don't understand where the "Module i915" error comes from. My xorg.conf contains intel as driver and works fine when started by startx. Please let me know if you need any additional information.
Comment 1 Bertjan Broeksema 2009-12-10 09:27:57 UTC
Did some more testing:

executing /usr/bin/kdm as root fails
executing sudo /usr/bin/kdm as another user works.
Comment 2 Bertjan Broeksema 2009-12-27 14:02:11 UTC
Created attachment 214301 [details]
Xorg.0.log after a failed start of "/etc/init.d/xdm start"
Comment 3 Bertjan Broeksema 2009-12-27 14:03:01 UTC
Created attachment 214302 [details]
kdm.log after a failed start of "/etc/init.d/xdm start"
Comment 4 Bertjan Broeksema 2010-01-02 19:58:13 UTC
ping?

Maybe anyone from the Xorg team? I think this behavior started after an update of xorg-x11/* packages. I'd really like some help on this because I really dislike to have to login into console first to start kdm.
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-01-02 20:00:34 UTC
do not cc architecture teams, thanks.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-01-02 20:02:55 UTC
(In reply to comment #0)
> In /etc/rc.conf I've set XSESSION to KDE-4 and running startx works just fine.
> It gives me a working KDE session. The problem seems really kdm related.

Read the postinst message of x11-apps/xinit. The setting in /etc/rc.conf isn't used.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-01-02 21:15:21 UTC
I think "FATAL: Module i915 not found." is about the kernel module, but I'm not using xf86-video-intel myself so moving to x11@ as this doesn't seem like a bug in KDM, but your setup...
Comment 8 Bertjan Broeksema 2010-01-02 21:42:13 UTC
(In reply to comment #7)
> I think "FATAL: Module i915 not found." is about the kernel module, but I'm not
> using xf86-video-intel myself so moving to x11@ as this doesn't seem like a bug
> in KDM, but your setup...

Agree, this FATAL message doesn't show up when running "startx" (and XSESSION="KDE-4" in /etc/env.d/90xsession).
Comment 9 Bertjan Broeksema 2010-01-02 21:47:40 UTC
Created attachment 214953 [details]
My xorg.conf

Rather trivial and works fine for startx. No reference to i915 so I don't understand where that comes from when starting kdm with "/etc/init.d/xdm start"
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2010-01-02 23:32:10 UTC
Is your version of KDM using opengl by any chance?

i915 could be both the kernel module or a mesa driver. Since Xorg.0.log says that the kernel module is correctly detected and initialized, I'm betting my beer money on mesa.

Samuli, care to enlighten me on what KDM does?

Thanks
Comment 11 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-01-03 00:38:33 UTC
The message

FATAL: Module i915 not found.

is almost certainly kernel related. But it will probably not prevent X from starting up.
Comment 12 Bertjan Broeksema 2010-01-24 22:55:09 UTC
(In reply to comment #11)
> The message
> 
> FATAL: Module i915 not found.
> 
> is almost certainly kernel related. But it will probably not prevent X from
> starting up.

Yes it was. By coincidence I detected that due to a kernel upgrade my video driver was no longer build as a module but as part of the kernel. I guess "make oldconfig" bit me in the butt here. 

Well, setting it back to be a module fixed the issue.

Thanks for the input.