Re: [Nbd] nbd-client: timeout option not working
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] nbd-client: timeout option not working
- From: Valerio Pachera <sirio81@...17...>
- Date: Wed, 24 Aug 2011 11:36:18 +0200
- Message-id: <CAHS0cb-8xPi2ObEDUGRLBu5NwCK83v=xTrdXT5Np-2ZYi=3_Ow@...18...>
- In-reply-to: <CAECXXi5WUjYihM2xURR0rxSTnMj655B7ez7=xcv6kq7E0P7OKQ@...18...>
- References: <CAHS0cb-x3k1iLisC3fQ1c3sBa3zxy0a=CW7NmcLhHo=ufJHnjg@...18...> <CAHS0cb9qioHJeFEq3_Fkd-V_UFWpnmrZxFkKkCs30sk=99Thqg@...18...> <CAECXXi60Ci9YyWNNrphozkz5xYGwU5Bq9wuktPfeJo9Ffd7H-Q@...18...> <CAHS0cb_WDuTOSnnwvUPDWGyWJ5614jFK2aRMb2GzWvCUKPjLdg@...18...> <CAHS0cb-_rDeEfoTCtpGPeqb5b7ys07U9oweNwUMXFnBczyOekg@...18...> <20110821153903.GL32531@...3...> <CAHS0cb_vhsd2f=R2aBQDjVvZBduce1Oghp=LDwdz-KTTZ+8Fuw@...18...> <CAECXXi5iFHJc9KSKE1gty_JLkzK4uXXJLk-T21tM6-g2KrZekg@...18...> <CAHS0cb-X8c9WnX3NMM3DiKcwXerbQrVLoqP1VG=061v=bBQ6jg@...18...> <CAECXXi5WUjYihM2xURR0rxSTnMj655B7ez7=xcv6kq7E0P7OKQ@...18...>
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.
Reply to: