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 |
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. |
Ok, but where i have to download the file? to "/root", "/" ?
and how do you run the installation? |
Download it to anywhere you like it .. to install it, as root:
$rpm -ivh kernel-source-2.4.20-20.9.i386.rpm |
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.... |
Up...
anyone? |
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. |