nixp.ru v3.0

28 марта 2024,
четверг,
11:42:27 MSK

kyzma написал 26 апреля 2004 года в 10:51 (899 просмотров) Ведет себя как мужчина; открыл 3 темы в форуме, оставил 12 комментариев на сайте.

Подскажите, скачал дрова с сайта поставил все было нормально, потом поставил новое ядро 2.6 дрова слетели, вернулся на старое ядро пытаю снова потавить дрова а они не встают, инсталяшка ругается, вот собственно лог……………

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Mon Apr 26 10:36:00 2004

option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

no precompiled interface: false

no ncurses color : false

query latest driver ver : false

OpenGL header files : false

no questions : false

silent : false

XFree86 install prefix : /usr/X11R6

OpenGL install prefix : /usr

Installer install prefix: /usr

kernel include path : (not specified)

kernel install path : (not specified)

proc mount point : /proc

ui : (not specified)

tmpdir : /tmp

ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface

-> License accepted.

-> There appears to already be a driver installed on your system (version: 1.0-

5336). As part of installing this driver (version: 1.0-5328), the existing

driver will be uninstalled. Are you sure you want to continue? (’no' will a

bort 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)

ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again

later))

-> 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.

-> Kernel include path: '/lib/modules/2.4.20-8custom/build/include'

-> Performing cc_version_check with CC=«cc».

-> Cleaning kernel module build directory.

executing: 'cd ./usr/src/nv; make clean’…

rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *

.d NVdriver nvidia.o

-> Building kernel module:

executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.20-8c

ustom/build/include’…

echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\» > nv_compiler.h

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO

DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE

RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5

328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_

RANGE_5 -I. -I/lib/modules/2.4.20-8custom/build/include -Wno-cast-qual -Wno

-error nv.c

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO

DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE

RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5

328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_

RANGE_5 -I. -I/lib/modules/2.4.20-8custom/build/include -Wno-cast-qual -Wno

-error os-agp.c

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO

DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE

RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5

328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_

RANGE_5 -I. -I/lib/modules/2.4.20-8custom/build/include -Wno-cast-qual -Wno

-error os-interface.c

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO

DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE

RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5

328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_

RANGE_5 -I. -I/lib/modules/2.4.20-8custom/build/include -Wno-cast-qual -Wno

-error os-registry.c

ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o

ld -r -o nvidia.o nv-linux.o nv-kernel.o

-> done.

-> Kernel module compilation complete.

ERROR: Unable to load the kernel module 'nvidia.o’. This is most likely

because the kernel module was built using the wrong kernel header files.

Please make sure you have installed the kernel header files for your

kernel; on Red Hat Linux systems, for example, be sure you have the

'kernel-source' rpm installed. If you know the correct kernel header

files are installed, you may specify the kernel include path with the

'--kernel-include-path' commandline option.

-> Kernel module load error: Kernel requires old insmod, but couldn’t run

/usr/local/sbin/insmod.old: No such file or directory

как тут быть?

decvar

modutils новые — работвют тока с 2.6.x

kyzma

дык, че делать то…….?

kyzma

и могу ли я спокойно без проблем эти дрова на 2.6.х поставить?

-WarChief-

У меня ядро 2.6.5, дрова 5336

Всё работает, и скомпилилось нормально

-WarChief-

Прочитал тут твой лог

посмотри чё в конце пишет

'--kernel-include-path' commandline option.

-> Kernel module load error: Kernel requires old insmod, but couldn’t run

/usr/local/sbin/insmod.old: No such file or directory

Выидимо ты коряво поставил modutils

У тебя стёрты lsmod, insmod и т.д. для старого ядра которые должны называтся lsmod.old и т.д.

Переставь рпм из дистрибы с этими утилитами, помоему она там modutils и называется,

потом нормально modutils поставь как в РидМи написано, точ в точ и всё должно заработать =)

kyzma

переставил modutils с дистры, но тока те помогло, се равно требуется insmod.old, а его нету, может быть удалить новые module-init-tools и поставить старый или как быть? (надо чтоб на 2.4.20 поставилось)

-WarChief-

ну во первых непонятно зачем тебе старое ядро, оно тормозное помоему ))

Ну ладно это оффтопик )

1. Извращённый метод извращённый скопировать insmod в insmod.old =)

2. Попробовать удалить ismod и т.д. в ручную, потом переустановить РПМ

Немного фантазии и всё заработает )

kyzma

про скопировать понравилось, спасибо )))

а вот удалить и переустановить, это я пробовал, когда новую из rpm ставишь .old не появляется…..

fly4life
kyzma
а вот удалить и переустановить, это я пробовал, когда новую из rpm ставишь .old не появляется…..

old не появилось… А ты попробуй потом опять обновить, только теперь всё по правилам (как написано в README) и появятся и новые insmod, и insmod.old ;)

kyzma

а какой README который с исходниками идет или какой?

fly4life
kyzma
а какой README который с исходниками идет или какой?

Да, который идёт исходниками новой версии.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.