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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-27-2005, 10:26 AM
|
#1
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Rep:
|
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,

|
|
|
02-27-2005, 10:36 AM
|
#2
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
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 10:42 AM.
|
|
|
02-27-2005, 10:52 AM
|
#3
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
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. 
|
|
|
02-27-2005, 11:05 AM
|
#4
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
Bueler.....Bueler......
Anyone know which I need to install, or how to find out which one to install?
|
|
|
02-27-2005, 11:08 AM
|
#5
|
Member
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391
Rep:
|
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.
|
|
|
02-27-2005, 11:12 AM
|
#6
|
Member
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702
|
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.
|
|
|
02-27-2005, 11:23 AM
|
#7
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
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.
|
|
|
02-27-2005, 11:31 AM
|
#8
|
Member
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391
Rep:
|
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?
|
|
|
02-27-2005, 11:35 AM
|
#9
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
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 11:59 AM.
|
|
|
02-27-2005, 01:38 PM
|
#10
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
check your install cd for it - should be there.
|
|
|
02-27-2005, 01:52 PM
|
#11
|
Member
Registered: Apr 2004
Posts: 354
Rep:
|
i thaught nforce2 was a gfx board
|
|
|
02-27-2005, 02:57 PM
|
#12
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
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.
|
|
|
02-27-2005, 03:16 PM
|
#13
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
check in that dist directory. Also, is it an ac '97 codec sound chip?
|
|
|
02-27-2005, 09:50 PM
|
#14
|
Member
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121
Original Poster
Rep:
|
Ok, I'll check there, thanks. Yes, to your second question.
|
|
|
02-27-2005, 11:29 PM
|
#15
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|