|
|
|
![]() |
|
Strumenti |
![]() |
#21 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Installato make-kpkg?
|
![]() |
![]() |
![]() |
#22 | |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
Quote:
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package make-kpkg hal-9000:~#
__________________
THE TRUTH IS OUT THERE |
|
![]() |
![]() |
![]() |
#23 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
hal-9000:~# apt-get install dpkg-dev
Reading Package Lists... Done Building Dependency Tree... Done dpkg-dev is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded. hal-9000:~#
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#24 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Prova a installare kernel-package
|
![]() |
![]() |
![]() |
#25 | |
Senior Member
Iscritto dal: May 2003
Città: Un mondo che non c'è.
Messaggi: 1731
|
Quote:
__________________
[17:13] <ANOnimoVeneziano> Devo dire che Windows mi ha salvato la vita. ![]() ![]() |
|
![]() |
![]() |
![]() |
#26 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
hal-9000:/usr/src/linux# make-kpkg modules_image
for module in /usr/src/modules/nvidia-kernel-1.0.4349 ; do \ if test -d $module; then \ (cd $module; \ if ./debian/rules KVERS="2.5.74" KSRC="/usr/src/linux" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \ KPKG_DEST_DIR="/usr/src/linux/.." \ KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \ KDREV="10.00.Custom" kdist_image; then \ echo "Module $module processed fine"; \ else \ echo "Module $module failed."; \ echo "Hit return to Continue"; \ read ans; \ fi; \ ); \ fi; \ done make[1]: Entering directory `/usr/src/modules/nvidia-kernel-1.0.4349' if [ -f /usr/src/modules/nvidia-kernel-1.0.4349/debian/control.template ]; then \ cp -a /usr/src/modules/nvidia-kernel-1.0.4349/debian/control.template /usr/src/modules/nvidia-kernel-1.0.4349/debian/control; \ fi dh_testdir dh_testroot if [ ! -f /usr/src/modules/nvidia-kernel-1.0.4349/"NVIDIA_kernel-1.0-4349.tar.gz" ]; then \ echo "NVIDIA_kernel needs to be downloaded."; \ if which wget > /dev/null; then \ echo "Now attempting to download NVIDIA_kernel."; \ if ! `wget --passive-ftp -P /usr/src/modules/nvidia-kernel-1.0.4349 -U "Debian GNU/Linux" http://download.nvidia.com/XFree86/Linux-x86/1.0-4349/"NVIDIA_kernel-1.0-4349.tar.gz"`; then \ echo ""NVIDIA_kernel-1.0-4349.tar.gz" not on web server."; \ exit 1; \ fi; \ else \ echo "wget not found. (apt-get install wget)"; \ exit 1; \ fi; \ fi tar -zxvf /usr/src/modules/nvidia-kernel-1.0.4349/"NVIDIA_kernel-1.0-4349.tar.gz" -C /usr/src/modules/nvidia-kernel-1.0.4349 NVIDIA_kernel-1.0-4349/ NVIDIA_kernel-1.0-4349/nv.c NVIDIA_kernel-1.0-4349/os-agp.c NVIDIA_kernel-1.0-4349/os-interface.c NVIDIA_kernel-1.0-4349/os-registry.c NVIDIA_kernel-1.0-4349/os-agp.h NVIDIA_kernel-1.0-4349/os-interface.h NVIDIA_kernel-1.0-4349/nv-linux.h NVIDIA_kernel-1.0-4349/nv-misc.h NVIDIA_kernel-1.0-4349/nv.h NVIDIA_kernel-1.0-4349/rmretval.h NVIDIA_kernel-1.0-4349/nvtypes.h NVIDIA_kernel-1.0-4349/README NVIDIA_kernel-1.0-4349/conftest.sh NVIDIA_kernel-1.0-4349/makedevices.sh NVIDIA_kernel-1.0-4349/Makefile NVIDIA_kernel-1.0-4349/nv-kernel.o touch configure-stamp dh_testdir dh_testroot You appear to be compiling the NVIDIA kernel module with a compiler different from the one that was used to compile the running kernel. We are going to use the compiler that were used to build the kernel with the specified headers. (if specified in KSRC/include/linux/compile.h) Using compiler gcc-3.3 touch /usr/src/modules/nvidia-kernel-1.0.4349/NVIDIA_kernel-1.0-4349/gcc-check IGNORE_CC_MISMATCH=1 /usr/bin/make -C /usr/src/modules/nvidia-kernel-1.0.4349/NVIDIA_kernel-1.0-4349 SYSINCLUDE=/usr/src/linux/include nvidia.o make[2]: Entering directory `/usr/src/modules/nvidia-kernel-1.0.4349/NVIDIA_kernel-1.0-4349' cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4349 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_5 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c In file included from nv.c:14: nv-linux.h:24:31: linux/modversions.h: No such file or directory nv-linux.h:48:4: #error This driver does not support 2.5.x development kernels! In file included from /usr/src/linux/include/linux/irq.h:19, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:10, from nv-linux.h:79, from nv.c:14: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:10, from nv-linux.h:79, from nv.c:14: /usr/src/linux/include/linux/irq.h:69: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/src/linux/include/linux/irq.h:71, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:10, from nv-linux.h:79, from nv.c:14: /usr/src/linux/include/asm/hw_irq.h:27: error: `NR_IRQS' undeclared here (not in a function) /usr/src/linux/include/asm/hw_irq.h:30: error: `NR_IRQS' undeclared here (not in a function) In file included from nv.c:14: nv-linux.h: In function `NV_IRQL_IS_RAISED': nv-linux.h:253: warning: implicit declaration of function `__save_flags' nv.c: At top level: nv.c:46: error: syntax error before "nv_dev_handle" nv.c:46: warning: type defaults to `int' in declaration of `nv_dev_handle' nv.c:46: warning: data definition has no type or storage class nv.c:47: error: syntax error before "nv_ctl_handle" nv.c:47: warning: type defaults to `int' in declaration of `nv_ctl_handle' nv.c:47: warning: data definition has no type or storage class nv.c: In function `init_module': nv.c:744: warning: implicit declaration of function `devfs_register_chrdev' nv.c:755: error: `devfs_handle_t' undeclared (first use in this function) nv.c:755: error: (Each undeclared identifier is reported only once nv.c:755: error: for each function it appears in.) nv.c:760: warning: implicit declaration of function `devfs_register' nv.c:761: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function) nv.c:824: warning: implicit declaration of function `devfs_unregister_chrdev' nv.c: In function `cleanup_module': nv.c:887: warning: implicit declaration of function `devfs_unregister' nv.c: In function `nv_kern_vma_open': nv.c:920: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:481) nv.c: In function `nv_kern_vma_release': nv.c:954: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:493) nv.c: In function `nv_kern_open': nv.c:1077: error: invalid operands to binary & nv.c:1081: error: invalid operands to binary & nv.c:1089: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:481) nv.c:1122: warning: passing arg 2 of `request_irq' from incompatible pointer type nv.c:1158: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:493) nv.c: In function `nv_kern_close': nv.c:1180: error: invalid operands to binary & nv.c:1183: error: invalid operands to binary & nv.c:1247: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:493) nv.c: In function `nv_kern_mmap': nv.c:1414: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:481) nv.c: In function `nv_kern_ioctl': nv.c:1523: error: structure has no member named `uc' nv.c: In function `nv_kern_isr': nv.c:1667: warning: implicit declaration of function `mark_bh' nv.c:1667: error: `IMMEDIATE_BH' undeclared (first use in this function) nv.c: In function `nv_kern_ctl_open': nv.c:1761: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:481) nv.c: In function `nv_kern_ctl_close': nv.c:1826: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:493) nv.c: In function `nv_kern_read_agpinfo': nv.c:1961: error: structure has no member named `name' make[2]: *** [nv.o] Error 1 make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.4349/NVIDIA_kernel-1.0-4349' make[1]: *** [build-stamp] Error 2 make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.4349' Module /usr/src/modules/nvidia-kernel-1.0.4349 failed. Hit return to Continue hal-9000:/usr/src/linux# ho installato il pacchetto e mi ha chiesto un milione di cose e io ho dat oa tutte invio...ora perchè questi errori?
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#27 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Perche' non provi con il .run?
|
![]() |
![]() |
![]() |
#28 | |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
Quote:
__________________
THE TRUTH IS OUT THERE |
|
![]() |
![]() |
![]() |
#29 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Credo di si'
|
![]() |
![]() |
![]() |
#30 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
funziona se fai così:
http://xenux.danstesoreilles.com/?article=25&skin=skin1 adesso provo!
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#31 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
non ci sono gli headers per il mio kernel (2.5.74)
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#32 | |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Quote:
![]() se hai il 2.5.74 avrai i sorgenti da qualche parte, no? Mettili sotto /usr/src e non ti servono gli headers |
|
![]() |
![]() |
![]() |
#33 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
non vorrei dire una cavolata ma se non ricordo male i driver nvidia non sono compatibili con il kernel 2.5.xxx. qualche tempo fa girava sulla miling list una patch che _avrebbe_ dovuto risolvere questo problema.
ciao ![]() |
![]() |
![]() |
![]() |
#34 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
adesso metto il 2.4.21
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#35 | |
Senior Member
Iscritto dal: May 2003
Città: Un mondo che non c'è.
Messaggi: 1731
|
Quote:
__________________
[17:13] <ANOnimoVeneziano> Devo dire che Windows mi ha salvato la vita. ![]() ![]() |
|
![]() |
![]() |
![]() |
#36 |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
eccomi con il kernel 2.4.21, quello scaricato da kernel.org, ora provo con il primo metodo o con il run?
__________________
THE TRUTH IS OUT THERE |
![]() |
![]() |
![]() |
#37 | |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#38 | |
Senior Member
Iscritto dal: May 2003
Città: Un mondo che non c'è.
Messaggi: 1731
|
Quote:
__________________
[17:13] <ANOnimoVeneziano> Devo dire che Windows mi ha salvato la vita. ![]() ![]() |
|
![]() |
![]() |
![]() |
#39 | |
Senior Member
Iscritto dal: Dec 2001
Città: Torino
Messaggi: 916
|
Quote:
__________________
THE TRUTH IS OUT THERE |
|
![]() |
![]() |
![]() |
#40 | |
Senior Member
Iscritto dal: May 2003
Città: Un mondo che non c'è.
Messaggi: 1731
|
Quote:
__________________
[17:13] <ANOnimoVeneziano> Devo dire che Windows mi ha salvato la vita. ![]() ![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:51.