nvidia driver and kernel source
Ive just came over from Slackware to Zenwalk and Im having a problem installing my Nvidia driver.I see that there is no kernel source installed in /usr/src/linux and I was wondering where do I get a Zenwalk pkg for the source.I,ve googled a bit with no luck.The version of Zenwalk is 4.4.1 and the kernel installed is 2.6.21.1.I'll have to back to Slack if I cant fix this which is a shame as from what I see Zenwalk is a great and speedy Distro.Cheers.
|
you'll have to download and install kernelsource either form 2 ways:
1) from command line: netpkg kernelsource, choose install and installpkg the package (or right click install in thunar) 2) remove kernelsource from /etc/netpkg.conf blacklist and netpkg kernelsource (select install) (this time either form command line or graphical interface) There's some howtos on the official forum and wiki http://support.zenwalk.org/index.php/board,9.0.html http://wiki.zenwalk.org/index.php/Sp...h=nvidia&go=Go |
Thanks guth,I kinda thought thats how I should be done but heres problem number 2.The pc does not have internet access..I would have to download a kernel source tgz on a friends pc,burn it to cd and then transfer it to my pc.Im sorry I left out this important info.What I need to know is where can I find this elusive kernel source tgz.Thanks ahain.
|
You ought to just go to www.??.kernel.org (??=your country, eg: ca=canada) and/or locate a kernel archives mirror you like, and download the kernel source from there, using your other machine with internet access. Download the 2.6.20.1 archive, which will be about 40-50MB, as well as the md5 checksum file for it. After verifying the md5sum, simply copy the archive over to the Zenwalk machine and extract it in the /usr/src/ folder. If necessary, create the 'linux' symlink there too, pointing to the folder which you have just extracted to (probably called 'linux-2.6.21.1').
If you actually need to build the kernel, or otherwise use/adjust/configure the kernel, and want the configuration file from your running installation, go to /proc and locate the file 'config.gz' and extract it. Copy the resulting file into your new kernel source folder, rename it something you will recognize, and if you need to run a kernel compile or sync your system with the kernel, then run 'make clean' and 'make xconfig', load this config file, save it as .config, and type 'make prepare' and your machine should now be as it would have been had the kernel source come with it to begin with. |
not a good idea to get it form kernel.org imo, you'll have a default .config instead of ZW's one and if i'm right there's patchs on ZW kernel sources.
Zenwalk 4.6 was just release so you'll not be able to get kernelsources from official mirror tree, but i just uploaded it here : http://zen-repo.meticul.eu/zen_stuff...-i486-44.1.tgz however as you've a "clean install" i think you should just install zenwalk 4.6 and donwload it's kernelheader from any mirror, http://zen-repo.meticul.eu/i486/curr...-i486-46.1.tgz for example (that shold be enough to compile most modules), and if required kernelsource (from same places, however not uploaded right now) |
for your pleasure (and some others ;)) there's a new directory on zenwalk repositories: "previous"
which (as it's name suggest) contains a freeze of the "current" brach just before last release. It allow people using previous version to stick with this one a little longer and not rush to upgrade there box. in a more graphical way, on a release: previous->/dev/null current->previous snapshot->current NOTE: packages in "previous" will not be maintained (no security fix, ...). |
Thanks to the help of Guth and GrapefruiTgirl.All is sorted.Cheers.
|
All times are GMT -5. The time now is 04:17 PM. |