LinuxQuestions.org
Visit Jeremy's Blog.
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 12-07-2003, 02:14 AM   #1
pleasehelpme
Member
 
Registered: Dec 2003
Location: Taipei TAIWAN
Distribution: live cd
Posts: 68

Rep: Reputation: 15
Question help !!! install drivers


I HAVE a geforce 4 ti 4600 128mb ram 8x agp nvidia card that needed install new driver
from nvidia site.

but, after i downloaded then , how should i do ??

the file end with something **pkg.run ???

i click on this, no work.


and i have a quad cpu system. does linux support this super cpus and run like it has quad cpu ?
 
Old 12-07-2003, 02:31 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
There is a README file on the site where you downloaded the driver. There are a couple of things you need to do depending upon your distribution, etc. Just read that file, print it for reference (just the pertinent parts) and you'll be fine.

Run the NVIDIA file as it says by typing ->

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

How to get rid of virus on WinXP? Format c:/q always works great for any Win problem
Seriously, you may want to go online to www.grisoft.com and get their free anti-virus software, or go to www.symantec.com and search until you find their free online scanner.

I run a P4 2.4GHz and it works just fine with a Linux kernel.

Last edited by Bruce Hill; 12-07-2003 at 06:35 AM.
 
Old 12-07-2003, 04:44 AM   #3
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Well, I know how to run it, but there is a tad problem: the kernel header files are not in the default locations or are non-existent altogether!

I can't seem to find kernel header files for my exact kernel (2.4.22-10mdk) I found one for 2.4.18-45mdk but I don't think they will fit exactly.

When I used the headers from /usr/include/linux/ the installer couldn't compile the kernel interface, the log returned me the error that "you should not directly include /usr/include/linux files! These are glib internal and probably will not suit the kernel you are running".

Help!

P.S. Also, is there an easier way to switch between X and console mode without rebooting?
 
Old 12-07-2003, 05:01 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Are you schizophrenic?

Quote:
Originally posted by natalinasmpf
Well, I know how to run it, but there is a tad problem: the kernel header files are not in the default locations or are non-existent altogether!

I can't seem to find kernel header files for my exact kernel (2.4.22-10mdk) I found one for 2.4.18-45mdk but I don't think they will fit exactly.

When I used the headers from /usr/include/linux/ the installer couldn't compile the kernel interface, the log returned me the error that "you should not directly include /usr/include/linux files! These are glib internal and probably will not suit the kernel you are running".

Help!

P.S. Also, is there an easier way to switch between X and console mode without rebooting?
Are you the same person as pleasehelpme?

Or did you just hijack this thread?

I don't mean to be rude, but I can't tell who I'm trying to help. If you are not pleasehelpme, why don't you start your own new thread instead of hijacking someone else's thread? If you are the same person, let us know that you just got a new login nick.

Okay?
 
Old 12-07-2003, 05:04 AM   #5
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Sorry whoops, in forums I am sort of used to using the same thread for a particular issue which can serve many people. Guess this must be a tad different.
 
Old 12-07-2003, 06:31 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by natalinasmpf
Sorry whoops, in forums I am sort of used to using the same thread for a particular issue which can serve many people. Guess this must be a tad different.
Forgive me. I don't think it's a rule, just my quirk.
Quote:
the kernel header files are not in the default locations or are non-existent altogether!
Did the Nvidia installer say this, or are you saying this after searching for them? And did you let the Nvidia installer attempt to go to the website and get this for you? I've just recompiled and installed a new kernel in Slackware tonight, and there was no problem. The installer usually tells you that you don't have the kernel header files, but takes care of the issue. Maybe not in all cases.
Quote:
is there an easier way to switch between X and console mode without rebooting?
Yes. Try Ctrl + Alt + Backspace and then login again. Once you're finished in the terminal, just type startx as a user and you'll get the x server back.

Both of these solutions have worked for me in Debian and Slackware, but I've never used Mandrake, so I'm sorry if they don't work in that distro. Please post back and let us know how it goes.
 
