Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A good man on NetworkManager mailinglist provided a patch that hopefully would solve an issue I'm experiencing related to slow mobile broadband detection on Ubuntu 11.04 64-bit. I'd really like to check the patch but I can't figure out how to do this.

As a starting point I have uncompressed /usr/src/linux-source-2.6.38/linux-source-2.6.38.tar.bz2 and applied the patch to /usr/src/linux-source-2.6.38/drivers/usb/serial/options.c, but now I'm stuck.

How do I recompile the module? Possibly just the module, not the whole kernel and the other unmodified modules. Links to good docs are appreciated as well.

I already reconfigured and recompiled a kernel in the past (though the procedure looked a bit obscure to me...) so all the involved software should be in place.

Thanks for any clarification.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

The Linux Kernel Module Programming Guide is very informative about kernel modules.

If you are a 100% newbie on this topic like I am/was and want to understand something more, it's the case to query Google for further delvings. Otherwise LKMPG (!) is enough to get the result. Specifically, the section 2.2 Compiling Kernel Modules is the direct and detailed answer to my question.

HTH

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.