LINUX.ORG.RU

[debian]make-kpkg + kernel+nvidia


0

0

В общем решил я собрать себе ядро 2.6.25 скачал пакет linux-source-2.6.25. Распаковал, откофигурил. Стал собирать пакет командой

fakeroot make-kpkg --initrd --revision=coustom.1.0 kernel_image kernel_headers

Собрал ядро и хедеры. Так как ссылка /lib/modules/2.6.25/build (и в source) указывали на сорцы откуда я собирал я их удалил и перенаправил на папку с хедерами. При попытки собрать дрова Нвидии получил ошибку. Полез в гугл нашел там что там надо патчить дрова, пропатчил. В итоге все равно получаю ошибку

Using: nvidia-installer ncurses user interface -> License accepted. -> There appears to already be a driver installed on your system (version: 169. 12). As part of installing this driver (version: 169.12), the existing driv er 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: 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/linux-headers-2.6.25/', as specified by the SYSSRC environment variable. -> Kernel source path: '/usr/src/linux-headers-2.6.25/' -> Kernel output path: '/usr/src/linux-headers-2.6.25/' 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

Возращение симлинков в предыдущее положение (то есть на сорцы) результатов не дало.

Не собираются так же модули к VirtualBox. Не подскажете в какую сторону копать.

★★★★★

Re: [debian]make-kpkg + kernel+nvidia

Перепечатываю текст лога


Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 169.
   12).  As part of installing this driver (version: 169.12), the existing driv
   er 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: 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/linux-headers-2.6.25/', as specified
   by the SYSSRC environment variable.
-> Kernel source path: '/usr/src/linux-headers-2.6.25/'
-> Kernel output path: '/usr/src/linux-headers-2.6.25/'
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

Dudraug ★★★★★ ()
Ответ на: Re: [debian]make-kpkg + kernel+nvidia от Dudraug

Re: [debian]make-kpkg + kernel+nvidia

для 169.12 под 2.6.25 существует патч. найди его в гугле и пропатчи:

sh nvidia-bla-bla-169.12.run --apply-patch patch.diff

потом появится nvidia-чегото-там-custom - его и ставь.

scaldov ★★ ()
Ответ на: Re: [debian]make-kpkg + kernel+nvidia от Dudraug

Re: [debian]make-kpkg + kernel+nvidia

хз. у меня дебиан-ленни, 25-е ядро собирал сам, с кернел.орг.

потом ставил дрова от нвидия. работало как на 64, так и на 32 битовой системе. с одним и тем же патчем.

scaldov ★★ ()
Ответ на: Re: [debian]make-kpkg + kernel+nvidia от scaldov

Re: [debian]make-kpkg + kernel+nvidia

>а может ты с нового ядра не загрузился? или update-initrd не делал?

грузился он, он же все при установки пакета делает. Пакет то собирается как с обычный пакет с ядром

Dudraug ★★★★★ ()
Ответ на: Re: [debian]make-kpkg + kernel+nvidia от Dudraug

Re: [debian]make-kpkg + kernel+nvidia

173.08 beta установились ставил --kernel-source-path=/usr/src/linux-2.6.25.1

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.