From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sun, 6 Nov 2011 08:20:11 -0800 Subject: Problem in configuring the kernel In-Reply-To: References: Message-ID: <20111106162011.GC30006@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sun, Nov 06, 2011 at 06:29:14PM +0530, Naman Shekhar Mishra wrote: > I have been trying to configure the kernel for my Lenovo 300 N100 machine. > First I tried to use: > > ??? $make defconfig > > but this doesn't work and there is a kernel panic when I boot with the new > kernel. What panic is it? > Then I used the configuration file that came with the Ubuntu distribution and > it ran just fine, but the problem is that it takes TOO long to compile with > that configuration. > > > What I want is a minimum configuration which runs the hardware on my machine. > > I looked up "Linux Kernel in a Nutshell" and ran a script which looks through > the hardware and shows only the modules I want to be using That was a good script a long time ago, but please use 'make localmodconfig' based off of your working configuration file, which will be much faster to build. Hope this helps, greg k-h