Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I need help regarding installing an older kernel on my fedora box currently running a 2.6.33 kernel (FC13). I am in need to install an older kernel as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Location
    Bangalore
    Posts
    7

    Question Downgrade kernel to 2.6.21


    Hi all,

    I need help regarding installing an older kernel on my fedora box currently running a 2.6.33 kernel (FC13).
    I am in need to install an older kernel as i have to develop PCI drivers for the 2.6.21 kernel.

    I tried to compile the kernel source from kernel.org but it fails at some point. Tried to fix the errors but ended up with more errors (Guess im not good at it).
    Tried to patch it too, still unsuccessful compilation.

    I tried to compile a 2.6.36 kernel just to make sure im doing the right steps and i succeeded without errors and worked fine. Was even able to remove the kernel 2.6.36 properly and completely once i was done.

    But now i am in dire need of the 2.6.21 kernel so please suggest me a solution.

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Location
    Bangalore
    Posts
    7
    In case anyone was wondering wat errors i got when compiling the 2.6.21 kernel from kernel.org...
    Im posting it here

    Code:
      
    HOSTCC  scripts/unifdef
    scripts/unifdef.c:209: error: conflicting types for ‘getline’
    /usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
    make[2]: *** [scripts/unifdef] Error 1
    make[1]: *** [headers_install] Error 2
    make: *** [vmlinux] Error 2
    Was not sure if i patched the kernel properly so tried with 2.6.21.7.
    Got the same error with the 2.6.21.7 kernel.

  3. #3
    Just Joined!
    Join Date
    Nov 2010
    Location
    Bangalore
    Posts
    7
    Followed the instructions on this link to compile the kernel...
    digitalhermit.com/linux/Kernel-Build-HOWTO.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •