You are not logged in.

#1 2004-01-09 14:39:12

skparkes
Member
Registered: 2003-12-11
Posts: 52

Nvidia driver in default Arch 2.6 kernel

Similar to cmf, I'm having trouble getting the nvidia driver to install in the defauly arch 2.6 kernel.  I am using the minion.de patches, and I already have the driver installed for my 2.4 kernel.  Here is the exact error message of make install:

cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.0'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.0'
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1

Obviously looks like it's missin' the Makefile.  I'm sure one would appear if I were to build my own kernel, but I'd rather not.  Is there just somewhere else I need to point the installer, or am I missing something else?

Thanks a lot,

Isamoor

Offline

#2 2004-01-09 14:42:38

skparkes
Member
Registered: 2003-12-11
Posts: 52

Re: Nvidia driver in default Arch 2.6 kernel

Did a little more looking into trying to find that make file.  Realized the build directory is just a simlink back to /usr/src/linux.  I renamed the current /usr/src/linux to 2.4, and pointed a new linux simlink to the 2.6 directory, but it still can't find the make file.  Is there even one in the /usr/src/linux-2.6.0 directory somewhere?

Thanks,

Isamoor

Offline

#3 2004-01-09 14:46:14

skparkes
Member
Registered: 2003-12-11
Posts: 52

Re: Nvidia driver in default Arch 2.6 kernel

Hehe, dammit.  Thought someone would find this ammusing.  Went to get the kernel sources, then realized 2.6.1 had been released, then realize slashdot had found out about it.  Gonna figure out how much bandwidth is left for me now...

Isamoor

Offline

#4 2004-01-10 17:50:59

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Nvidia driver in default Arch 2.6 kernel

skparkes wrote:

Similar to cmf, I'm having trouble getting the nvidia driver to install in the defauly arch 2.6 kernel.  I am using the minion.de patches, and I already have the driver installed for my 2.4 kernel.  Here is the exact error message of make install:

cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.0'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.0'
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1

Obviously looks like it's missin' the Makefile.  I'm sure one would appear if I were to build my own kernel, but I'd rather not.  Is there just somewhere else I need to point the installer, or am I missing something else?

Thanks a lot,

Isamoor

I have some truble weith default karnel 2.6 and 2.6.1.
With procedure from http://www.minion.de/ , with package from http://www.sh.nu/download/nvidia/linux- … 8-pkg0.run and with new NVIDIA-Linux-x86-1.0-5328-pkg1.run from nvidia.

Offline

#5 2004-01-10 19:02:15

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Nvidia driver in default Arch 2.6 kernel

su

cd /var/abs/kernels/kernel26

makepkg

cd src/

rm -rf /usr/src/linux-2.6.1

mv linux-2.6.1 /usr/src

then patch your drivers according to minion.de


AKA uknowme

I am not your friend

Offline

#6 2004-01-10 19:08:05

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Nvidia driver in default Arch 2.6 kernel

sarah31 wrote:

su

cd /var/abs/kernels/kernel26

makepkg

cd src/

rm -rf /usr/src/linux-2.6.1

mv linux-2.6.1 /usr/src

then patch your drivers according to minion.de

I an have not directory kernel26 into /var/abs/kernels/.

Offline

#7 2004-01-10 19:09:11

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Nvidia driver in default Arch 2.6 kernel

run 'abs' (as root)


AKA uknowme

I am not your friend

Offline

#8 2004-01-10 19:45:29

skparkes
Member
Registered: 2003-12-11
Posts: 52

Re: Nvidia driver in default Arch 2.6 kernel

That is one damn slick way of doing it.  Never even occured to me.  I'll try it out as soon as I get a chance.

Thank you very much,

Isamoor

Offline

#9 2004-01-10 19:48:57

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Nvidia driver in default Arch 2.6 kernel

you may not have to actually do a whole build but if your processor is fast enough it never hurts because the resulting directory can than be used to rebuild some other packages without errors (ie in 2.4.2x having a complete source compiled on your computer will allow your to build alsa-driver without error ) or in the case of nvidia drivers prevent the cc mismatch error.


AKA uknowme

I am not your friend

Offline

#10 2004-01-10 20:38:37

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Nvidia driver in default Arch 2.6 kernel

sarah31 wrote:

run 'abs' (as root)

Thank you. It's solvе my problem.

Offline

#11 2004-01-11 18:41:42

skparkes
Member
Registered: 2003-12-11
Posts: 52

Re: Nvidia driver in default Arch 2.6 kernel

Yes, your suggestion worked like a charm.  I have 2.6.1 with nvidia opengl.  It's very nice.

Thanks again,

Isamoor

Offline

Board footer

Powered by FluxBB