View previous topic :: View next topic |
Author |
Message |
mdr13 n00b
Joined: 30 Jun 2006 Posts: 23 Location: Leiden, NL
|
Posted: Sat Mar 22, 2008 1:24 pm Post subject: installing gentoo-sources-2.6.24-r3 crashes X11 [SOLVED] |
|
|
After installing the 2.6.24 kernel, I can't start X anymore. My graphic card is an Nvidia 8400GS, using the latest Nvidia drivers 169.12 (tried 169.09-r1). The nvidia logo shows up for a second, then X crashes. This is the (stripped) output of Xorg.0.log:
Code: | (II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "DFP-0:1680x1050,TV-0:1920x1080"
(II) Loading extension NV-GLX
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
[...]
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[...]
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x6d) [0x488d0e]
1: /lib/libc.so.6 [0x2b6ed768d430]
2: /usr/lib64/xorg/modules/drivers//nvidia_drv.so [0x2b6ed938238b]
Fatal server error:
Caught signal 11. Server aborting
|
In case you wonder, yes, I've configured the kernel with the right /dev/agpgart (Intel chipset, I have a MB with P35 chipset), run a revdep-rebuild, recompiled the nvidia kernel module (emerge nvidia-drivers), and switched to nvidia opengl (eselect opengl set nvidia), although it is set anyway by the nvidia-drivers ebuild.
I also tried re-emerging xorg-server, and it gave a maybe related warning message:
Code: | >>> Messages generated by process 7223 on 2008-03-22 09:11:03 CET for package x11-base/xorg-server-1.3.0.0-r5:
WARN: setup
Forcing on xorg-x11 for new enough glxtokens.h...
WARN: postinst
Users of reduced blanking now need:
Option "ReducedBlanking"
In the relevant Monitor section(s).
Make sure your reduced blanking modelines are safe!
|
The system works fine with the 2.6.23-r9 kernel. Any ideas, suggestions?
Thanks!
Edit:
Some kernel details (working version):
Code: | # uname -a
Linux xxxxx 2.6.23-gentoo-r9 #1 SMP PREEMPT Fri Mar 7 23:13:50 CET 2008 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
|
_________________ mdr13
- Experiment is the way to knowledge -
Last edited by mdr13 on Sun Mar 23, 2008 10:23 am; edited 1 time in total |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sat Mar 22, 2008 1:58 pm Post subject: |
|
|
...did you re-compile the nvidia driver?
Code: |
module-rebuild populate
|
_________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
mdr13 n00b
Joined: 30 Jun 2006 Posts: 23 Location: Leiden, NL
|
Posted: Sat Mar 22, 2008 4:01 pm Post subject: |
|
|
muhsinzubeir wrote: | ...did you re-compile the nvidia driver?
|
Yes of course! Else the nvidia startup logo wouldn't show up at all. _________________ mdr13
- Experiment is the way to knowledge - |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
|
Back to top |
|
|
mdr13 n00b
Joined: 30 Jun 2006 Posts: 23 Location: Leiden, NL
|
Posted: Sat Mar 22, 2008 6:50 pm Post subject: installing gentoo-sources-2.6.24-r3 crashes X11 [SOLVED] |
|
|
Thanks, muhsinzubeir,
I found the problem... this one is weird. It's about the slab memory allocator of the kernel. Until version 2.6.23, the default one was SLAB. From version 2.6.24, it's SLUB (the unqueued allocator). At first, I kept the old default (SLAB), and the result is that a symbol called "kmalloc_caches" was missing. Therefore the Nvidia GLX was not working, but neither was the apache rewrite module, nor the APC UPS daemon (apcupsd). I changed this to SLUB and I had my beloved GUI and everything else back
Therefore, for all folks wanting to use nvidia-drivers and 2.6.24, make sure you select following option in your kernel config:
Code: | -> General setup
-> Choose SLAB allocator
[x] SLUB (Unqueued Allocator)
|
Bye! _________________ mdr13
- Experiment is the way to knowledge - |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|