Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

upgrading kernel


 Hai,
       I have my pc with redhat linux 9, kernel 2.4.20-8, with onboard PROMISE PDC20277 FastTrak RAID Controller which is installed while installation of RH 9. Now i have to upgrade the kernel. but when i try to install the rpm 2.4.20-30.9.i386.rpm, its was showing the error

   "unable to locate the FastTrak.o module, mkinitrd failred" . So  i recompiled the new source kernel
but when i boot after that, its showing kernel panic error.. "the Fasttrak module was compiled for 2.4.20-8 and the presnet kernel is 2.4.20-30.9.
    So could any one of you please tell how to compile the new kernel with fasttrak module. i am confused as the previous module was loaded while installation... please give me solution

thanks and regards
0
mshajan
Asked:
mshajan
  • 2
1 Solution
 
karlwilburCommented:
The easiest way for a home user is to get a demo account with the Red Hat Network and just run the update tool.
0
 
mshajanAuthor Commented:

  i thinkd its not possible for us to get updated with redhat network... Any other solution please
0
 
karlwilburCommented:
You'll need to have the kernel source.  Looks like you have taht based on your previous posts.

Next you need to reomplie the kernel:

cd path/to/kernel/source
make menuconfig
(here you'll choose the the driver that you need for your hardware.  I'd suggest that you choose to make them as modules instead of compiling them into your kernel, but both will work)

make dep

make bzImage

make modules

them copy your kernel to the directory in which your boot loader will be looking at boot time.

-Karl

0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now