Re: Debian way of integrating out of tree drivers

From: Matt Zagrabelny (mzagrabe_at_d.umn.edu)
Date: 03/31/05

  • Next message: Matt Zagrabelny: "Re: Problems installing libc6-dev"
    To: debian-user@lists.debian.org
    Date: Thu, 31 Mar 2005 13:06:43 -0600
    
    

    On Thu, 2005-03-31 at 19:39 +0200, Bob Alexander wrote:
    > This morning I tried using my atheros wifi (madwifi driver) and it did
    > not work.
    >
    > I almost instantly realized that it was the first time I attemted using
    > wifi after installing my 2.6.11.4 kernel.
    >
    > I therefore jumped into the madwifi directory and did a make/make
    > install and corrected the "problem".
    >
    > Is there a way to "automatize" the adding of the madwifi drivers each
    > time I compile a new kernel ?
    >
    > This is the way I compile kernels under Debian:
    >
    > export SUBV=$(date +%Y%m%d%H%M)
    > #make menuconfig
    > cat .config | gzip > /home/bob/t40.config.$SUBV.txt.gz
    > fakeroot make-kpkg clean
    > time fakeroot make-kpkg --revision=t40.$SUBV kernel_image modules_image
    ^^^^^^^^^^^^^^^^^^^
    make yourself part of the group 'src' and do these steps as yourself.

    >
    > kernels live under /usr/src each in their own directory (e.g.
    > /usr/src/linux-2.6.11.4) and madwifi is /usr/src/madwifi

    $ man make-kpkg

    <snip>
    --added_modules foo
    The argument should be a comma separated list of additional add-on
    modules (not in the main kernel tree) that you wish to build when you
    invoke the modules_blah targets. You may give full path names of the
    directory the modules reside in, or just the module name if it can be
    found in MODULE_LOC, which defaults to /usr/src/modules. The default
    is that all modules in MODULE_LOC, are compiled when the modules_blah
    targets are invoked.
    </snip>

    so i would say
    $ mv /usr/src/madwifi /usr/src/modules/
    ought to do it.

    -matt zagrabelny

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

  • Next message: Matt Zagrabelny: "Re: Problems installing libc6-dev"

    Relevant Pages

    • Debian way of integrating out of tree drivers
      ... This morning I tried using my atheros wifi (madwifi driver) and it did ... I almost instantly realized that it was the first time I attemted using ... wifi after installing my 2.6.11.4 kernel. ...
      (Debian-User)
    • Re: Distributions
      ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
      (Debian-User)
    • Re: Distributions
      ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
      (Debian-User)
    • Problems with custom kernel fbsd 6.2
      ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
      (freebsd-questions)
    • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
      (Linux-Kernel)