LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2005, 11:26 AM   #1
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Rep: Reputation: 15
Question How to download the kernal source?


Hi, everyone. I'm trying to load the Nforce2 drivers in Ubuntu so I can finally have some sound, but following the tutorial on this forum states:

Also, if you're running any kernels released after January 26th 2004, make sure you have the kernel source downloaded and installed correctly. The installer will need it to compile the drivers correctly.

I know that I need to do this, cause when trying to install the drivers, it gives me an eroor stating pretty much the same thing. How do I download the kernal source and install it correctly? I'm a newb, so lamans terms if you could.

Thanks,
 
Old 02-27-2005, 11:36 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check apt-get for an kernel-source package. It should be there somewhere. try ( as root):

apt-get update
apt-get install kernel-source

and see if that works.


NOTE: If Ubuntu ships with a patched kernel you will not be able to download one from www.kernel.org unless you build a new kernel.

does the snd_intel8x0 module work with that card? I've never had an nforce 2 board but that module worked great for me with the nforce board I had. the nvidia drivers were an offshoot of the i810_audio module ( for the oss drivers, not alsa) and were essentially the same thing. might want to give that a try.

Last edited by __J; 02-27-2005 at 11:42 AM.
 
Old 02-27-2005, 11:52 AM   #3
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
I Received this message:

root@ubuntu:/home/boots # apt-get install kernel-source
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-source is a virtual package provided by:
kernel-source-2.6.7 2.6.7-3ubuntu2
kernel-source-2.6.6 2.6.6-2
kernel-source-2.6.5 2.6.5-4
kernel-source-2.4.26 2.4.26-6
kernel-source-2.4.25 2.4.25-3
kernel-source-2.4.24 2.4.24-3
kernel-source-2.2.25 2.2.25-3
You should explicitly select one to install.
E: Package kernel-source has no installation candidate


What do I need to do? I'm guessing that in place of just "kernel source" on the apt-get, I need to replace it with one of those above. How do I know which one though?

PS thanks for the quick reply.
 
Old 02-27-2005, 12:05 PM   #4
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Bueler.....Bueler......

Anyone know which I need to install, or how to find out which one to install?
 
Old 02-27-2005, 12:08 PM   #5
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
type uname -a at a terminal, that will tell you what kernel your running. Download the package that corrosponds to that version of the kernel.
 
Old 02-27-2005, 12:12 PM   #6
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
First you need to determine which kernel you are running.
At a console, like Konsole in KDE, enter the commands
su
(root password)
uname -a
that will tell you the name of your kernel, and then you will know which kernel source to install.
 
Old 02-27-2005, 12:23 PM   #7
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Ok...I have kernel 2.6.8.1-5-386 which doesn't seem to be one of the choices.

So what do I need to do now?

Thanks again.
 
Old 02-27-2005, 12:31 PM   #8
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
It's on the mirrors just search for it. Check google. It's really not that hard to find.

Maybe you need to update your apt package list?
 
Old 02-27-2005, 12:35 PM   #9
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Thought i did update.... apt-get update
the highest it goes is 2.6.7.

Am i doing something wrong?


Last edited by zeroz52; 02-27-2005 at 12:59 PM.
 
Old 02-27-2005, 02:38 PM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check your install cd for it - should be there.
 
Old 02-27-2005, 02:52 PM   #11
speel
Member
 
Registered: Apr 2004
Posts: 354

Rep: Reputation: 30
i thaught nforce2 was a gfx board
 
Old 02-27-2005, 03:57 PM   #12
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
nforce2 is my motherboard chipset.

Where would it be on the disk? there are folders for the following:

dist
doc
install
isolinux
pics
pool
tools
ubuntu

Also, once I find it, how do I "get" it so i can install the nforce sound drivers?

Thanks to everyone for the help. I really like this distro, but I have to have sound for music when i do homework. And windows sux now that I upgraded my comp. To keep it from crashin have have to decrease my FSB from 200*2 to 100*2, so I will not go back to it. Thanks again.
 
Old 02-27-2005, 04:16 PM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check in that dist directory. Also, is it an ac '97 codec sound chip?
 
Old 02-27-2005, 10:50 PM   #14
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Ok, I'll check there, thanks. Yes, to your second question.
 
Old 02-28-2005, 12:29 AM   #15
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
have you run alsaconf yet? most ac '97 will run with the alsa drivers already supplied. As i said above, never had an nforce 2 but on my nforce 1 board the nvidia drivers were virtually identical to the oss drivers from the kernel.
 
  


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
kernal source phoneix Linux - Hardware 13 07-16-2005 08:33 AM
which of these is the kernal source? pharmd Linux - Newbie 2 02-26-2005 05:30 PM
Kernal Source Code douginky Mandriva 2 12-20-2004 04:28 PM
latest kernal for download? Razgo Linux - Newbie 7 12-27-2003 11:38 PM
Kernal source code andrewtc Linux - Software 6 04-25-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration