start_kernel(): bug: interrupts were enabled early
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/
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
Quoted 5 lines · mlachwani
The issue is the
on_each_cpu()calls made inarch/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 toarch/mips/mm/c-r4k.c, i.e. to have something liker4k_on_each_cpu().
Also cosider using the local_* variant of a cache or tlb flush operation wherever possible.
Ralf