Problem z serwerem x'ów

Tematy związane z oprogramowaniem, instalacją, konfiguracją
konju009
Posty: 70
Rejestracja: 26 czerwca 2006, 22:23
Lokalizacja: Gdynia (Polska)

Problem z serwerem x'ów

Post autor: konju009 »

zainstalowałem debian'a na nowej konfiguracji sprzętowej , a tutaj niespodzianka w postaci komunikatu niemożna uruchomić xserwera.Obrazek Obrazek Obrazek próbowałem zainstalować sterowniki nvidii ale nie udało się log z instalacji wygląda następująco:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Oct  2 20:20:13 2007

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
  force tls               : (not specified)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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              : [url]ftp://download.nvidia.com[/url]
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> 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 ([url]ftp://download.nvidia.com[/url])? (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.2).  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)
ERROR: Unable to find the kernel source tree for the currently running kernel. 
       Please make sure you have installed the kernel source files for your
       kernel and that they are properly configured; on Red Hat Linux systems,
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
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 [url]www.nvidia.com[/url].
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

Zmień domyślny kompilator:

Kod: Zaznacz cały

# rm /usr/bin/gcc 
# ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
zainstaluj nagłówki jądra:

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`
i spróbuj jeszcze raz.
konju009
Posty: 70
Rejestracja: 26 czerwca 2006, 22:23
Lokalizacja: Gdynia (Polska)

Post autor: konju009 »

niestety nic się niezmieniło , mimo zainstalowania linux-headers amd64 (niepamietam dokładnie nazwy)
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

Zmieniłeś wersję kompilatora?

pokaż wyniki poeceń:

Kod: Zaznacz cały

ls -al /usr/bin/gcc

Kod: Zaznacz cały

uname -r

Kod: Zaznacz cały

dpkg -l | grep linux-headers
konju009
Posty: 70
Rejestracja: 26 czerwca 2006, 22:23
Lokalizacja: Gdynia (Polska)

Post autor: konju009 »

dpkg -l | grep linux-headers

Kod: Zaznacz cały

 
ii  linux-headers-2.6.21-2-vserver       2.6.21-6                         Common header files for Linux 2.6.21
ii  linux-headers-2.6.21-2-vserver-amd64 2.6.21-6                         Header files for Linux 2.6.21 on AMD64

uname -r

Kod: Zaznacz cały

2.6.21-2-amd64
ls -al /usr/bin/gcc

jest to napewno wersja 4.1
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

No to:

Kod: Zaznacz cały

aptitude install linux-headers-2.6.21-2-amd64
konju009
Posty: 70
Rejestracja: 26 czerwca 2006, 22:23
Lokalizacja: Gdynia (Polska)

Post autor: konju009 »

Działa !! :)

bardzo dziękuję za pomoc. :)
ODPOWIEDZ