Re: how to rebuild single kernel module



Okay, thats a bit extreme, m-a seems to be able to build a module with
just the headers.

so all I want to do is rebuild qcserial, patched it to add new id.
don't need to produce a deb.

what i tried was installed the linux-source-2.6.34-1 deb

copied .config from the headers directory did
make oldconfig
make M=<path to module>

copied the qcserial.ko to <lib/mod>/updates

did a depmod -a

then modprobe -v qcserial

but it gave me errors wouldn't load....

Alex

On Wed, Jun 23, 2010 at 5:47 PM, Patryk Cisek <patryk@xxxxxxxxxx> wrote:
Alex,

You can't rebuild single module. If you wanna do it the Debian way, you
have to rebuild whole kernel (install kernel-package and see make-kpkg
manual for details).

On Wed, Jun 23, 2010 at 02:41:45PM +1000, Alexander Samad wrote:
I need to make a quick change to a kernel module, I would like to just
get the source and make the change and build.

How can I build ??? I did a google, but couldn't find the debian way
of building with linux-headers..


Alex


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/AANLkTin8c4D5mbsEa2NBdBq7FoyD44dNNRuDyBNvfZ5p@xxxxxxxxxxxxxx


--
atryk Cisek


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20100623074700.GE2774@xxxxxxxxxxxxxxxxxxxxx




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/AANLkTiln_qWhMmtOIA4xIFm741bcDKiRt2pCTJTS0vQV@xxxxxxxxxxxxxx



Relevant Pages

  • Re: Cant post to list with mutt/exim4?!
    ... just go myself into more trouble. ... all your headers and envelope headers in mutt and then allow ... connections (like from mutt) to retain their headers without exim ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cant post to list with mutt/exim4?!
    ... go myself into more trouble. ... headers and envelope headers in mutt and then allow ... from mutt) to retain their headers without exim tacking on local ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to Find a Printer Driver?
    ... Kent West wrote: ... almost never need to print, so haven't bothered since the rebuild some months back), and now I have 15 minutes to do it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: posting
    ... see headers as well. ... A digest seems to be/is a mail with attachment?! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Stock kernel - it works everywhere because?
    ... modules are compiled with the same version of gcc. ... you need without having to rebuild the whole kernel? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)