[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creaing new 3.0.4 kernel in squeeze --kernel panic



Stephen Powell wrote:
On Sun, 30 Oct 2011 14:24:28 -0400 (EDT), poenikatu@operamail.com wrote:
I downloaded the source for kernel version 3.0.4 from www.kernel.org.
...
I then ploughed through all the options, removing modules where I was
sure I did not have
the relevant hardware.
...
I closed down squeeze, rebooted and chose the new 3.0.4 kernel. It
displayed an
error message (kernel panic) to the effect that it could not load the
root fs.

What have I done wrong?

I would recommend using something like "make localmodconfig" to strip
out drivers your hardware doesn't need.  There are many hidden
dependencies, such as SCSI support, that are not obvious.
Also, I recommend that you read

   http://users.wowway.com/~zlinuxman/Kernel.htm


<snip>

That will definitely give you a bootable kernel but with the stock Debian config, which is huge and gives you way more than you really need. IMO to get just the right kernel config is very tricky because it is an trial and error thing. What would be handy is an IDE that records what change you made and for what reason, so that it can be removed when your hardware changes.

Hugo


Reply to: