Problème xorg lors de l'upgrade au kernel 2.6.25 sur Lenny

Bonjour,

Je viens de faire une petite upgrade… malheureusement xorg ne fonctionne plus avec le driver nvidia (je suis sur nv actuellement). J’ai essayé de réinstaller les pilotes nvidia… mais ça ne marche pas (l’astuce marchait avant lors d’un upgrade de kernel).

L’erreur à la réinstallation provient d’un check foireux qui dit que j’ai un kernel Xen (la bonne blague).

Info diverses :

hanx@brutas:~$ uname -a
Linux brutas 2.6.25-2-686 #1 SMP Fri Jun 27 03:23:20 UTC 2008 i686 GNU/Linux
hanx@brutas:~$ cat /proc/version     
Linux version 2.6.25-2-686 (Debian 2.6.25-6) (maks@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Fri Jun 27 03:23:20 UTC 2008
hanx@brutas:~$ cat /etc/debian_version 
lenny/sid
hanx@brutas:~$ Xorg -version

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-1)
Current Operating System: Linux brutas 2.6.25-2-686 #1 SMP Fri Jun 27 03:23:20 UTC 2008 i686
Build Date: 26 June 2008  01:58:50AM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
hanx@brutas:~$ gcc --version
gcc (Debian 4.3.1-2) 4.3.1

Voici les logs de l’installation du driver (/var/log/nvidia-installer.log) :

hanx@brutas:~$ cat /var/log/nvidia-installer.log 
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jul 13 22:48:21 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 173.
   14.05).  As part of installing this driver (version: 173.14.05), the existin
   g driver will be uninstalled.  Are you sure you want to continue? ('no' will
   abort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
   
   The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.3).  The Linux 2.6 kernel module loader rejects kern
   el modules built with a version of gcc that does not exactly match that of t
   he compiler used to build the running kernel.
   
   If you know what you are doing and want to ignore the gcc version check, sel
   ect "No" to continue installation.  Otherwise, select "Yes" to abort install
   ation, set the CC environment variable to the name of the compiler used to c
   ompile your kernel, and restart installation.  Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.25-2-686/build'
-> Kernel output path: '/lib/modules/2.6.25-2-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
ERROR: The kernel you are installing for is a Xen kernel!
       
       The NVIDIA driver does not currently work on Xen kernels. If 
       you are using a stock distribution kernel, please install 
       a variant of this kernel without Xen support; if this is a 
       custom kernel, please install a standard Linux kernel.  Then 
       try installing the NVIDIA kernel module again.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.

Mon xorg.conf (qui fonctionnait : glxinfo, glxgears…) :

[code]# nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Jun 13 18:39:30 PDT 2007

xorg.conf (xorg X Window System server configuration file)

This file was generated by dexconf, the Debian X Configuration tool, using

values from the debconf database.

Edit this file with caution, and see the xorg.conf manual page.

(Type “man xorg.conf” at the shell prompt.)

This file is automatically updated on xserver-xorg package upgrades only

if it has not been modified since the last upgrade of the xserver-xorg

package.

If you have edited this file but would like it to be automatically updated

again, run the following command:

sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen “Default Screen” 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option “XkbRules” "xorg"
Option “XkbModel” "pc105"
Option “XkbLayout” "fr"
Option “XkbVariant” "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option “Device” "/dev/input/mice"
Option “Protocol” "ImPS/2"
Option “Emulate3Buttons” "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option “SendCoreEvents” "true"
Option “Device” "/dev/psaux"
Option “Protocol” "auto-dev"
Option “HorizScrollDelta” "0"
EndSection

Section "Monitor"
Identifier "Ecran generique"
HorizSync 28.0 - 84.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Carte video generique"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Carte video generique"
Monitor “Ecran generique"
DefaultDepth 24
Option " AddARGBGLXVisuals” "true"
SubSection "Display"
Depth 24
Modes "1680x1050"
EndSubSection
EndSection

Section "Extensions"
Option “Composite” "Enable"
EndSection
[/code]

Si, si, ton noyau a le support xen activé… Le plus simple c’est peut-être de le recompiler sans, sinon il semble y avoir des patchs qui flottent de-ci de-là :

bugs.debian.org/cgi-bin/bugreport.cgi?bug=482305

lists.debian.org/debian-kernel/2 … 00948.html

Je ne sais pas où en est leur intégration dans le paquet nvidia de Debian, j’utilise un 2.6.26 depuis la rc8 sans problème avec nvidia, j’ai sauté le 2.6.25 pour d’autres raisons.

même problème pour moi donc la solution m’interesse
en attendant j’ai provisoiremment résolu le problème en installant le driver nvidia grace au script Sfgxi de sidux
parsix-fr.d0n.be/forum/detail.ph … &id=97&p=1

ca peut peut étre aussi expliquer mes problèmes avec ATI (plus de DRI).
Je regarde ça ce soir.