LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-02-2007, 11:05 PM   #1
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Rep: Reputation: 15
nVidia 8400GS driver issue under Knoppix


I recently purchased an MSI NX8400GX and the graphics drivers installer wants to know where my kernel sources are. Only problem is, I don't know where they are or how to find them/install them.

They aren't in /usr/src/linux (in fact, the directory doesn't exist) and "apt-getting" for kernel-source tells me:
Package kernel-source is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

I'm using an HD install of Knoppix 5.1 and I just upgraded all my packages and stuff. uname -r says I'm using kernel 2.6.19.

If anyone can help me get these drivers installed, I'd really appreciate it. I'll gladly grab more information if I need to. Thanks.
 
Old 08-02-2007, 11:14 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
If think that you'll be fine if you install the kernel headers (probably named "linux-headers" on Knoppix).
 
Old 08-02-2007, 11:47 PM   #3
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
"apt-get install kernel-headers" gives the same message as kernel-source.


linux-headers gives me a large list, and tells me to pick a more specific option.

----------------------------------------------------------
Package linux-headers is a virtual package provided by:
linux-headers-2.6.22-1-vserver-k7 2.6.22-3
linux-headers-2.6.22-1-vserver-686 2.6.22-3
linux-headers-2.6.22-1-vserver 2.6.22-3
linux-headers-2.6.22-1-k7 2.6.22-3
linux-headers-2.6.22-1-amd64 2.6.22-3
linux-headers-2.6.22-1-686-bigmem 2.6.22-3
linux-headers-2.6.22-1-686 2.6.22-3
linux-headers-2.6.22-1-486 2.6.22-3
linux-headers-2.6.22-1 2.6.22-3
linux-headers-2.6.21-2-vserver-k7 2.6.21-6
linux-headers-2.6.21-2-vserver-686 2.6.21-6
linux-headers-2.6.21-2-vserver 2.6.21-6
linux-headers-2.6.21-2-k7 2.6.21-6
linux-headers-2.6.21-2-amd64 2.6.21-6
linux-headers-2.6.21-2-686-bigmem 2.6.21-6
linux-headers-2.6.21-2-686 2.6.21-6
linux-headers-2.6.21-2-486 2.6.21-6
linux-headers-2.6.21-2 2.6.21-6
linux-headers-2.6-vserver-k7 2.6.21+8
linux-headers-2.6-vserver-686 2.6.21+8
linux-headers-2.6-k7 2.6.21+8
linux-headers-2.6-amd64 2.6.21+8
linux-headers-2.6-686-bigmem 2.6.21+8
linux-headers-2.6-686 2.6.21+8
linux-headers-2.6-486 2.6.21+8
linux-headers-2.6-xen-vserver-686 2.6.18+6
linux-headers-2.6-xen-686 2.6.18+6
linux-headers-2.6.18-4-xen-vserver-686 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-xen-vserver 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-xen-686 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-xen 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-vserver-k7 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-vserver-686 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-vserver 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-k7 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-amd64 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-686-bigmem 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-686 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4-486 2.6.18.dfsg.1-12etch2
linux-headers-2.6.18-4 2.6.18.dfsg.1-12etch2
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
------------------------------------------------------------

If this is what I should do, I'm not sure which one to pick and how to pass that information on to apt-get.
 
Old 08-03-2007, 12:27 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Can you post the output of uname -a?
 
Old 08-03-2007, 12:56 AM   #5
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
Sure!

Linux [hostname] 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686 GNU/Linux

*I replaced my host name in this post. It came up correctly.

I suppose that will explain which one I get? I guess I need something 686 but there are not 2.6.19 options listed.
 
Old 08-03-2007, 01:29 AM   #6
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
Okay, I installed the 2.6.22-1-686 one and it seemed to work fine. However, I apparently need to configure it. (?) I'm a bit familiar with configuring and installing stuff from tars, but I'm not so familiar with this kind of thing for kernels. So, how do I configure this thing? Or do I need one that matches my current kernel version for it to work?
 
Old 08-03-2007, 01:36 AM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
No, you're right. I'm a bit confused because I would assume that Knoppix is using the Debian repositories and Debian has 2.6.18 and 2.6.21. Have you checked whether there isn't a kernel update available (apt-get update - this will update ALL that can be updated on your system - or apt-get update linux-image)?

Don't use the 2.6.22 - this will most definitely NOT work unless it's the kernel source you got.

Last edited by jay73; 08-03-2007 at 01:38 AM.
 
Old 08-03-2007, 04:23 AM   #8
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
I'm starting to think this is going to be much more trouble than it should be...

A couple of sites I found say that the DVD version has the linux-headers installed. I have a Knoppix DVD, but I used the CD version because my primary drive only takes CD's. I suppose if I just find some way to boot using a floppy into the DVD Knoppix, I could install that to HD and not have this problem. So, now how do I go about making such a floppy?
 
Old 08-03-2007, 05:12 AM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Really sure you want Knoppix? I mean, Knoppix was never meant to be installed to hard drive. Making the thing installable was pretty much a second thought with the builders (and they have themselves repeatedly advised against installing it to disk). I'm sure you'll get it to work - eventually - but why take the trouble when it could be so much easier? Have you considered Debian? Knoppix is simply a small Debian clone after all. And it can be installed from cd as well. Or Ubuntu, which is based on Debian too and which is available as an installable liveCD? Ubuntu is probably better suited to begin exploring Linux but either would be great.
 
Old 08-03-2007, 05:19 AM   #10
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
I also have Debian DVD's but again, I would need a floppy to boot them.

EDIT:
Nevermind, I'll just grab a 'netinst' iso. My Debian disks are for 3.1 anyway.

Last edited by lurid; 08-03-2007 at 05:30 AM.
 
Old 08-03-2007, 05:36 AM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Good idea. the net install is extremely convenient even though it may take a bit longer to install. Still fast, though.

When you're done, draw up your /etc/apt/sources.list and then run apt-get update. If you downloaded Lenny rather than Etch, you can use mine (it will produce some errors that are safe to ignore - I'll let you know how to get rid of them later today if needed- and do NOT use my list if you downloaded anything other than Lenny(=testing)):
Code:
# 
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 CD Binary-1 20070528-11:20]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 CD #Binary-1 20070528-11:20]/ lenny contrib main

deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free
# deb-src http://ftp.nl.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
# deb-src http://security.debian.org/ lenny/updates main contrib non-free

### Marillat Debian Multimedia ###
deb http://www.debian-multimedia.org/ testing main
# deb-src http://www.debian-multimedia.org/ testing main

# deb http://nightlies.videolan.org/build/sid-amd64/arch ./

deb http://debian.beryl-project.org/ etch main
deb-src http://debian.beryl-project.org/ etch main

### Maxer Multimedia (sometimes Down) ###
# deb http://repos.knio.it/ testing main contrib non-free
# deb-src http://repos.knio.it/ testing main contrib non-free
 
### Unofficial Debian Repository ###
deb http://ftp.debian-unofficial.org/debian/ testing contrib non-free restricted
# deb-src http://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
 
### Beryl SVN Repository ###
# deb http://download.tuxfamily.org/3v1deb/ debian-unstable beryl-svn
 
### Compiz-Fusion Repository ###
deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
# deb-src http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
 
### Java LG3D Looking Glass ###
deb http://Javadesktop.org/lg3d/debian testing contrib
 
### Swiftfox, a Mozilla Firefox i686 Optimized Official Repository ###
deb http://getswiftfox.com/builds/debian unstable non-free
 
### Skype ###
# deb http://download.skype.com/linux/repos/debian/ stable non-free
 
### Opera Browser ###
# deb http://deb.opera.com/opera/ sid non-free
 
###Java 6 JRE/SDK (From Official Debian Repository) ###
# deb http://ftp.bononia.it/debian unstable main contrib non-free
 
### Enlightment E17 Official Repository ### 
deb http://edevelop.org/debian/ testing main

### InitNG- Next Generation Init Start Repository ### 
deb http://debian.mawk.org/debian/ binary/
# deb-src http://debian.mawk.org/debian/ source/

### eMoviX ###
# deb http://organact.mine.nu/debian/ unstable/
### WxWidget Repository ###
# deb http://apt.tt-solutions.com/debian/ etch main

# DEBIAN SID/UNSTABLE

### Official Debian Sid Repository ###
# deb ftp://ftp.it.debian.org/debian/ sid main contrib non-free
# deb-src ftp://ftp.it.debian.org/debian/ sid main contrib non-free
 
