[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] nbd-client: timeout option not working



On Wed, Aug 24, 2011 at 5:36 AM, Valerio Pachera <sirio81@...17...> wrote:
> 2011/8/24 Paul Clements <paul.clements@...856...>:
>> If you need any pointers, I can help. Compiling just nbd.ko is not too bad.
>
> Thank you, help would be appreciated :-)
> I already know how to compile a kernel but I never tried to compile a
> single module.
>
> These are the steps. Correct me if I'm worng:
>
> Download my debian kernel sources.
> Find the file.
> Apply the changes.
> Compile the module (how?)
> Load the module
> Test nbd-client
>
> Googeling I found this:
> http://www.linuxquestions.org/questions/linux-software-2/compiling-single-kernel-module-only-409523/
>
> make modules SUBDIRS=drivers/the_module_directory
> in our case
> make modules SUBDIRS=drivers/block
>
> Then I manualy remove
> /lib/modules/2.6.32-5-amd64/kernel/drivers/block/nbd.ko
> anc copy the new nbd.ko
>
> right?
>
> ps: in that way I copile all modules of a directory, not just one.

Yes, that's right. There's not much in block/, so it's pretty quick.

--
Paul



Reply to: