Kernel 2.6.0-test7 und nvidia Grafikkarte

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Kernel 2.6.0-test7 und nvidia Grafikkarte

Beitrag von deta1 » 17.10.2003 19:09:16

Hallo!

Hab gerade versucht meine Nvidia zum laufen zu bringen!

Aber vergeblich!

Wie schaft man das? Oder gehts nicht?

cu Deta

Benutzeravatar
spiffi
Beiträge: 1128
Registriert: 09.08.2003 19:02:27

Beitrag von spiffi » 17.10.2003 19:16:30

Da brauchst Du nen Patch für.
Den gibts hier:
http://www.minion.de

deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Beitrag von deta1 » 17.10.2003 19:23:22

spiffi hat geschrieben:Da brauchst Du nen Patch für.
Den gibts hier:
http://www.minion.de
shitt schon wieder was neues...

Was muss ich da tun?

Bis jetzt hab ich den NVIDIA Treiber ! Hat bisher immer geklappt!

Wo muss ich wie was tun?
Welche Dateien brauch ich da jetzt..

cu Deta

Benutzeravatar
spiffi
Beiträge: 1128
Registriert: 09.08.2003 19:02:27

Beitrag von spiffi » 17.10.2003 19:35:02


deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Beitrag von deta1 » 17.10.2003 21:25:44

Hab aber dennoch Probs:

2) install the kernel module (as root):

# sh NVIDIA-Linux-x86-1.0-4496-pkg0.run --extract-only
# cd NVIDIA-Linux-x86-1.0-4496-pkg0
# cd usr/src/nv
# patch -p1 < NVIDIA_kernel-1.0-4496-2.6.diff
# ln -s Makefile.kbuild Makefile
# make install

make install macht einen error abbruch..

cu deta

Indy500
Beiträge: 380
Registriert: 18.04.2003 05:03:40

Beitrag von Indy500 » 17.10.2003 21:54:54

Wenn du die Fehlermeldung(en) auch posten würdest könnte man dir auch weiterhelfen.

deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Beitrag von deta1 » 17.10.2003 22:26:43

Indy500 hat geschrieben:Wenn du die Fehlermeldung(en) auch posten würdest könnte man dir auch weiterhelfen.
make[1]: Entering directory `/usr/src/kernel-source-2.6.0-test7'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.o
make[1]: Leaving directory `/usr/src/kernel-source-2.6.0-test7'
nvidia.ko failed to build!



cu deta

Benutzeravatar
spiffi
Beiträge: 1128
Registriert: 09.08.2003 19:02:27

Beitrag von spiffi » 17.10.2003 22:54:14

Vielleicht hättest Du das Readme komplett lesen sollen? :wink:
If you already installed the NVIDIA 1.0-4496 driver using the official
installer on a supported Linux 2.4 kernel, have only recently decided to
experiment with Linux 2.6 and wish to use the NVIDIA binary driver, you
can achieve this by following these instructions:


[...]

If you wish to install the NVIDIA 1.0-4496 driver on a virgin Linux 2.6
system that doesn't have the user space driver components installed, you
can use a Linux 2.6 compatible version of the official installer:


[...]

1) download:

NVIDIA-Linux-x86-1.0-4496-pkg0.run (nvidia)
NVIDIA-Linux-x86-1.0-4496-pkg#.tar.gz (minion.de)
NVIDIA_kernel-1.0-4496-2.6.diff (minion.de)

2) install with a modified installer:

# sh NVIDIA-Linux-x86-1.0-4496-pkg0.run --extract-only
# cd NVIDIA-Linux-x86-1.0-4496-pkg0
# tar zxf ../NVIDIA-Linux-x86-1.0-4496-pkg#.tar.gz
# cd usr/src/nv
# patch -p1 < ../../../../NVIDIA_kernel-1.0-4496-2.6.diff
# ln -s Makefile.kbuild Makefile
# cd ../../../..
# NVIDIA-Linux-x86-1.0-4496-pkg0/nvidia-installer

deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Beitrag von deta1 » 18.10.2003 12:14:55