### Official Debian Testing Security Update ###
# deb http://security.debian.org/ testing/updates main contrib non-free
 
### Marillat Debian Multimedia ###
# deb http://www.debian-multimedia.org/ sid main
# deb-src http://www.debian-multimedia.org/ sid main
 
### Maxer Multimedia (sometimes Down) ###
# deb http://repos.knio.it/ unstable main contrib non-free
# deb-src http://repos.knio.it/ unstable main contrib non-free
 
### Unofficial Debian Repository ###
# deb http://ftp.debian-unofficial.org/debian/ sid contrib non-free restricted
# deb-src http://ftp.debian-unofficial.org/debian/ sid main contrib non-free restricted
 
### Beryl SVN Repository ###
# deb http://download.tuxfamily.org/3v1deb/ debian-unstable beryl-svn
 
### Compiz-Fusion Repository ###
# deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
# deb-src http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git

### Java LG3D Looking Glass ###
# deb http://javadesktop.org/lg3d/debian unstable contrib
 
### Swiftfox, a Mozilla Firefox i686 Optimized Official Repository ###
##deb http://getswiftfox.com/builds/debian unstable non-free
 
### Skype ###
# deb http://download.skype.com/linux/repos/debian/ stable non-free
 
### Opera Browser ###
# deb http://deb.opera.com/opera/ sid non-free
 
###Java 6 JRE/SDK (From Official Debian Repository) ###
# deb http://ftp.bononia.it/debian unstable main contrib non-free
 
### Enlightment E17 Official Repository ###
# deb http://edevelop.org/debian/ unstable main
 
### InitNG- Next Generation Init Start Repository ### 
# deb http://debian.mawk.org/debian/ binary/
# deb-src http://debian.mawk.org/debian/ source/
 
### Bluetooth Gnome ###
# deb http://download.tuxfamily.org/osrdebian unstable gnome-bluetooth
# deb-src http://download.tuxfamily.org/osrdebian unstable gnome-bluetooth

### eMoviX ###
# deb http://organact.mine.nu/debian/ unstable/
### WxWidget Repository ###
# deb http://apt.tt-solutions.com/debian/ etch main
Here are instructions on installing the nvidia driver (again assuming you downloaded Lenny - the instructions for Etch are somewhat different and you will have to find them yourself):
http://home.comcast.net/~andrex/Debi...tallation.html

Last edited by jay73; 08-03-2007 at 05:53 AM.
 
Old 08-03-2007, 08:47 AM   #12
lurid
LQ Newbie
 
Registered: May 2007
Location: Pennsylvania, USA
Distribution: Ubuntu Studio 9.10
Posts: 29

Original Poster
Rep: Reputation: 15
Well, as much as I would have liked to use Debian, I couldn't get the X server to start! Eventually I gave up an just tried out a Kubuntu disk I have. I installed Kubuntu and everything seems to be working fine. I installed the drivers and I'm now getting direct rendering.

Thanks for all the help! I guess I'll be using Kubuntu a bit more often now.
 
Old 08-03-2007, 02:10 PM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
OK, glad to hear you got one to work. There isn't much of a difference between Debian and Kubuntu (not superficially, at least) so it should be just as good and probably better considering that the Buntus are more willing to reach out to beginners. I'm more of a Gnome guy so I've always used Ubuntu instead of Kubuntu but if you ever want to install Gnome on Kubuntu, that shouldn't be difficult at all. You may want to keep your Knoppix cd because it is really convenient as a repair tool (which is one of its intended uses).
As for the X server issue, I think that would have been quite easy to solve with a little tweaking from the command line - and certainly easier once you have an intalled system that you can use to work from - so if you ever feel you would still like to try Debian too, just post back and we'll see what needs to be done.
 
  


Reply



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
Nvidia GeForce driver issue Kenchie SUSE / openSUSE 2 10-27-2006 03:28 AM
I think nvidia driver issue oldsko0l Linux - Software 6 05-19-2006 01:00 AM
nVidia driver issue Kronan Linux - Hardware 7 11-16-2005 06:50 AM
nVidia driver issue it0hg MEPIS 7 11-13-2005 10:55 PM
nvidia driver on knoppix ??? LinuxOG Debian 1 10-02-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:09 AM.

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