compiling Redhat8.0 kernel for video card question?

Charles Steinkuehler charles at steinkuehler.net
Fri Feb 28 13:17:02 CST 2003


joecho at everestkc.net wrote:
> Hello,
> 
> I'm still trying to figure that out how to resolve my laptop video card.
> Without X windows on Laptop, that suck, Really!
> 
> I had asked this video card problem a couple of times already.
> but, life is not that easy to follow.
> There is always one more thing come up you don't expect.
> That sound's familar to me from one of my previous boss told.
> 
> Well, last time, Charles mentioned that
> in order to get a right video driver
> nvidia from GeForce 2 GO with 16 video RAM installed, I need to compile
> this 
> Redhat 8.0 kernel ( uname -r: 2.4.18-24.8.0).
> 
> I download the files kernel-2.4.18-24.8.0.src.rpm.gz from Redhat web
> site.
> and unzip it and 
> 
> #up2date -f kernel-2.4.18-24.8.0.src.rpm
> 
> I got the message below:
> 
> Fetching package list for channel: redhat-linux-i386-8.0...
> #############################################
> 
> Fetching Obsoletes list for channel: redhat-list-i386-8.0...
> #############################################
> None of the packages you requested were found, or they are already
> updated.
> 
> [root at sun]#
> 
> So, I assumed that compiling environment is ready.

<sigh>

First, it will help if you use the correct name for the kernel RPM.

Try:
up2date -f kernel-source

You could have figured this out with something like:
up2date --showall | grep kernel

...or lots of other ways, including browsing through the RedHat 
documentation.

> I did this:
> #rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm
> 
> I still got an error message like  the one previous:
> 
> + INSTALLPATH=/lib/modules/2.4.18-24.8.0/kernel/drivers/video
> + mkdir -p
> /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-24.8.0/kernel/drivers/video
> install: cannot stat `nvidia.o': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.24561 (%install)

This is an error, but *NOT* a compile time error.  The system can't find 
nvidia.o (the actual driver), probably because it didn't compile due to 
some previous error that scrolled off the screen.  As previously 
requested, if you continue to get this problem, report *ALL* outupt from 
the attempted build, for proper analysis.

-- 
Charles Steinkuehler
charles at steinkuehler.net




More information about the Kclug mailing list