[risolto]slack current e driver nvidia: problema!
Inviato: sab 14 mar 2009, 15:39
Ho aggiornato slackware 12.2 alla current.
Tutto bene, tutto funzionante con un kernel ricompilato da me...ma quando provo ad usare il kernel 2.6.28.7 rilasciato da Pat i driver Nvidia non si installano.
Il problema sembra essere la versione di GCC che ora dovrebbe essere la 4.3 mentre il kernel è stato compilato su 4.2.
Mi tocca obbligatoriamente fare un upgrade di gcc o ricompilare il kernel oppure conoscete qualche soluzione più rapida e pulita?
Posto le relative parti dei log:
Quello che però mi sembra curioso è che anche il kernel ricompilato da me (2.6.28.3) è stato compilato prima dell' aggiornamento e infatti il warning all' inizio compare lo stesso, ma poi i driver si installano!
Tutto bene, tutto funzionante con un kernel ricompilato da me...ma quando provo ad usare il kernel 2.6.28.7 rilasciato da Pat i driver Nvidia non si installano.
Il problema sembra essere la versione di GCC che ora dovrebbe essere la 4.3 mentre il kernel è stato compilato su 4.2.
Mi tocca obbligatoriamente fare un upgrade di gcc o ricompilare il kernel oppure conoscete qualche soluzione più rapida e pulita?
Posto le relative parti dei log:
Codice: Seleziona tutto
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.2) does not exactly match the
current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
[...]
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Unknown symbol in module
-> Kernel messages:
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Using IPI No-Shortcut mode
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
ReiserFS: sda3: found reiserfs format "3.6" with standard journal
ReiserFS: sda3: using ordered data mode
ReiserFS: sda3: journal params: device sda3, size 8192, journal first block
18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda3: checking transaction log (sda3)
ReiserFS: sda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 424k freed
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f84ba401203]
nvidia: module license 'NVIDIA' taints kernel.
nvidia: Unknown symbol agp_bind_memory
nvidia: Unknown symbol agp_enable
nvidia: Unknown symbol agp_backend_acquire
nvidia: Unknown symbol agp_bridges
nvidia: Unknown symbol agp_free_memory
nvidia: Unknown symbol agp_allocate_memory
nvidia: Unknown symbol agp_unbind_memory
nvidia: Unknown symbol agp_copy_info
nvidia: Unknown symbol agp_backend_release
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.