Okay, I'm running my kernel as monolithic as I can make it-- no initrd, and only three modules (which refuse to compile directly into the kernel for some reason.) Sure, it's not as elegant, but it runs faster that way.
However, when I build stuff into the kernel, I have to err on the side of caution, and I probably have more stuff compiled into it than I need.
I know that lsmod will tell me what modules
I'm using, but I need to know what built-in
stuff is being used. My current workflow is:
- Disable something in xconfig.
- Compile kernel.
- If I get a kernel panic, or sound/internet gets disabled, re-enable whatever I disabled.
- Repeat from step one.
This trial-and error method is time-consuming, and I was wondering if there was a faster way.
I am using Debian Sid/Squeeze/Experimental, kernel 2.6.30-rc6-git6.