Skip to contentSkip to conversation

start_kernel(): bug: interrupts were enabled early

DISCUSSION Martin Michlmayr 3 participants 3 messages Oct 18, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

I see the following message when I boot a 2.6.18 kernel on a SWARM board:

PID hash table entries: 4096 (order: 12, 32768 bytes) Using 512.000 MHz high precision timer.
start_kernel(): bug: interrupts were enabled early <--
Console: colour dummy device 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)

Has anyone else seen this?

Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/
#1 lore raw
Quoted 12 lines · Martin Michlmayr

I see the following message when I boot a 2.6.18 kernel on a SWARM board:

PID hash table entries: 4096 (order: 12, 32768 bytes) Using 512.000 MHz high precision timer.
start_kernel(): bug: interrupts were enabled early <--
Console: colour dummy device 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)

Has anyone else seen this?

Yes, I do see it. I have a patch for it as well. Will send it out shortly.

The issue is the on_each_cpu() calls made in arch/mips/mm/c-sb1.c. This function enables the interrupts on exit. As a result, you will get this error on bootup. The fix is similar to arch/mips/mm/c-r4k.c, i.e. to have something like r4k_on_each_cpu().

Thanks,
Manish Lachwani

#2 lore raw
Quoted 5 lines · mlachwani

The issue is the on_each_cpu() calls made in arch/mips/mm/c-sb1.c. This function enables the interrupts on exit. As a result, you will get this error
on bootup. The fix is similar to arch/mips/mm/c-r4k.c, i.e. to have something like r4k_on_each_cpu().

Also cosider using the local_* variant of a cache or tlb flush operation wherever possible.

Ralf