View previous topic :: View next topic |
Author |
Message |
eMPee584 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Megaman/megaman.gif)
Joined: 01 Nov 2003 Posts: 152 Location: Aachen, Germany
|
Posted: Mon Dec 15, 2003 1:25 am Post subject: how to get nvidia kernel 4363 to compile under 2.6test11 ? |
|
|
it gives:
Quote: | emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4363-r3 to /
>>> md5 src_uri NVIDIA_kernel-1.0-4363.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to /var/tmp/portage/nvidia-kernel-1.0.4363-r3/work
* Linux kernel 2.6.0
* Applying tasklet patch for kernel 2.[56]... [ ok ]
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4348 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_5 -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c
nv.c: In function `nv_kern_open':
nv.c:1049: warning: implicit declaration of function `kdev_val'
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1877: structure has no member named `name'
make: *** [nv.o] Error 1
!!! ERROR: media-video/nvidia-kernel-1.0.4363-r3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)
|
the error occurs in line 1877:
len += sprintf(page+len, "%s\n", NV_PCI_DEVICE_NAME(dev));
if I comment that line and compile it wont load the module (dmesg gives:
Quote: | nvidia: no version magic, tainting kernel.
nvidia: module license 'NVIDIA' taints kernel.
nvidia: Unknown symbol kdev_val
|
Now I've heard this older version doens't have the problems with broken graphics when switching to console and back, hwo can I get this to work? Help appreciated.
thx and cya _________________ "You cannot teach people anything. You can only help them discover it within themselves." --Galileo
expand your state of mind by not watching tv =)
- .... .. ... .-- --- .-. .-.. -.. .. ... .-- . .-.. .-.. .-- .. -.-. -.- . -..
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Doomwookie Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Oct 2003 Posts: 143 Location: Dayton, Oh
|
Posted: Mon Dec 15, 2003 2:10 am Post subject: |
|
|
you need to change the /usr/src/linux link to point to the source of the 2.6 kernel you are using to get the nvidia driver to install. _________________ Doomwookie
Toshiba Satellite P25-S607
Gentoo/Windows MCE Dualboot |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blueworm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 09 May 2003 Posts: 962
|
Posted: Mon Dec 15, 2003 1:05 pm Post subject: |
|
|
Doomwookie wrote: | you need to change the /usr/src/linux link to point to the source of the 2.6 kernel you are using to get the nvidia driver to install. |
Negative that is not necesarry.
I have all my 2.6X kernel source in my home dir (like the kernel README recommends and no sym-link to /usr/src/linux)
Code: | INSTALLING the kernel:
- If you install the full sources, put the kernel tarball in a
directory where you have permissions (eg. your home directory) and
unpack it:
gzip -cd linux-2.6.XX.tar.gz | tar xvf -
Replace "XX" with the version number of the latest kernel.
Do NOT use the /usr/src/linux area! This area has a (usually
incomplete) set of kernel headers that are used by the library header
files. They should match the library, and not get messed up by
whatever the kernel-du-jour happens to be. |
Have you booted into your new kernel?
You must be in your new kernel, then install the NVIDIA_kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike4148 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 09 Sep 2003 Posts: 641
|
Posted: Mon Dec 15, 2003 11:33 pm Post subject: |
|
|
It's not going to work, because no one has updated the patch included in the 4363 ebuilds for the newer 2.6.0-test versions. You could try manually installing it, using the .run file and the 2.6 patch (search the fora for minion.de to find it's location). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eMPee584 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Megaman/megaman.gif)
Joined: 01 Nov 2003 Posts: 152 Location: Aachen, Germany
|
Posted: Tue Dec 16, 2003 12:04 am Post subject: mmmh |
|
|
thx mike, I already had figured the problem in the outdated 4363 ebuild; found the patches - and a new 4620 beta. Does that one fix anything or need I go back to 4363?
and, of course I am running the kernel already.
regards _________________ "You cannot teach people anything. You can only help them discover it within themselves." --Galileo
expand your state of mind by not watching tv =)
- .... .. ... .-- --- .-. .-.. -.. .. ... .-- . .-.. .-.. .-- .. -.-. -.- . -..
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eMPee584 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Megaman/megaman.gif)
Joined: 01 Nov 2003 Posts: 152 Location: Aachen, Germany
|
Posted: Wed Dec 17, 2003 9:26 pm Post subject: obviously |
|
|
it does fix my problem, no more wired graphics. Cool. _________________ "You cannot teach people anything. You can only help them discover it within themselves." --Galileo
expand your state of mind by not watching tv =)
- .... .. ... .-- --- .-. .-.. -.. .. ... .-- . .-.. .-.. .-- .. -.-. -.- . -..
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|