Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
|
 |
04-25-2005, 10:13 PM
|
#1
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Rep:
|
apt-get kernel-source is installing the wrong kernel source.
Hi All,
I'm just moving over to the ubuntu world and would like to get my NVidia card going. Going through the ye olde Nvidia process which requires the kernel source.
apt-get install kernel-source is bringing down the source for 2.4.27 instead of the 2.6.10 kernel which is installed.
apt-get kernel-source-2.6.10 yields the error "Couldn't find package kernel-source 2.6.10"
I have updated my /etc/apt-get/sources.list to include universe repos already.
Is there another repository I need to aim at? Am I using the wrong name? Someone please point me to the source of my troubles.
Thanks,
Jordan.
|
|
|
04-26-2005, 12:40 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
u cna search from the list of packages by
apt-cache search kernel-source
and then install that package
also after u chage ur sources.list, u need to run this
apt-get update
regards
|
|
|
04-26-2005, 01:09 AM
|
#3
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Original Poster
Rep:
|
Quote:
Originally posted by masand
u cna search from the list of packages by
apt-cache search kernel-source
and then install that package
also after u chage ur sources.list, u need to run this
apt-get update
regards
|
did that, did that, couldn't do that, did that, did that.
In other words, the cache only lists 2.4.27 source. I have run apt-get update. But since the source isn't in the cache, I can't install it. I did find a package called nvidia-kernel-source which I haven't seen before...
|
|
|
04-26-2005, 02:28 AM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
what link do u have active in sources.list??
|
|
|
04-26-2005, 08:42 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Melbourne, Australia
Distribution: kubuntu 5.04
Posts: 3
Rep:
|
Hi,
Is there a reason you are having to compile your own kernel headers for the Nvidia card? Ubuntu have made this really easy by including precompiled headers in the universe repository:
From ubuntuguide.org:
sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
Insert the following lines into the new file
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
Read ubuntuguide.org in it's entirety for more info.
Cheers,
L.
|
|
|
04-27-2005, 07:39 PM
|
#6
|
LQ Newbie
Registered: Oct 2003
Location: Dallas, GA
Distribution: Slackware, Debian
Posts: 25
Rep:
|
Search for 2.6 kernel related packages with:
apt-cache search linux-source
here's what you get:
linux-patch-ubuntu-2.6.10 - Ubuntu patches to Linux 2.6.10
linux-source-2.6.10 - Linux kernel source for version 2.6.10 with Ubuntu patches
linux-patch-ubuntu-2.6.11 - Ubuntu patches to Linux 2.6.11
linux-source-2.6.11 - Linux kernel source for version 2.6.11 with Ubuntu patches
However, as a previouse poster pointed out, you don't have to re-compile just to get nvidia working ...
|
|
|
04-28-2005, 07:19 PM
|
#7
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Original Poster
Rep:
|
ltmon, you are a genius. Or at least literate.  I'm afraid I should have read that...although I did some reading/searching, I totally didn't see that bit. I really appreciate the pointer and the paraphrasing. I haven't tested the 3D capabilities yet but the NVidia splash screen appears so all should be well.
mlmurray, I appreciate the information. I was searching on kernel-source (as per the error message) rather than linux-source as per your post. I will know better next time. Thanks.
|
|
|
05-02-2005, 11:49 AM
|
#8
|
Member
Registered: Jul 2004
Location: The Netherlands
Distribution: Sidux , Debian, Haiku, PC-BSD, CentOS --> XenExpress
Posts: 77
Rep:
|
Quote:
Originally posted by ltmon
Insert the following lines into the new file
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
|
This wasn't really needed, I havent put it into the config file, just logged out of gnomen did a CTRL + ALT + ESC (to reload X) and the Nvidia screen appeard and it worked very good.
But a well written howto.
|
|
|
07-06-2005, 11:04 PM
|
#9
|
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake
Posts: 4
Rep:
|
I am having a similar problem to earlier mentions about the kernel source. I have also recently come over to Ubuntu and am trying to get the latest versiion of the IPW2200 drivers working. It won't let me compile and I am asuming it is because I don't have the kernel source loaded?? If I search for the appropriate source code with apt-get it only returns a 2.4 kernel and no 2.6 kernel sources??
root@LG1:/home/mike/downloads/ipw2200-1.0.4 # apt-cache search kernel-source
avm-fritz-kernel-source - AVM Fritz! binary kernel module source
fglrx-kernel-source - ATI binary kernel module source
cpad-kernel-source - Source for the Synaptics cPad driver
freeswan - IPSEC utilities for FreeSWan
kernel-patch-2.4-lids - LIDS Kernel Patch
kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-tree-2.4.27 - Linux kernel source tree for building Debian kernel images
lidstools-2.4 - LIDS Admintool
nvidia-kernel-source - NVIDIA binary kernel module source
oprofile - system-wide profiler for Linux systems
wacom-kernel-source - Source for the wacom binary modules
wacom-tools - Utilities for wacom tablets and other hid devices
Do I need to load another repository?????
Mike
|
|
|
07-07-2005, 10:41 AM
|
#10
|
Member
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151
Rep:
|
oziemike please see mlmurray's post.
Quote:
Originally posted by mlmurray
Search for 2.6 kernel related packages with:
apt-cache search linux-source
here's what you get:
linux-patch-ubuntu-2.6.10 - Ubuntu patches to Linux 2.6.10
linux-source-2.6.10 - Linux kernel source for version 2.6.10 with Ubuntu patches
linux-patch-ubuntu-2.6.11 - Ubuntu patches to Linux 2.6.11
linux-source-2.6.11 - Linux kernel source for version 2.6.11 with Ubuntu patches
However, as a previouse poster pointed out, you don't have to re-compile just to get nvidia working ...
|
|
|
|
07-08-2005, 06:42 PM
|
#11
|
Member
Registered: Dec 2004
Distribution: Debian - Sarge -- Slackware 10.1 - Dropline
Posts: 154
Rep:
|
Quote:
Originally posted by eisman
This wasn't really needed, I havent put it into the config file, just logged out of gnomen did a CTRL + ALT + ESC (to reload X) and the Nvidia screen appeard and it worked very good.
But a well written howto.
|
That's not needed to make the driver work, that is to add the menu entry for the video settings.
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
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
|
|