LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nvidia asking for kernel headers...? Redhat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-asking-for-kernel-headers-redhat-9-a-118030/)

Zkorpio 11-19-2003 10:09 PM

Nvidia asking for kernel headers...? Redhat 9
 
Hello...

After some help around I finally installed Redhat 9; I did the updates redhat was asking and kernel 2.4.20-20.9 was installed; now at GRUB have both options:

1) 2.4.20-8 (originally installed with cds)
2) 2.4.20-20.9 (new one)

I installed nvidia driver under 2.4.20-8 and it's working fine. But using 2.4.20-20.9 X-mode can't start. I then uninstalled nvidia driver and tried to re-install under 2.4.20-20.9 and it gave me an error -"not found kernel headers"- something about kernel source?

I'm browsing ftp://updates.redhat.com/9/en/os/i386 and I see some kernels there... witch one I have to download? and to what directory? (/root ?) This is my 2nd day using linux... after downloading that kernel file, how do you install it?

any link for a tutorial...?

note: at the ftp sire I see:

kernel-2.4.20-20.9.i386.rpm
kernel-BOOT-2.4.20-20.9.i386.rpm
kernel-doc-2.4.20-20.9.i386.rpm
kernel-source-2.4.20-20.9.i386.rpm

Thanks

megaspaz 11-19-2003 10:21 PM

try installing this rpm that you listed:

kernel-source-2.4.20-20.9.i386.rpm

but this isn't too surprising since every time you upgrade your kernel, you need to reinstall your nvidia drivers. most likely the latest kernel isn't known to nvidia, which is why you need your new kernel's source code.

Zkorpio 11-19-2003 11:05 PM

Ok, but where i have to download the file? to "/root", "/" ?
and how do you run the installation?

wiraone 11-20-2003 01:12 AM

Download it to anywhere you like it .. to install it, as root:

$rpm -ivh kernel-source-2.4.20-20.9.i386.rpm

Zkorpio 11-20-2003 09:01 AM

I get an error...

Failed dependencies:
gcc >= 2.96-98 is needed by kernel-source-2.4.20-20.9

I downloaded kernel-source-2.4.20-20.9.i386.rpm to /root ...do I have to move it? or...
maybe I need to download i686 instead of i386? My system have this information:

OS: Red Hat Linux 9 i386
Release: 9
CPU Arch: i686

-at the ftp site I see these kernels:
kernel-2.4.20-20.9.i686.rpm
kernel-bigmem-2.4.20-20.9.i686.rpm
kernel-smp-2.4.20-20.9.i686.rpm

any of these are source?

thanks again....

Zkorpio 11-21-2003 05:28 PM

Up...

anyone?

mep]-[isto 12-14-2003 04:38 PM

well im by no means an expert at all but it seems to me like you need what it says (a GCC version that is higher than 2.96-98). I dont use RPM myself, but i beleive you can find out what GCC you have installed by rpm -qa gcc

i could be wrong though...

btw, you already have the kernel source, you dont need any of the files listed on that ftp server if you already have kernel-source-2.4.20-20.9 in /root, its just that you havent met its dependencies. is it just me or does red hat not come with a compiler by default? i had suse before slack and it didnt either...which seemed a little odd

anyway sorry if this is inaccurate, just tryin to help where i can (which isnt many places! lol)


All times are GMT -5. The time now is 12:10 AM.