Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    please help with patching/updating kernel.

    i recently installed slackware version 9 on a slaved HDD on my computer. sporting the asus p4p800, i had to manually install a driver for the onboard ethernet. i had never done it before, but the readme looked simple enough. i am greeted with an error message that says "this driver was compiled for 2.4.20 and your kernel is 2.4.18.

    i download the entire source from, unzip it, unarchive the tar in my /home directory, and do the following:

    make config
    make dev
    make bzImage
    make bzdisk
    make bzlilo

    and then restart.

    except i have the same ol' kernel .

    is there anything i did wrong? is there a way to easily patch my kernel as opposed to recompiling the whole dern source? thanks


  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    First off, you have to put the source tree (what you untarred) into /usr/src (as root). Then, make a symlink called /usr/src/linux that points to that directory. Now you can cd to /usr/src/linux and make config, etc. Using menuconfig is a good bit easier (it's a curses-based config util).

    make menuconfig
    make clean && make bzImage modules modules_install
    Now you have to install the kernel...I'm not that familiar with lilo, but I think that someone has explained this on the forums before, so you can just grep for it.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    something is still not working. this baffles me:

    i installed slackware 9.0.

    in the /usr/src directory, there is a directory called linux-2.4.20 (or something to that effect). but the kernel is version 2.4.18.

    so i go into this directory assuming the friendly slackware people want me to compile the kernel for myself. i follow, meticulously, some instructions i found (which are very old). so something must have changed.

    make menuconfig
    make dev
    make bzImage
    make bzdisk
    make bzlilo

    then i re-install lilo.

    it might just be that i have no idea what any of this does and therefore am messing it up. can anyone shed some light x_X. thanks.

  4. $spacer_open

Posting Permissions

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