You are not logged in.
Pages: 1
Why doesn't Arch provide a kernel2x-source package? Or at least a kernel-header package? This will really come in handy when installing the commercial nVidia drivers for example.
Offline
You can always get the source from kernel.org. Its just untarring.
I think the headers come w/ the kernel package. They used to at least.
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
They come with the 2.4 kernel, but with the 2.6 I don't believe they do.
FX
I'd be ripping my hair out if I had any.
Offline
the kernel headers do come with the kernel (2.4 and 2.6).
so you know the reason that NVIDIA driver does not install with the arch headers is because it is not a header that is causing the problem it is a Makefile. the solution to this problem is to feature request through the bug tracker that the need file be included.
AKA uknowme
I am not your friend
Offline
See http://lwn.net/Articles/21823/ for more info.
Offline
the kernel headers do come with the kernel (2.4 and 2.6).
so you know the reason that NVIDIA driver does not install with the arch headers is because it is not a header that is causing the problem it is a Makefile. the solution to this problem is to feature request through the bug tracker that the need file be included.
I did and the Makefile has been added in 2.6.4, but still no success with installing NVIDIA drivers without downloading the entire source.
Offline
that kinda sucks
AKA uknowme
I am not your friend
Offline
that kinda sucks
I had a look @ kernel24, but I didn't any difference between 2.4 and 2.6 in /usr/src/ and /lib/modules/. Does anyone know why nvidia drivers work with a stock 2.4.x, but don't with a stock 2.6.x
Offline
I got the Nvidia installer to work with the stock 2.6.4 kernel that I downloaded from www.kernel.org . I felt like I was running in circles trying to get the nvidia drivers to work with 2.6.4 using the arch build but what I did was this:
1. download the 2.6.4 kernel ( I used the tar.gz version) from kernel.org to /home/user
2. cd /usr/src
3. rm linux (takes any symlink out)
4. tar -xzvf /home/usr/linux-2.6.4
5. cd linux-2.6.4 (NOTE: do not create a symlink)
6. make menuconfig (adjust anything necessary for your system but make sure you INCLUDE (*) AGPGART into the kernel.
7. make all
8. cp arch/i386/boot/bzImage /boot/Arch-2.6.4 (<--name it what you want)
9. edit your bootloader accordingly (Grub or Lilo)
10. Reboot into new kernel
11. cd to directory where you downloaded the Nvidia file. (NVIDIA.......run)
12. sh NVIDIA.......run --add-this-kernel (let this finish - it may seem like it stops but leave it for a few minutes and it will finish and build a custom NVIDIA .run file for you to install the driver with)
13. Do sh NVIDIA..........custom.run (<--your newly created one)
14. Change your XF86Config file to show the "nvidia" driver.
15. Do "modprobe nvidia"
16. startx
You may or may not have to add extra options to your XF86Config file for the nvidia driver, here is what mine looks like and it works flawlessly:
# Device configured by xf86config:
Section "Device"
Identifier "Geforce"
Driver "nvidia"
Option "NvAGP" "1"
Option "NoDDC" "false"
Option "DMPS"
Option "RenderAccel" "True"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnableDepthMoves" "true"
Option "EnablePageFlip" "true"
#VideoRam 262144
# Insert Clocks lines here if appropriate
EndSection
All these options and more can be found in the NVIDIA README file.
rberry88
Offline
um that sounds like you built your own kernel to me.
AKA uknowme
I am not your friend
Offline
That was exactly my point, I couldn't get the Arch-way to work so I thought I would share the step-by-step for others that are having the same problems.
Its nice to have more than one way to get something accomplished, which is a very nice feature of Arch.
rberry88 8) 8) 8)
Offline
That was exactly my point, I couldn't get the Arch-way to work so I thought I would share the step-by-step for others that are having the same problems.
Its nice to have more than one way to get something accomplished, which is a very nice feature of Arch.
rberry88 8) 8) 8)
You can also extract the vanilla source to /usr/src/2.6.x...
My point was it should be possible to install nvidia drivers by just running the script. For the sake of easyness
Offline
You can also extract the vanilla source to /usr/src/2.6.x...
My point was it should be possible to install nvidia drivers by just running the script. For the sake of easyness
exactly, obviously what exactly the NVIDIA installer requires from the source needs to be looked at further. I have no clue why they keep making changes from their first 2.6 capable installer which worked well with the stock kernel with little modification.
AKA uknowme
I am not your friend
Offline
I've had a hard time installing the nvidia drivers on my 2.6.4 kernel. I tried a couple of suggestions here on the forums, but other than recompiling my own kernel from scratch, which way actually works?
I'm thinking that it may be time to start to have an arch package for the nvidia driver like there used to be.
Offline
I've had a hard time installing the nvidia drivers on my 2.6.4 kernel. I tried a couple of suggestions here on the forums, but other than recompiling my own kernel from scratch, which way actually works?
I'm thinking that it may be time to start to have an arch package for the nvidia driver like there used to be.
Just extract the kernel-sources from kernel.org to /usr/src/ and run the installer.
I don't thinks there's ever been a nvidia-driver package or something.
Offline
I just tried that as well, and it says "no kernel interfaces were found".
Now what?
I've tried this and I tried alexthelion's solution here:
http://bbs.archlinux.org/viewtopic.php? … nvidia+2+6
And neither have worked. If I recall correctly, The original nvidia driver package was removed because the install was so easy...
http://bbs.archlinux.org/viewtopic.php? … dia+driver
I think it's time for someone to come up with a definite solution or reinstate the old nvidia driver package. I only say this because despite my most sincere efforts, I've been unable to get the driver installed.
Thanks, and keep up the good work!
Offline
I finally got mine working (my nvidia card). I abs'd my own kernel to /usr/src/linux-2.6.4, then...
I ran the nvidia installer like this:
sh NVIDIA-PKG-NAME.run --kernel-source=/usr/src/linux-2.6.4
And I add the module to my rc.conf file, and edited my XF86CONFIG file according to the rule in the nvidia README.
VOILA!
I don't know if this is the correct way...
Offline
6. make menuconfig (adjust anything necessary for your system but make sure you INCLUDE (*) AGPGART into the kernel.
rberry88
this is the only line i do not understand. i have never compiled a kernel. i am running 2.6.3 from the standard 0.6 arch install. i downloaded the kernel from kernel.org (tar.gz file)
please clarify step 6. do i even need to do this? cant i just untar the file and have the kernel source (headers) on my system?
Murphy's Law: If anything can go bad, it will.
Cole's Law: Thinly sliced cabbage.
Offline
I finally got mine working (my nvidia card). I abs'd my own kernel to /usr/src/linux-2.6.4, then...
I ran the nvidia installer like this:
sh NVIDIA-PKG-NAME.run --kernel-source=/usr/src/linux-2.6.4
And I add the module to my rc.conf file, and edited my XF86CONFIG file according to the rule in the nvidia README.
VOILA!
I don't know if this is the correct way...
what is abs? also why addthe module to rc.conf? i never did this on slackware, just changed the driver line in XF86Config
Murphy's Law: If anything can go bad, it will.
Cole's Law: Thinly sliced cabbage.
Offline
Pages: 1