Click to See Complete Forum and Search --> : nvidia drivers for kernel 2.6.0 test2


spunk13377
07-31-2003, 01:53 AM
i have been fiddling around trying to get this to work for litteraly probably 2 and a half hours..

i searched the forums i havent found anything..
the only thing i have found is:

www.minion.de and the patches listed there.

can anyone help me figure this out?

sharth
07-31-2003, 02:10 AM
okies. there is an option on the nvidia binary to extract stuff into a directory. you want to do that. and then do a patch -p0 ( i think) in that directory onto the patch. and then run make.

thats the short and sweet of it. ask if you need more description and I will fill it out tommorow morning.

spunk13377
07-31-2003, 02:46 AM
ok so ive been working on it and i basicly figured out how to do what you just said...

except

i think the patch is only supposed to be installed in /NVIDIA-Linux-blah/usr/src/nv

because /NVIDIA-Linux-blah makefile points to the makefile in that directory anyway (NVIDIA-Linux-blah/usr/src/nv)..

so here is the problem after figuring all of that out "patch" wont work for me anymore... it is the strangest thing.

at first i could run "patch -p0 NVIDA_kernalblah.diff"
and it would say it wants to patch the makefile but it doesnt exist since i didnt know what the hell i was supposed to patch and i was patching the wrong thing..

NOW when i use patch to patch the correct thing the shell just hangs... and does nothing.. i rebooted and tried again and redownloaded the patch and everything and it just hangs.. i really dont understand what could have happened..

it basicly looks something like this

: patch -p0 NVIDIA-kernalblah.diff
_


my machine doesnt need more time to patch because i tried to patch the wrong thing again just to see if patch was working and it still hangs and doesnt even give me the error message anymore about not being able to find the file to patch...
what the hell is wrong..

an underscore just sits there until i ctrl+c and exit..

thanks for the help

spunk13377
07-31-2003, 03:05 AM
pretty sure i have the file patched now but i am getting an error

QM_MODULES: Funcion not implemented


whats up

spunk13377
07-31-2003, 03:52 AM
ok i patched the file but i just got myself in a whole lot of trouble.. ive been reading up it appears that i need to install the new modutils from:
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

so i did... and it still didnt work.. so i uninstalled my old modutils... and then after i was smart enough to look at the readme i learned that that was a big nono... what do i do???? im lost

EAD INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!

1a) If you want to install in /sbin:
./configure --prefix=/
make moveold (if installing for the first time).

"make moveold" renames the old insmod, modprobe, rmmod and lsmod to
insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
manpages.

OR,

1b) If you want to install in /usr/local/sbin:
./configure
make links

"make links" makes links to the previous insmod, modprobe, rmmod and
lsmod (which are in /sbin) in /usr/local/sbin

2) Now, build it:
make
make install

3) If running for the first time, you might want to convert your old
modules.conf to modprobe.conf:

./generate-modprobe.conf /etc/modprobe.conf

4) If you are using devfs, copy modprobe.devfs to /etc

5) You will need to run "depmod" for your new kernel, eg:

depmod 2.5.50

6) If you want to hack on the source:
aclocal && automake --add-missing --copy && autoconf


Those are the install noted but it doesnt say what to do if you actualy do destroy your old utils (which i did)

damn i F*cked up :(

sharth
07-31-2003, 02:04 PM
modtools and module-init-tools should not conflict with each other. modtools is for 2.4.x kernels, and module-init-tools is for the newer 2.5.x and 2.6.x kernels.

try to reinstall modtools, I'll look into this more in a bit and see what i can do.

plattypus1
07-31-2003, 02:17 PM
If you have gentoo, make sure your /usr/src/linux is pointing to linux-2.6.0-test2 and do "emerge nvidia-kernel"

spunk13377
07-31-2003, 03:25 PM
i installed the module init tools and i did everything as it said..

nothing will work so i just compiled the 2.4.21 kernel and now everything is working fine... ill save screwing with the 2.6 kernel for another day.


thanks for the help

spunk13377
07-31-2003, 06:21 PM
sharth, id still like to troubleshoot this though so if you have any ideas tell me :)

thanks

freakmn
07-31-2003, 06:31 PM
Are you using the latest drivers? NVIDIA came out with a new set of drivers (http://www.nvidia.com/object/linux_display_ia32_1.0-4496.html) 3 days ago. I didn't notice if they supported the new kernel. It would be nice to know if they do, though.

mdwatts
07-31-2003, 06:38 PM
Nvidia drivers for the 2.6 kernel?

I thought I saw a thread posted here within the last couple of weeks with a link to where you can download Nvidia drives for the 2.6 kernel.

spunk13377
07-31-2003, 06:54 PM
no , the new set of drivers doesnt support it...

and i guess thats not even my problem anymore.. its getting the new module init tools to work..

i followed the readme exactly and got the latest version... reinstalled my old modutils and now i can lsmod from my old kernel again..


but still from 2.6.0test2 i still get QM_MODULES error :(

mdwatts
07-31-2003, 06:57 PM
Originally posted by spunk13377
no , the new set of drivers doesnt support it...


2.6 Nvidia drivers from somewhere else and not from www.nvidia.com

Someone must have built 2.6 Nvidia drivers and posted them.

Try searching the JL forums to see if you can locate that thread.

'2.6 nvidia'

spunk13377
07-31-2003, 08:38 PM
oh, excellent... but my modules dont work yet lol

thanks mdwatts :)