Kernel 2.6.4-1 Source -> Kernel 2.6.4-1custom
urpmi kernel-tmb-source -> /usr/src/2.6.4-1tmb.mdk
Compiling this kernel results in 2.6.4-1tmb.mdkcustom Will changing the result kernel to 2.6.4-1tmb.mdk when compiling allow me to have HIGHMEM4GB along with NVIDIA-Linux-x86-1.0-5336.pkg1.run (sp?)? Changing /usr/src/2.6.4-1tmb.mdk -> /usr/src/2.6.4-1tmb.mdkenterprise does not allow me to install NVIDIA-Linux-x86-1.0-5336-pkg1.run under 2.6.4-1.tmb.mdkenterprise kernel. Is there an alternate solution to recompiling, such as enabling HIGHMEM4GB in 2.6.4-1tmb.mdk, which can be downloaded using: Code:
urpmi kernel-2.6.4-1.tmb.mdk Thanks in advance, Thomas P.S. 36hours over the weekend looking for a solution to 1.5GB Ram & Nvidia drivers -> 1 unhappy camper ;-) P.S.S. Running Mandrake Linux 10.0 |
Just recompile! The first time you do it, it might take a couple of goes to get it right, but just keep reusing and refining your .config file until you get what you're after. It'll take an hour or so to go through all the kernel options the first time around, but then after that you just keep modifying that .config until you get it right, and it only takes 5-10 minutes to compile the actual kernel.
|
Compiling the kernel isn't the problem. NVidia installer doesn't find the -source- for my kernel, even when I specify:
sh NVIDIA-blahblah.run --kernel-source="/usr/src/linux-2.6.4-1.tmb.5mdkcustom" When it does find it, or more like when I supply it, it says: ERROR: Unable to determine the NVIDIA kernel module filename. |
you may need to compile the module before using it like that for another kernel.
|
Hahaha I think I figured it out. I feel like such a loser :P
/me pulls his 'helping liscence' and tears it up :P |
Wait.... how did you install that nvidia driver? i am having the same exact problem with kernel source.
Please help... thanx :) |
Quote:
|
You should really post how you fixed it for the benefit of others in your situation, and people that find this through search engines.
|
Here is what I did:
rpm -e kernel-tmb-source Removed the /usr/src/linux-2.6.4-1 folder Removed the linux-2.6.4-1 boot image, and /lib/modules/2.6.4-1 urpmi kernel-tmb-source Went to /usr/src/linux Copied the 2.6.4-1enterprise config file found in /boot to /usr/src/linux make;make modules;make modules_install Modified lilo. Reboot using new kernel. Open terminal (inside or outside Window Manager, either way): Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --add-this-kernel Quote:
CD to the directory which NVIDIA-Linux-x86-1.0-5336-pkg1-custom.run was put (same directory as NVIDIA-Linux-x86-1.0-5336-pkg1.run) Type: Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1-custom.run |
i have a better way.
for mandrake 10.0: "urpmi kernel-source" i think you need to have the cds tho. nonetheless, after running this i was able to install the nvidia drivers without a prob on two seperate occassions. hope this helps. |
Dude this is the ultimate nvIdia driver install thread for beginners.
|
@dauphinfay
That didn't work for me - hince the reason I made this thread, lol. Your way might work for you, and might work for some other people, too, but the way I did it is the only way that would work for me. Your way is nice for a first attempt, and if it doesn't work then the directions I posted will :-) @AutOPSY Maybe the instructions (either dauphinfay's or mine) will be pinned? Considering all of the questions for NVidia drivers, should be something helpful up. (Not to insult the forum / anyone) : ^ ) |
For the Benefit of Slackware users:
this is what you see: Code:
/usr/src/linux Now, when you decide to update the kernel, all you do is change the symlink to reflect the new kernel directory.......>>> linux-2.6.42 When I update my kernels, I re-compile first!! before re-installing the nVidia driver, lest I get the dreaded Gcc error......most of you know this error be heart....... Quote:
If you compile the kernel first, the nVidia driver won't give you the Gcc mismatch error......... |
I guess it's true I made this post a little biased towards Mandrake... ok very biased towards mandrake ;-)
But Slackers can use swaret (take the kernel off the exclude list) or slapt-get; Debians can use apt-get, and so on and so forth (though don't quote me on the sources being there because I don't garauntee they will be listed...) I didn't mention the symlink change because of urpmi and how it will automatically update it when you download the source ;-) Thanks 320mb for pointing that out :-) |
I have a small solution, use phoenix kernel (Mine!)
avaible at ftp://ftp.pcds.ch/pub/people/rapsys they are containing a mall patch to have nvidia kernel build at kernel build time... Just install the kernel and keep the libraries of NVIDIA you need and enjoy... The kernel < 3phoenix contain major bug with alsa, The ftp is full so I can't update it :( Wait a few but I hope it will be back avaible soon... |
All times are GMT -5. The time now is 02:52 PM. |