Skip to contentSkip to conversation

Kernel 2.6.20 takes a long time to load

DISCUSSION Helmut Auer 3 participants 3 messages Mar 25, 2007

lore
Share & tools
lore
#0 lore raw

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 ).

My .config is here:
http://www.helmutauer.de/.config-2.6.20.3.gz

Signature · 1 line
Helmut Auer, [email protected]
#1 lore raw
Quoted 12 lines · Helmut Auer

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)
...

Quoted 7 lines

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

Signature · 1 line
http://www.codemonkey.org.uk
#2 lore raw
In reply to Helmut Auer
Quoted 17 lines · Helmut Auer

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

Quoted 5 lines

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 ).

My .config is here:
http://www.helmutauer.de/.config-2.6.20.3.gz

Can you put up a complete bootlog too ?

tglx