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 |
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-17-2003, 02:50 PM
|
#1
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Rep:
|
nvidia problems
hi, I'm installing the nvidia drivers and have already killed Xwindow to do the maintenance. However, when I rpm -Uvh with the nvidia kernel for RH 8 i386 i get the following message:
modprobe: Can't locate module nvidia
so then i tried rpm -ivh and got a message:
package NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0 is already installed
so then i tried rpm -e and it gave (!):
error: package NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i386.rpm is not installed
what is going on?!
I have tried (and failed) installing the drivers once before the RH 8 specific nvidia kernel rpm came out, so maybe thats interfering, I dont know?! Why can I never get this nvidia thing to work
|
|
|
02-17-2003, 03:00 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you uninstall by PACKAGE name and not FILE name
rpm -e NVIDIA_kernel-1.0-4191
|
|
|
02-17-2003, 03:05 PM
|
#3
|
Member
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39
Rep:
|
When you tried to uninstall it, did type:
rpm -e NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i386.rpm
?
When you uninstall RPMs you dont use the entire version number i.e.
to uninstall the NVIDIA_kernel it would be this:
rpm -e NVIDIA_kernel
|
|
|
02-17-2003, 03:13 PM
|
#4
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
that worked to uninstall the rpm, but now when i -ivh i just get the same message i got when i -uvh'ed:
modprobe: Can't locate module nvidia
looks like a xwindow message to me, but i killed the X process.
|
|
|
02-17-2003, 04:26 PM
|
#5
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
maybe its my version of Xfree86. how should i check its version number now the X process is not running? 
|
|
|
02-17-2003, 04:30 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
X -showconfig
|
|
|
02-17-2003, 04:50 PM
|
#7
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
ok its working but it says that the kernel is already installed, but when i initialise X it says that it 'failed to initialise the kernel module', so i presume it is not correctly installed. what rpm command will force it to overwrite the existing installation? (I know from the md5 that the rpm is not corrupted).
|
|
|
02-17-2003, 04:55 PM
|
#8
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
ok i think i have an idea whats going on, its saying the kernel is already installed cos its failed once, if i rpm -e the kernel, and then install it again with either -Uvh or -ivh it gives the message:
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
modprobe: Can't locate module nvidia
Failed to install nvidia.o
error: %post(NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0) scriptlet failed, exit status 1
and from then on it claims that the kernel is installed.
Is this a common error, what can i do to make it work, or to locate module nvidia?
Thanks in advance for any help, and for the help received so far 
|
|
|
02-17-2003, 07:20 PM
|
#9
|
Member
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39
Rep:
|
Did you run the chooser.sh script before you downloaded the two updates? Maybe you dont have the right packages.
|
|
|
02-18-2003, 03:50 AM
|
#10
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
cant locate module nvidia error message
yeah ive run the script and it says I should use the i686 version of the kernel, which I have done, after I typed rpm -e NVIDIA_kernel to remove the i386 ver ive been messing with. However, it still gives the same message:
rpm -ivh NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i686.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
modprobe: Can't locate module nvidia
Failed to install nvidia.o
error: %post(NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0) scriptlet failed, exit status 1
Does anyone even know what this module nvidia its describing belongs to?
|
|
|
02-18-2003, 04:00 AM
|
#11
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
linux source code missing?
i think ive found a lead in an old thread entitiled:
Nvidia drivers & Red Hat 8 (2.4.18-19.8.0)
in the last post it is said that cant load module nvidia occurs when the linux src code is not present on the system. I have checked my /usr/src directory and the linux dir is labelled linux-2.4 and theres another dir callled linux-2.4.18-14. Do i need to perhaps create a /usr/src/linux directory and create a symbolic link to the linux-2.4 dir, as is described in the post, and if so how exactly do i tell bash to do that, sorry but I've never created links before  .
|
|
|
02-18-2003, 05:52 AM
|
#12
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
ln -s /usr/src/linux-2.4.18-14 /usr/src/linux
|
|
|
02-18-2003, 08:55 AM
|
#13
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
Hi, thanks for that now if i check the contents of /usr/src/linux i get the following message:
[root@chameleon linux]# dir
abi CREDITS fs kernel mm Rules.make
arch crypto include lib net scripts
configs Documentation init MAINTAINERS README
COPYING drivers ipc Makefile REPORTING-BUGS
I thought from the post i found that this would cure the problem of the rpm not being able to 'locate module nvidia' but it is still giving the same message, despite having used NVChooser to ensure I should use the RH80up.i686 rpm, and following the readme. Any ideas? 
|
|
|
02-18-2003, 09:32 AM
|
#14
|
Member
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39
Rep:
|
Did it tell you to get the NVIDIA_kernel-1.0-4191.src.rpm? If so, you can't just install it, you have to compile the source first:
rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm.
Then note where it made the rpm file and install that.
|
|
|
02-18-2003, 10:14 AM
|
#15
|
Member
Registered: Jan 2003
Location: London, U.K.
Distribution: RH 8.0
Posts: 30
Original Poster
Rep:
|
no its def not the src rpm, just the normal one: NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i686.rpm
|
|
|
All times are GMT -5. The time now is 03:18 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
|
|