Tags
Categories
- Computers (13)
- Electronics (4)
- Internet (3)
- Musings (1)
- Photography (2)
- Uncategorized (1)
- Vehicles (3)
Meta
Archives
- March 2020 (1)
- November 2011 (3)
- October 2011 (1)
- August 2010 (1)
- February 2010 (1)
- April 2009 (1)
- March 2009 (1)
- February 2009 (1)
- December 2008 (1)
- November 2008 (2)
- October 2008 (1)
- September 2008 (1)
- June 2008 (1)
- March 2008 (3)
- February 2008 (2)
-
Recent Posts
Monthly Archives: October 2008
kernel config based on lsmod output
Update (October 7th, 2011): Kernels from 2.6.32 onwards should have the option to “make localmodconfig” and “make localyesconfig”. This post describes a dirty hack to get a result similar to “make localyesconfig”. If possible, use the official way instead of my python script.
After reading about the amazing 5-seconds bootup I decided to once again compile a kernel myself. Compiling a kernel is almost trivial these days, but customizing the configuration can still be quite confusing. For example, the names of the modules in lsmod aren’t the ones you select as config options. To map them, I found some scripts in the LQWiki, but they weren’t that easily to use, and also programming in bash is just painful.