Re: adding modules to kernel

From: Adam Hardy (adam.ant_at_cyberspaceroad.com)
Date: 08/25/05

  • Next message: Michael Marsh: "Re: call for a vote -- should debian-user mailing list replies go to author or to list?"
    Date: Thu, 25 Aug 2005 16:02:12 +0100
    To: debian-user@lists.debian.org
    
    

    Roberto C. Sanchez on 24/08/05 20:43, wrote:
    >>>Is there some short-cut?
    >>
    >>Run xconfig again, select the option as a module, and recompile. If the
    >>tree hasn't been cleaned since you last built, it should only compile
    >>that one module and not the entire kernel. When this is done you can
    >>either reinstall the kernel or just copy the module in question into
    >>/lib/modules/<kver>.
    >>
    >
    > IIRC, the OP said he used kernel-package. If that is the case, add
    > "do_clean := NO" (without qoutes and on its own line) to the file
    > /etc/kernel-pkg.conf to ensure that the script does not run a clean by
    > default after it is finished building.

    Yes, I'm using kernel-package.

    I added that config option but I am still getting problems.

    Firstly, if I do the following:

    (1) add the i2c_isa option as a module using make xconfig
    (2) sudo make-kpkg --initrd kernel-image
    (3) sudo dpkg -i kernel-image-2.6.xxxxx.deb
    (4) sudo reboot

    I still haven't got i2c_isa. To get it I must do the make-kpkg clean
    stage too.

    Secondly, why do I need root privileges for make-kpkg kernel-image? This
    step merely creates the kernel*.deb file, I thought.

    Thanks
    Adam

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Michael Marsh: "Re: call for a vote -- should debian-user mailing list replies go to author or to list?"

    Relevant Pages

    • Re: FC2 2.6.7 build produces huge modules
      ... John-Paul Stewart wrote: ... Where did you get your kernel ... Maybe I will try a clean xconfig ... w/out copying the old .config - but that doesn't seem too promising. ...
      (comp.os.linux.misc)
    • How to config twice with make-kpkg
      ... find I want to run oldconfig and then xconfig. ... then I run xconfig to change other options. ... The problem is that if I run make-kpkg configure twice, ... Because I'm applying kernel patches, ...
      (Debian-User)
    • Re: nvidia - kernel (2.6.6) compile causes fc2 to crash
      ... >> make xconfig or make menu config ... > make modules install ... FYI make dep is not needed anymore with 2.6.x ... Good question, I will see if i can reproduce this on the next kernel update, ...
      (Fedora)
    • Re: kernel compilation
      ... Subject: kernel compilation ... > make xconfig ... > make dep ... > make clean ...
      (Linux-Kernel)
    • Re: error compiling kernel
      ... > im trying to install a 2.6.9 kernel on my knoppix machine currently ... > make mrpoper is ok ... make menuconfig may be less demanding on your libs and headers, if xconfig ... Confidentiality Notice: This email may contain confidential and privileged information. ...
      (alt.os.linux)