Rebuilding linux-ubuntu-modules and linux-restricted-modules?

Ben Greear greearb at
Sat May 3 04:30:31 UTC 2008

Matt Price wrote:
> i think this belongs with kernel-team?
> On Fri, 2008-05-02 at 21:54 -0400, Aubrey Eddleson wrote:
>> Hey,
>>     I've looked high and low and nowhere can I find a workable method
>> of recompiling linux-ubuntu-modules and linux-restricted-modules for a
>> custom kernel.  Please forgive me for asking this here, but I don't
>> know anyone else to aks and I find more and more often that modules
>> that I know and appreciate are being absorbed by these two packages
>> (fglrx became part of l-r-m in Hardy).  Also, if there's any way to
>> modify the code to automatically compile under /usr/src/modules with
>> module-assistant as was more common previously, that would be wonderful!
>> Thanks in advance for any help anyone can offer,
>>     Aubrey
> all i can say isthat, back when i used to do this, i remember it was not
> straightforward.  and things have changed a lot since then, so i won't
> comment further, but maybe some of the kernel team members can help
> uout, especially now that hardy has been released.
> matt
I have some notes for rebuilding a live image with a patched kernel.  I 
got the external modules
to compile once with something very like what is in the notes, but I was 
not able to do it a
second time.  I think there may be some soft/hard link loop somewhere.  
If you try these
steps, let me know how it works out.

Please ignore the stuff related to LANforge..that is my project that I 
am adding to the custom
live cd.



Ben Greear <greearb at> 
Candela Technologies Inc

More information about the kernel-team mailing list