Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 9418  / 3 Years ago, mon, july 12, 2021, 5:07:46

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.


More From » kernel

 Answers
6

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


[#44343] Tuesday, July 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
erettor

Total Points: 303
Total Questions: 121
Total Answers: 103

Location: Colombia
Member since Mon, May 2, 2022
2 Years ago
;