From: Alexander Samad on
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(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTin8c4D5mbsEa2NBdBq7FoyD44dNNRuDyBNvfZ5p(a)mail.gmail.com
From: Patryk Cisek on
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(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
> Archive: http://lists.debian.org/AANLkTin8c4D5mbsEa2NBdBq7FoyD44dNNRuDyBNvfZ5p(a)mail.gmail.com
>

--
atryk Cisek


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100623074700.GE2774(a)meriadoc.test-lan.net
From: Alexander Samad on
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(a)debian.org> 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(a)lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
>> Archive: http://lists.debian.org/AANLkTin8c4D5mbsEa2NBdBq7FoyD44dNNRuDyBNvfZ5p(a)mail.gmail.com
>>
>
> --
> atryk Cisek
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
> Archive: http://lists.debian.org/20100623074700.GE2774(a)meriadoc.test-lan.net
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTiln_qWhMmtOIA4xIFm741bcDKiRt2pCTJTS0vQV(a)mail.gmail.com
From: =?utf-8?Q?Fran=C3=A7ois?= TOURDE on
Le 14783ième jour après Epoch,
Alexander Samad écrivait:

> 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....
>

Could you please post the exact error message, and extracts of syslog
that can be related ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87d3vi9hw7.fsf(a)fermat.tourde.home