Hi , that was an Idea taken from your book Greg (LKN !) :-) but I am really looking out to automate this task - this will save lot of time and put in that time into something more interesting ;-) !
On Mon, Aug 11, 2008 at 10:27 AM, Greg KH <greg@xxxxxxxxx> wrote:
On Mon, Aug 11, 2008 at 09:04:30AM +0530, onnm wrote:That's pretty simple, boot a distro kernel, take the installed modules,
> I am trying to write a script which will enable (update) Kernel to be
> automatically configured based on following things :
>
> (1) active modules in /proc/modules
> (2) output of lspci
>
> where else can I see to get a very minimal kernel image which will be
> required to run on a given machine ( obviously , running all devices which
> were previously working !!)
and then only configure them in.
It would, that's why other people have done this before, you might want
> I thought Kernel configuration is a daunting task
> kernels which are configured for various distros (for instance Debian ! )
> are not optimally configured for a specific machine (hence, make oldconfig
> does not necessarily give optimal image !)
>
> Automatically configured kernel would be a great Idea and save lot of time
to research some of that first :)
good luck,
greg k-h