You are not logged in.
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
I think you want to use the arch build system (ABS) to rebuild the kernel. See the wiki here:
Offline
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
oh, well to switch back, just pacman -S kernel26, say yes, and it will install the repo one.
Offline
...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
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
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
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
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
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