Old 12-07-2003, 03:06 PM   #7
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Well, when I let it compile the interface (after it didn't find a precompiled interface for my kernel), it said it didn't match the kernel I was using. So I used /usr/include/linux header files instead. Alas, error, like I desribed earlier. In desperation, I decided this was a good time to get a new kernel and use those header files later. So I compiled my kernel, failed on make bzImage (source of error: the config file) when I decided to use my original config file. Bad Idea. Successful compilation, but doesn't recognise my USB mouse or my soundcard even when the config file for it is my /boot/ config file and its about 21 kb larger than the one I wrote from scratch (using xconfig, of course). When I load my old kernel, it doesn't load! I ended up having to reinstall....

So here I am, not really wanting to recompile another kernel, but stuck without the header files. I really need these too, Wine(X) works really slow without the drivers.

I found the source code for my kernel, but not the header files...unless it is in the source code, but the rpm says all it installs are stuff in /lib/modules/* and nothing that ends with ".h"

You can install the drivers without the header files? How? After it says "wrong interface/unable to compile interface" it says ERROR and takes me back to the command line.

Should have never installed 9.2....there's more support and experience for 9.1..agh.

Last edited by natalinasmpf; 12-07-2003 at 03:08 PM.
 
Old 12-07-2003, 05:01 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
First, did you check the dependencies before you tried the install? From the Nvidia driver page ->
Quote:
STEP 3: Check dependencies
The dependencies are listed in the README.
For your convenience -> ftp://download.nvidia.com/XFree86/Li...496/README.txt

Second, did you read the FAQ's in that file?
Quote:
Q: I can't build the NVIDIA kernel module, or I can build the NVIDIA
kernel module, but modprobe/insmod fails to load the module into
my kernel. What's wrong?

A: These problems are generally caused by the build using the wrong kernel
header files (ie header files for a different kernel version than
the one you are running). The convention used to be that kernel
header files should be stored in "/usr/include/linux/", but that
is deprecated in favor of "/lib/modules/`uname -r`/build/include".
The nvidia-installer should be able to determine the location on your
system; however, if you encounter a problem you can force the build
to use certain header files by using the --kernel-include-dir option.
Obviously, for this to work, you need the appropriate kernel header
files installed on your system. Consult the documentation that came
with your distribution; some distributions don't install the kernel
header files by default, or they install headers that don't coincide
properly with the kernel you are running.
I think you need to do this to determine which kernel header you have ->
Quote:
Q: How do I tell if I have my kernel sources installed?

A: If you're running on a distro that uses RPM (Red Hat, Mandrake, SuSE,
etc), then you can use RPM to tell you. At a shell prompt, type:

`rpm -qa | grep kernel`

and look at the output. You should see a package that corresponds
to your kernel (often named something like kernel-2.4.18-3)
and a kernel source package with the same version (often named
something like kernel-source-2.4.18-3). If none of the lines seem
to correspond to a source package, then you'll probably need to
install it. If the versions listed mismatch (ex: kernel-2.4.18-10 vs.
kernel-source-2.4.18-3), then you'll need to update the kernel-source
package to match the installed kernel. If you have multiple kernels
installed, you need to install the kernel-source package that
corresponds to your *running* kernel (or make sure your installed
source package matches the running kernel). You can do this by
looking at the output of 'uname -r' and matching versions.
While you're at it, perhaps you should so a search at LQ, and read this thread -> http://www.linuxquestions.org/questi...pile+interface

Nvidia has a forum which is manned by Andy Mecham, among others -> http://www.nvnews.net/vbulletin/foru...?s=&forumid=14

When you get tired of fooling around with Mandrake, install Slackware

Since Dalek has answered all your questions in the LQ thread I posted, and you've got another thread of your own going in LQ, I'm finished in this thread. Hope you get it working, and when you do, be courteous to others and post back how you got it to work.
 
Old 12-08-2003, 05:37 AM   #9
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
It wasn't the dependencies - it was the header files. I found them, (so hard to find - had someone give it to me lol). I knew which kernel headers I needed, I just needed the damn headers! They were non-existent (cursed n00b Mandrake must think that just because its user friendly it should exclude the header files). Alas, I need to fall back on an earlier driver (not the latest, but the next latest?) since WineX doesn't recognise the 4494 drivers.

Alas, the rpm that came in the CD doesn't have the include files, so I had to get one off the net. Hmm...I missed it out on the mandrake site earlier, damn long lists made me skip over the include folder in the rpm.
 
  


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
Install drivers -- boot install file Halsafar Linux - General 3 09-25-2005 05:05 AM
On a Fresh install of 10.1, the Nforce drivers refuse to install.. K@rl` Slackware 2 02-25-2005 02:55 AM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM
Drivers... Do I need them? How to install? etc... Utah Linux - Newbie 15 04-26-2004 12:00 AM
Transferring drivers between KNPX cd install to hd install...... stakhous Linux - Software 1 01-14-2004 08:30 AM

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

All times are GMT -5. The time now is 05:17 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