Re: Kernel 2.6.20 takes a long time to load

From: Dave Jones
Date: Sun Mar 25 2007 - 15:19:23 EST


On Sun, Mar 25, 2007 at 02:22:08PM +0200, Helmut Auer wrote:
> Hello List,
>
> The kernel 2.6.20 makes a long delay during booting ( about 15 seconds ) after showing:
>
> NET: Registered protocol family 2
>
> then it goes along with:
>
> IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
> TCP established hash table entries: 8192 (order: 4, 98304 bytes)
> ...
>
> I am using the kernel parameter lpj to avoid calculating processor speed during kernel load.
> If I do not use the lpj parameter, the detection of cpu speed takes about 10 seconds, but then
> there is no delay after:
> NET: Registered protocol family 2
>
> Any hints what I can try to get a fast booting kernel ?
> I am using 2.6.20 with some gentoo patches ( plain 2.6.20-4 has the same problem ).

booting with initcall_debug will tell you the last thing it initialised before
the pause, which may give some clues. Alternatively, git bisect ?

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/