Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по Linux (http://forum.oszone.net/forumdisplay.php?f=9)
-   -   [решено] Драйверы nvidia в Fedora 10 (http://forum.oszone.net/showthread.php?t=128997)

dmitryst 18-01-2009 02:24 1011145

Драйверы nvidia в Fedora 10
 
Пытался установить указанный драйвет на указанной ОС. Не может найти исходники ядра для компиляции. Сами исходники установлены *(kernel-devel). Установщик их все равно в упор не видит. Какие варианты?

ruslandh 18-01-2009 10:11 1011282

А не kernel-headers требуются ?

dmitryst 18-01-2009 13:44 1011404

ruslandh, ну там белым по синему написано - "kernel-source or kernel-devel". Однако, попробую и headers установить.
PS. Система 64-битная, вот конец лог-файла

Код:

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 180.22.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
  that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/kernels' as specified by the
  '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernels'
-> Kernel output path: '/usr/src/kernels'
ERROR: If you are using a Linux 2.4 kernel, please make sure
      you either have configured kernel sources matching your
      kernel or the correct set of kernel headers installed
      on your system.
     
      If you are using a Linux 2.6 kernel, please make sure
      you have configured kernel sources matching your kernel
      installed on your system. If you specified a separate
      output directory using either the "KBUILD_OUTPUT" or
      the "O" KBUILD parameter, make sure to specify this
      directory with the SYSOUT environment variable or with
      the equivalent nvidia-installer command line option.
     
      Depending on where and how the kernel sources (or the
      kernel headers) were installed, you may need to specify
      their location with the SYSSRC environment variable or
      the equivalent nvidia-installer 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 www.nvidia.com.


Coutty 18-01-2009 14:17 1011428

А может быть оно просто говорит, что нужны исходники именно того ядра, которое загружено? Если ядро не собиралось из исходников, а просто шло в дистрибутиве, то надо пересобрать. Я не знаю почему это так, но мне помогало при установке некоторых программ (н/р VMWare).

dmitryst 18-01-2009 16:06 1011529

Coutty, осталось найти, как его пересобрать :)

Coutty 18-01-2009 16:09 1011530

Вот здесь описано: http://www.linuxcenter.ru/lib/articl..._install.phtml
Если вкратце, то так:
#make bzImage modules modules_install install
(изначально ведь ядро сконфигурировано в дистрибутиве?)

dmitryst 18-01-2009 16:32 1011549

Цитата:

Цитата Coutty
#make bzImage modules modules_install install »

пишет, что нет правила для сборки bzImage. Конфиг почти не менял, за исключением не нужных мне драйверов 3dfx, matrox, и так далее.

Всё, всё решил установкой исходников с сайта kernel.org. Пересобрал ядро, и драйвер установился :).
ЗЫ. нафиг выкладывать такие "исходники"? (я про федору)


Время: 21:02.

Время: 21:02.
© OSzone.net 2001-