kuguar, в шапке темы допишите:
Решение проблемы в этом посте: http://linuxforum.ru/viewtopic.php?pid=211482#p211482.
Чтобы другим пользователям, которые, возможно, с проблемой столкнуться, было легче сориентироваться.
И тему надо пометить в названии "Решено:"
Правильная установка драйвера nvidia
Не пойму, как можно изменить тему.
Не пойму, как можно изменить тему.
Что Вы хотите поменять? "Решено" я уже давным-давно поставил.
Здравствуйте. Сегодня весь вечер по вашим постам ставил драйверы на видео карту NVIDIA GT240M. ноутбук lenovo y550. ничего не получилось. :(
Хотя в Mandrive 2010.2 все встало с первого раз!!! И проблем не было.
Сейчас на ноутбуке стоит Mageia 64-битная. Система обновлена. ядро 2.6.38.8-desktop-4.mga.
Выдаёт ошибку:" NVIDIA: could not open the device file /dev/nvidia0 (Input/output error)."
Пробовал установку на ядро 2.6.38.7-desktop-1.mga - выдаёт ошибку:"The proprietary drive for you graphic card cannot be found, the system in now using the free sooftware driver (nouveau).
Reason: прориетарный драйвер ядра не найден для драйвера X.org 'nvidia' ".
Помогите разобраться
Naf,
Покажите:
[console]urpmi --list-media active
urpmf -mf nvidia
rpm -qa | grep nvidia[/console]
В любом случае нужно включить non-free источники (по умолчанию отключены) в менеждере источников в MCC.
verg,
первая команда не приняла параметр --list-media. Выдала следующее:
Показать
Unknown option: list-media
Нет пакета с названием active
Следующие пакеты содержат active: perl-IO-Interactive, plexus-active-collections, plexus-active-collections-javadoc, ruby-activerecord, ...
Чтобы выбрать все, используйте параметр «-a»
последующие команды выдала следующее:
Показать
libkwinnvidiahack4-4.6.3-7.mga1.i586:Core Release (distrib1)
libkwinnvidiahack4-4.6.5-1.2.mga1.i586:Core Updates (distrib3)
x11-driver-video-nvidia96xx-96.43.18-2.mga1.i586:Nonfree Release (distrib11)
nvidia173-devel-173.14.30-1.mga1.i586:Nonfree Release (distrib11)
nvidia-cuda-toolkit-3.2.16-1.mga1.i586:Nonfree Release (distrib11)
nvidia-current-doc-html-270.41.19-1.mga1.i586:Nonfree Release (distrib11)
nvidia-current-devel-270.41.19-1.mga1.i586:Nonfree Release (distrib11)
nvidia-compute-profiler-3.2.16-1.mga1.i586:Nonfree Release (distrib11)
dkms-nvidia173-173.14.30-1.mga1.i586:Nonfree Release (distrib11)
x11-driver-video-nvidia173-173.14.30-1.mga1.i586:Nonfree Release (distrib11)
nvidia96xx-doc-html-96.43.18-2.mga1.i586:Nonfree Release (distrib11)
nvidia173-cuda-173.14.30-1.mga1.i586:Nonfree Release (distrib11)
x11-driver-video-nvidia-current-270.41.19-1.mga1.i586:Nonfree Release (distrib11)
nvidia-current-cuda-opencl-270.41.19-1.mga1.i586:Nonfree Release (distrib11)
dkms-nvidia-current-270.41.19-1.mga1.i586:Nonfree Release (distrib11)
nvidia173-doc-html-173.14.30-1.mga1.i586:Nonfree Release (distrib11)
dkms-nvidia96xx-96.43.18-2.mga1.i586:Nonfree Release (distrib11)
nvidia-cuda-toolkit-devel-3.2.16-1.mga1.i586:Nonfree Release (distrib11)
nvidia96xx-devel-96.43.18-2.mga1.i586:Nonfree Release (distrib11)
dkms-nvidia-current-275.09.07-0.1.mga1.nonfree.i586:Nonfree Updates (distrib13)
nvidia-current-doc-html-275.09.07-0.1.mga1.nonfree.i586:Nonfree Updates (distrib13)
nvidia-current-devel-275.09.07-0.1.mga1.nonfree.i586:Nonfree Updates (distrib13)
x11-driver-video-nvidia-current-275.09.07-0.1.mga1.nonfree.i586:Nonfree Updates (distrib13)
nvidia-current-cuda-opencl-275.09.07-0.1.mga1.nonfree.i586:Nonfree Updates (distrib13)
Показать
nvidia-current-doc-html-275.09.07-0.1.mga1.nonfree
dkms-nvidia-current-275.09.07-0.1.mga1.nonfree
x11-driver-video-nvidia-current-275.09.07-0.1.mga1.nonfree
Честно говоря, я не пойму, что мешает нормальной работе драйвера.
Галочки на репозиториях non-free поставил перед обновлением системы и установки драйвера.
p.s. сегодня по новой на чистый ноутбук установил Mageia i586.
поставил на всех необходимых источниках галочки.
обновил систему.
перегрузил систему.
установил драйвер по выше описанным пунктам.
результат тоже.
После загрузки системы - иксы не запустили!!!
Ошибку выдал одну и ту же: "NVIDIA: could not open the device file /dev/nvidia0 (Input/output error)"
кстати, нашёл в инет, что 275.09.07 стабильная версия с исправленными ошибками.
http://www.opennet.ru/opennews/art.shtml?num=30870
и также убедился, что видео карта GT 240M поддерживается этим драйвером
http://sophie2.aero.jussieu.fr/distrib/Mageia/1/i586/media/nonfree-updates/by-pkgid/7452c640e66120d049897e8ba0dee32f/files/49
Ошибся с этой командой уже второй раз за день:
[console]urpmq --list-media active[/console]
конечно же
Как вижу версия 275 драйвера все же стоит.
Naf,
Еще эти выводы покажите:
[console]uname -a
urpmq --list-url[/console]
localhost naf]# uname -a
Linux localhost.localdomain 2.6.38.8-desktop-4.mga #1 SMP Fri Jul 8 02:08:49 UTC 2011 i686 i686 i386 GNU/Linux
[root@localhost naf]# urpmq --list-url
Mageia - 1 - i586 DVD cdrom://i586/media/core
Core Release (distrib1) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/core/release[/url]
Core Release Debug (distrib2)
Core Updates (distrib3) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/core/updates[/url]
Core Updates Debug (distrib4)
Core Updates Testing (distrib5)
Core Updates Testing Debug (distrib6)
Core Backports (distrib7) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/core/backports[/url]
Core Backports Debug (distrib8)
Core Backports Testing (distrib9)
Core Backports Testing Debug (distrib10)
Nonfree Release (distrib11) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/nonfree/release[/url]
Nonfree Release Debug (distrib12)
Nonfree Updates (distrib13) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/nonfree/updates[/url]
Nonfree Updates Debug (distrib14)
Nonfree Updates Testing (distrib15)
Nonfree Updates Testing Debug (distrib16)
Nonfree Backports (distrib17) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/nonfree/backports[/url]
Nonfree Backports Debug (distrib18)
Nonfree Backports Testing (distrib19)
Nonfree Backports Testing Debug (distrib20)
Tainted Release (distrib21) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/tainted/release[/url]
Tainted Release Debug (distrib22)
Tainted Updates (distrib23) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/tainted/updates[/url]
Tainted Updates Debug (distrib24)
Tainted Updates Testing (distrib25)
Tainted Updates Testing Debug (distrib26)
Tainted Backports (distrib27) [url]ftp://ftp.acc.umu.se/mirror/mageia/distrib/1/i586/media/tainted/backports[/url]
Tainted Backports Debug (distrib28)
Tainted Backports Testing (distrib29)
Tainted Backports Testing Debug (distrib30)
Naf,
nokmsboot в загрузку добавляли?
Если нет - добавьте. И пропишите это на постоянной основе в menu.lst, можно сделать в графике в MCC - загрузка - настройка загрузки
Драйвера то стоят, но грузится нуво.
нуво наверное из-за того,что сейчас с этого ноута в инете.
вопрос на засыпку nokmsboot в каждой строке - это нормально???
обнаружил когда полез исправлять menu.lst
сейчас настройки xorg.conf верну в исходное состояние и перезагружу.
чуть позже отпишу, что получилось
В строке опций ядра, с которого загружаетесь: (можно каждый раз вручную в груб, но лучше на постоянку)
Пример:
title linux
kernel (hd0,3)/boot/vmlinuz-3.0.4-desktop-nrj.69mib BOOT_IMAGE=linux root=UUID=553e45f8-ced8-4769-aecc-ccd9aa513187 nokmsboot logo.nologo quiet nosmp resume=UUID=88552928-27de-4009-a00c-5ab72eaa29ac splash=silent vga=788
initrd (hd0,3)/boot/initrd-3.0.4-desktop-nrj.69mib.imgничего не вышло :(
что ещё может быть
Это просто пример куда вносить опцию. (у меня эта мандрива стоит на третьем по порядку разделе на первом жестком диске)
Кстати по поводу файла xorg никогда его не редактирую вручную (возможно хороший совет)
Я не нашел другого способа иксы запустить. Это была крайняя мера.
Да и проблема возникла до моего вмешательства в xorg.
Что-то я тоже не могу победить эту nouveau. Установил вроде всё, что нужно:
[console]
[alex@localhost ~]$ rpm -qa | grep nvidia
nvidia96xx-doc-html-96.43.18-2.mga1
x11-driver-video-nvidia96xx-96.43.18-2.mga1
dkms-nvidia96xx-96.43.18-2.mga1
dkms-nvidia-current-275.09.07-0.1.mga1.nonfree
[/console]Карточка:
[console][alex@localhost ~]$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
[/console]
Все сделал по вышеописанной методике. nv подцепляется, а проприетарные - нет, вместо него цепляется nouveau. Предложение установить проприетарные драйверы не появляется. На 2010.2 все эти действия давали положительный результат.
Homecraft
Вам current - не нужен. Ваша карта работает на 96-м драйвере.
Сделайте от root :
[console]nvidia-xconfig[/console]
и перезагрузитесь
При загрузке надолго зависает. В подробном режиме пишет, что устанавливает модуль nvidia96xx, ставит точки.... и в конце пишет: "bad exit status 10".
Файл /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/make.log
Показать
[alex@localhost build]$ cat make.log
DKMS make.log for nvidia96xx-96.43.18-2.mga1 for kernel 2.6.38.8-desktop586-8.mga (i586)
Sat Nov 19 00:34:44 YEKT 2011
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.38.8-desktop586-8.mga/build SUBDIRS=/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it.";\
echo; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build
cc -Wp,-MD,/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mageia-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.18\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/.tmp_nv.o /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:17,
from include/linux/sched.h:55,
from include/linux/utsname.h:35,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h:64:6: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h:102:6: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/bitops.h:178:6: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/kernel.h:17:0,
from include/linux/sched.h:55,
from include/linux/utsname.h:35,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:49:26: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7:0,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from include/linux/utsname.h:35,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:57:19: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/preempt.h:11:0,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from include/linux/utsname.h:35,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/list.h: In function 'list_del':
include/linux/list.h:107:16: warning: pointer of type 'void *' used in arithmetic
include/linux/list.h:108:16: warning: pointer of type 'void *' used in arithmetic
include/linux/list.h: In function 'hlist_del':
include/linux/list.h:602:12: warning: pointer of type 'void *' used in arithmetic
include/linux/list.h:603:13: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/sched.h:82:0,
from include/linux/utsname.h:35,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/rculist.h: In function 'list_del_rcu':
include/linux/rculist.h:112:16: warning: pointer of type 'void *' used in arithmetic
include/linux/rculist.h: In function 'list_replace_rcu':
include/linux/rculist.h:158:14: warning: pointer of type 'void *' used in arithmetic
include/linux/rculist.h: In function 'hlist_del_rcu':
include/linux/rculist.h:312:13: warning: pointer of type 'void *' used in arithmetic
include/linux/rculist.h: In function 'hlist_replace_rcu':
include/linux/rculist.h:332:15: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35:0,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:25,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2324:41: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/rculist_bl.h:7:0,
from include/linux/dcache.h:7,
from include/linux/fs.h:383,
from include/linux/poll.h:12,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:77,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/list_bl.h: In function 'hlist_bl_del':
include/linux/list_bl.h:105:12: warning: pointer of type 'void *' used in arithmetic
include/linux/list_bl.h:106:13: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dcache.h:7:0,
from include/linux/fs.h:383,
from include/linux/poll.h:12,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:77,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
include/linux/rculist_bl.h:76:13: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/uaccess.h:571:0,
from include/linux/poll.h:14,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:77,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/uaccess_32.h: In function 'copy_from_user':
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/uaccess_32.h:209:6: warning: comparison between signed and unsigned integer expressions
In file included from include/linux/io.h:22:0,
from include/linux/pci.h:54,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:88,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/io.h: In function 'writeq':
/usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/io.h:106:24: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7:0,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/pci.h:141,
from include/linux/pci.h:1242,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:88,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199:35: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/dma-mapping.h:43:0,
from include/linux/dma-mapping.h:93,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-2.6.38.8-desktop586-8.mga/arch/x86/include/asm/pci.h:141,
from include/linux/pci.h:1242,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:88,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77:48: warning: pointer of type 'void *' used in arithmetic
In file included from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv-linux.h:119:0,
from /var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:13:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:197:3: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:200:3: warning: pointer of type 'void *' used in arithmetic
/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c: At top level:
/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:252:5: error: unknown field 'ioctl' specified in initializer
/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.c:252:5: warning: initialization from incompatible pointer type
make[3]: *** [/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build/nv.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia96xx/96.43.18-2.mga1/build] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
Homecraft,
Загрузитесь с опцией nokmsboot
http://linuxforum.ru/viewtopic.php?pid=211482#p211482