View Full Version : linux-headers
Domanda forse un po` banale: come tiro fuori i linux-headers-2.6.20?
Ne ho bisogno per installare i driver nvidia....
Ho appena compilato il kernel 2.6.20 scaricandolo dal sito kernel.org, ma non vi trovo l'headers e non so come tirarlo fuori.
Mi aiutate?
ilsensine
07-02-2007, 16:52
Se hai compilato manualmente il kernel, tutti i link corretti vengono creati all'atto del make modules_install e i driver nvidia dovrebbero vederli e risalire agli header. Ovviamente non devi cancellare i sorgenti che hai compilato, in quanto i symlink fanno riferimento ad essi.
Se hai compilato manualmente il kernel, tutti i link corretti vengono creati all'atto del make modules_install e i driver nvidia dovrebbero vederli e risalire agli header. Ovviamente non devi cancellare i sorgenti che hai compilato, in quanto i symlink fanno riferimento ad essi.
Allora il problema non risiede negli headers?
Praticamente non mi si installano i driver...
Ora cerco di postare l'errore... :doh:
Uhm... io non capisco molto, comunque questa e` l'ultima parte del log di installazione:
Building modules, stage 2.
make -f /usr/src/linux-2.6.20/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.20/Module.symvers -I /tmp/se
lfgz3772/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/Module.symvers -o /tmp/se
lfgz3772/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/Module.symvers -w vmlinux
/tmp/selfgz3772/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nvidia.o
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params fro
m .text between '_text' (at offset 0xc0100036) and 'checkCPUtype'
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params fro
m .text between '_text' (at offset 0xc0100044) and 'checkCPUtype'
WARNING: vmlinux - Section mismatch: reference to .init.data:init_pg_tables_
end from .text between '_text' (at offset 0xc01000a6) and 'checkCPUtype'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc01000d5) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc01000df) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc01000fe) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc010010f) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc0100115) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc010011b) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc0100121) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc0100137) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc0100141) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc010014a) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'checkCPUtype' (at offset 0xc0100150) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'check_x87' (at offset 0xc01001b4) and 'setup_pda'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
om .text between 'check_x87' (at offset 0xc01001d2) and 'setup_pda'
WARNING: vmlinux - Section mismatch: reference to .init.text:start_kernel fr
om .text between 'is386' (at offset 0xc01001ae) and 'check_x87'
WARNING: vmlinux - Section mismatch: reference to .init.text:spawn_ksoftirqd
from .text between 'init' (at offset 0xc010038a) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:APIC_init_unipr
ocessor from .text between 'init' (at offset 0xc010038f) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:sched_init_smp
from .text between 'init' (at offset 0xc0100394) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:usermodehelper_
init from .text between 'init' (at offset 0xc010039e) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:driver_init fro
m .text between 'init' (at offset 0xc01003a3) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:sysctl_init fro
m .text between 'init' (at offset 0xc01003a8) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.data: from .text bet
ween 'init' (at offset 0xc01003bd) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.data: from .text bet
ween 'init' (at offset 0xc01003fb) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.text:prepare_namespa
ce from .text between 'init' (at offset 0xc01004cf) and 'rest_init'
WARNING: vmlinux - Section mismatch: reference to .init.data:initkmem_list3
from .text between 'set_up_list3s' (at offset 0xc014c1ee) and 's_stop'
WARNING: vmlinux - Section mismatch: reference to .init.text:eisa_root_regis
ter from .text between 'pci_eisa_init' (at offset 0xc021e2c5) and 'virtual_e
isa_release'
WARNING: vmlinux - Section mismatch: reference to .init.text:eisa_root_regis
ter from .text between 'virtual_eisa_root_init' (at offset 0xc021e310) and '
adjust_jiffies'
WARNING: vmlinux - Section mismatch: reference to .init.text: from .text bet
ween 'iret_exc' (at offset 0xc0293c71) and '_etext'
WARNING: vmlinux - Section mismatch: reference to .init.text:start_kernel fr
om .paravirtprobe between '__start_paravirtprobe' (at offset 0xc0324b50) and
'__stop_paravirtprobe'
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
virt_ops'
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
Puo` essere un problema del kernel? Non ho compilato qualcosa?
ilsensine
08-02-2007, 09:02
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params fro
m .text between '_text' (at offset 0xc0100036) and 'checkCPUtype'
Questi warning in genere non sono mortali
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'
Questo è fatale, il driver utilizza un simbolo che non è concesso ai driver non-gpl.
Probabilmente devi aspettare che nvidia sistemi il problema in via definitiva. Nel frattempo, se ricompili il kernel disabilitando il supporto per la paravirtualizzazione, dovresti poter installare i driver.
Questi warning in genere non sono mortali
Questo è fatale, il driver utilizza un simbolo che non è concesso ai driver non-gpl.
Probabilmente devi aspettare che nvidia sistemi il problema in via definitiva. Nel frattempo, se ricompili il kernel disabilitando il supporto per la paravirtualizzazione, dovresti poter installare i driver.
Praticamente non si installano ne sul 2.6.20 che ho compilato io, ne sul 2.6.19-rc3 che si e` installato.
Allora ho installato un kernel precompilato, il 2.6.18 dai miei repository e ci sono riuscito!
Dici che devo ricompilare senza il kvm? O mi conviene aspettare a sto punto?
zephyr83
09-02-2007, 16:13
Praticamente non si installano ne sul 2.6.20 che ho compilato io, ne sul 2.6.19-rc3 che si e` installato.
Allora ho installato un kernel precompilato, il 2.6.18 dai miei repository e ci sono riuscito!
Dici che devo ricompilare senza il kvm? O mi conviene aspettare a sto punto?
per me devi aspettare i nuovi driver nvidia. capita anche a me cn frgalware, quando aggiorno il kernel i driver nvidia nn stanno al passo e mi tocca aspettare! Intanto o riuso il vecchio kernel o uso i driver open (nv)
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.