LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices

Reply
 
Search this Thread
Old 05-31-2007, 05:56 AM   #1
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
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.
 
Old 05-31-2007, 12:27 PM   #2
guth
Member
 
Registered: Aug 2006
Location: France
Distribution: Zenwalk
Posts: 132

Rep: Reputation: 15
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
 
Old 06-01-2007, 06:49 AM   #3
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Original Poster
Rep: Reputation: 42
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.
 
Old 06-01-2007, 08:59 AM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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.
 
Old 06-01-2007, 12:28 PM   #5
guth
Member
 
Registered: Aug 2006
Location: France
Distribution: Zenwalk
Posts: 132

Rep: Reputation: 15
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)
 
Old 06-03-2007, 02:32 AM   #6
guth
Member
 
Registered: Aug 2006
Location: France
Distribution: Zenwalk
Posts: 132

Rep: Reputation: 15
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, ...).
 
Old 06-03-2007, 08:26 PM   #7
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Original Poster
Rep: Reputation: 42
Thanks to the help of Guth and GrapefruiTgirl.All is sorted.Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing NVIDIA Driver --- Kernel Source ??? aratis Red Hat 4 06-29-2005 08:07 PM
Trying to get 1280x800, need kernel source for nvidia driver Zonzhal Linux - Laptop and Netbook 6 03-23-2005 09:16 AM
Nvidia Driver Kernel Source SparkerR Linux - Hardware 1 09-29-2004 09:29 PM
Nvidia Driver can't find kernel source Forezt Fedora 9 04-20-2004 07:35 PM
Cant locate kernel-source to build my Nvidia driver nyhm Linux - Software 3 02-16-2004 04:48 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration