Početak›Forumi›Linuks distribucije›Mandriva›Hardver›X server ne radi posle instalacije mrezne kartice
- This topic has 4 odgovora, 3 glasa, and was last updated 19 years, 5 months ranije by vladadj.
-
AutorČlanci
-
10. oktobar 2004. u 8:32 pm #4308vladadjUčesnik
Pozdrav svima. Imam jedan veliki problem, i nadam se da mozete da mi pomognete.
Imam MDK 10 comunity verziju, sa kernelom 2.6.3. Danas sam instalirao novu mreznu karticu (D-Link), i posle toga, ne mogu da pokrenem X server. Ovde je deo log fajla (/var/log/XFree86.0.log)====================================
==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(–) NVIDIA(0): Linear framebuffer at 0xD0000000
(–) NVIDIA(0): MMIO registers at 0xDE000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: “nvidia”
(II) UnloadModule: “vgahw”
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.Fatal server error:
no screens found============================================
Aki neko ima ideju sta sam zajebao, bio bih veoma zahvalan. Hvala unapred.
10. oktobar 2004. u 9:12 pm #21768tomajaGlavni majstorPokusaj da preinstaliras NVIDIA drajvere. Skini najnoviju verziju sa
http://www.nvidia.comlinux4life
12. oktobar 2004. u 6:52 am #21769vladadjUčesnikOK, pokusao sam da preinstaliram drajvere, ali nisam uspeo. Evo log fajla:
====================================
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
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.comUsing: 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-6111), 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path ‘/usr/src/linux’ as specified by the
‘–kernel-source-path’ commandline option.
-> Kernel source path: ‘/usr/src/linux’
-> Performing cc_version_check with CC=”cc”.
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 appropriate 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 http://www.nvidia.com.===================================
Pomislio sam da trazi kernel sors na pogresnom mestu, pa sam probao sa opcijom “–kernel-source-path=/usr/src/linux”, ali ni to nije uspelo. Ima li jos nekih ideja, ili da preinstaliram ceo sistem?
12. oktobar 2004. u 10:57 am #21770Li-nuxUčesnikMozda link /usr/src/linux ne pokazuje na kernel 2.6 vec na 2.4 ako ga imas instaliranog.
Proveri dali postoji direktorijum /usr/src/2.6.3-4mdk/.tmp_versions i/ili fajl /usr/src/2.6.3-4mdk/.__modpost.cmd ako postoje onda ih izbrisi, jer oni mogu biti uzrok neuspesnog kompajliranja.
Takodje instaliraj drajver sa opcijom –kernel-source-path=/usr/src/2.6.3-4mdk umesto sa –kernel-source-path=/usr/src/linux12. oktobar 2004. u 5:16 pm #21771vladadjUčesnikNa kraju sam uspeo.
Ovo sam nasao negde na netu, pa ce mozda jos nekom da koristi. Kako izgleda postoje dva nacina za instalaciju ovih drajvera. Onaj koji sam ja uradio:
1. pokrenuti instaler sa opcijom –extract-only
sh NVIDIA…….run –extract-only
2. ovo ce napraviti nov direktorijum NVIDIA-nesto, pa onda treba uci u njega i uraditi
make install
3. zarim treba editovati XFree86 config fajl.Drugi nacin (koji nisam probao) je da se pokrene instaler sa opcijom –add this kernel.
sh NVIDIA…………run –add-this-kernel
Ovo bi trebalo da napravi nov paket po imenu NVIDIA……..custom.run. Zatim treba pokrenuti ovaj instaler.
Jos jedna napomena: desilo mi se prilikom prvog pokusaja instalacije da sam dobio gresku tipa “unable to build module” i instaler preporucuje da se uradi “make mrproper” u direktorijukmu gde se nalazi sors. Ovo NEMOJTE raditi, jer cete samo izbrisati config fajl iz tog direktorijuma, a zatim mozete dobiti nove greske (ovo se meni desilo). Ako ste vec izbrisali config fajl, mozete ga iskopirati iz /boot direktorijuma (fajl se zove config-verzija-kernela)
cp /boot/config-2.6.3-4mdk /usr/src/linu-2.6.3-4mdk/.config -
AutorČlanci
Forum ‘Hardver’ je zaključan za nove teme i odgovore.