So, jetzt hab ich alles durch!
Egal welche Variante ich auch benutze, es ist immer
der selber fehler, ich hab nun das LOG mal komplett hier gepostet:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Oct 18 12:08:04 2003

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
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
4496). As part of installing this driver (version: 1.0-4496), 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.0-test7/build'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
make: *** No rule to make target `clean'. Stop.
-> Building kernel module:
executing: 'cd ./usr/src/nv; make KERNDIR=/lib/modules/2.6.0-test7/build mod
ule'...
make: *** No rule to make target `module'. Stop.
-> 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 http://www.nvidia.com.



Ich weis echt nicht mehr weiter!

cu Deta

Benutzeravatar
chimaera
Beiträge: 3804
Registriert: 01.08.2002 01:31:18
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von chimaera » 18.10.2003 13:44:21

da fehlt wohl noch so einiges:

Code: Alles auswählen

# COLUMNS=100 dpkg -l | grep xlib*
ii  xlibmesa-gl         4.3.0-0pre1v3       Mesa 3D graphics library [XFree86]
ii  xlibmesa-gl-dev     4.3.0-0pre1v3       Mesa 3D graphics library development files [XFree86]
ii  xlibmesa-glu        4.3.0-0pre1v3       Mesa OpenGL utility library [XFree86]
ii  xlibmesa-glu-dev    4.3.0-0pre1v3       Mesa OpenGL utility library development files [XFree86
ii  xlibs               4.3.0-0pre1v3       X Window System client libraries
ii  xlibs-data          4.3.0-0pre1v3       X Window System client data
ii  xlibs-dev           4.3.0-0pre1v3       X Window System client library development files
kümmer dich nicht die versionen, ich verwende x aus dem experimentellen zweig, die *-dev-packete sind imho auch nicht nötig..
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant

deta1
Beiträge: 978
Registriert: 23.07.2003 17:11:11

Beitrag von deta1 » 18.10.2003 14:13:05

Hi!
Geht leider immer noch nicht!
So ist es jetzt hier:

COLUMS=100 dpkg -l | grep xlib*
ii xlibmesa-dev 4.3.0-0ds3v2 Mesa 3D graphics development library meta-pa
rc xlibmesa-gl 4.3.0-0ds4v2.0 Mesa 3D graphics library [XFree86]
ii xlibmesa-gl-de 4.3.0-0ds3v2 Mesa 3D graphics library development files [
ii xlibmesa-glu-d 4.3.0-0ds3v2 Mesa OpenGL utility library development file
rc xlibmesa3 4.1.0-16 XFree86 version of Mesa 3D graphics library
rc xlibmesa3-glu 4.2.1-11.backp Mesa OpenGL utility library [XFree86]
ii xlibmesa4-gl 4.3.0-0ds3v2 Mesa 3D graphics library [XFree86]
ii xlibmesa4-glu 4.3.0-0ds3v2 Mesa OpenGL utility library [XFree86]
ii xlibs 4.3.0-0ds4v2.0 X Window System client libraries
ii xlibs-data 4.3.0-0ds4v2.0 X Window System client data
ii xlibs-dev 4.3.0-0ds4v2.0 X Window System client library development f

Die Fehlermeldung sieht nun so aus:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Oct 18 14:04:55 2003

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
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
4496). As part of installing this driver (version: 1.0-4496), 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.0-test7/build'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make KERNDIR=/lib/modules/2.6.0-test7/build mod
ule'...
make[1]: Entering directory `/usr/src/kernel-source-2.6.0-test7'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /usr/src/nvidia/NV
IDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv_compiler.h
CC [M] /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.o
In file included from include/asm/hardirq.h:6,
from include/linux/interrupt.h:11,
from /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src
/nv/nv-linux.h:75,
from /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src
/nv/nv.c:14:
include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from include/linux/irq.h:72,
from include/asm/hardirq.h:6,
from include/linux/interrupt.h:11,
from /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src
/nv/nv-linux.h:75,
from /usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src
/nv/nv.c:14:
include/asm/hw_irq.h:28: `NR_IRQS' undeclared here (not in a function)
include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)
make[2]: *** [/usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.o
] Error 1
make[1]: *** [/usr/src/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv] Err
or 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.0-test7'
nvidia.ko failed to build!
make: *** [module] Error 1
-> 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 http://www.nvidia.com.

Antworten