You are not logged in.

#1 2005-07-13 14:19:32

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Cannot install nvidia on STOCK kernel, after custom compile

Hi all.

I madea custom kernel so I could get some stuff working. Now I don't really need it so I was going to swap back to the (now newer) Arch stock kernel.

On the custom kernel, I had to manually compile the kernel from source. Now, I can't do that as there are no kernel sources, and for some reason the Pacman install bails out (it's due to the kernel=gcc3, my gcc=4 thing).

How can I sort it out?

Cheers.
T

Offline

#2 2005-07-15 00:44:05

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Cannot install nvidia on STOCK kernel, after custom compile

I think you want to use the arch build system (ABS) to rebuild the kernel.  See the wiki here:

http://wiki2.archlinux.org/index.php/Cu … 20later%29

Offline

#3 2005-07-15 10:23:40

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Cannot install nvidia on STOCK kernel, after custom compile

Yep, I know I can do it if I rebuild.

My point is that wy on earth should I have to rebuild for a repo package?

Defeats the point of pacman.

So, any other suggestions on what's wrong?

Offline

#4 2005-07-15 11:24:37

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Cannot install nvidia on STOCK kernel, after custom compile

oh, well to switch back, just pacman -S kernel26, say yes, and it will install the repo one.

Offline

#5 2005-07-15 16:22:23

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Cannot install nvidia on STOCK kernel, after custom compile

...sorry, I thought you wanted to sort out the kernel recompile w/o sources. 

I have reinstalled the kernel since upgrading to gcc4 and pacman doesn't complain.  Maybe post more detail about the pacman failure.

Offline

#6 2005-07-16 07:26:34

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Cannot install nvidia on STOCK kernel, after custom compile

Iphy: I already have the 26 xernel installed, as well as 26mm and my custom kernel. My point is that I can compile a custom Nvidia module for the custom sources, but not the repo nvidia package.... weird as pies.

I'll reinstall my kernel if that's any help, but I don't see why it would be ....

Offline

#7 2005-07-16 16:13:25

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Cannot install nvidia on STOCK kernel, after custom compile

you can't compile a module and kernel with different gcc versions. if you got the repo kernel it was compiled with gcc 3.x while you probably are trying to compile nvidia with gcc 4. downgrade gcc, compile nvidia and re-upgrade gcc once finished. or, you could use abs to build the stock kernel with gcc4. i've heard that gcc4 still screws up some stuff when compiling kernels though.

Offline

#8 2005-07-16 16:26:43

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Cannot install nvidia on STOCK kernel, after custom compile

So does the package build compile the module anyway?

That means anyone who has gcc 4 from testing (which I didn't particularly want!) is screwed with (pacman + nvidia), right?

Offline

#9 2005-07-16 17:16:36

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Cannot install nvidia on STOCK kernel, after custom compile

the nvidia package from the repo is just a wrapper around the nivida-installer which builds the kernel module automatically when you pacman -S nvidia. the nvidia module has to be built the way because different people are using different kernels. if you build the arch kernel from abs and then install nvidia with pacman you should be fine.

Offline

#10 2005-07-17 12:58:32

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Cannot install nvidia on STOCK kernel, after custom compile

Gotcha.

But then... I may as well not use the convenient kernel, and compile an optimised one, seeing as I have to do it anyway. Or is there a quick and dirty way to rebuild?

Cheers

Offline

Board footer

Powered by FluxBB