Can printk in the root domain cause the system to hung ?
Hi, all:
We are now porting ipipe on mips architecture. There is a
problem, after local_irq_enable() is called in start_kernel(), system looks hung. We found that this may be related to printk in root domain, if we use early_printk instead of printk, the system looks normal and can continue the kernel boot process. Can someone tell me the possible reason, thanks!
--
Jamie
Quoted 7 lines · Jamie Huang via Xenomai
Hi, all:
We are now porting ipipe on mips architecture. There is a
problem, afterlocal_irq_enable()is called instart_kernel(), system looks hung. We found that this may be related to printk in root domain, if we useearly_printkinstead of printk, the system looks normal and can continue the kernel boot process. Can someone tell me the possible reason, thanks!
Is your code published already?
Also note that the I-pipe architecture is becoming legacy. We are moving all archs to dovetail over 5.10 now.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
On Tue, 27 Apr 2021 18:36:02 +0200
Jan Kiszka <[email protected]> wrote:
Thank you for reply!
Quoted 10 lines · Jamie Huang via Xenomai
Quoted 7 lines
Hi, all:
We are now porting ipipe on mips architecture. There is a
problem, afterlocal_irq_enable()is called instart_kernel(), system looks hung. We found that this may be related to printk in root domain, if we useearly_printkinstead of printk, the system looks normal and can continue the kernel boot process. Can someone tell me the possible reason, thanks!Is your code published already?
No, but I think we will publish it when it is basically available.
Quoted 6 lines
Also note that the I-pipe architecture is becoming legacy. We are moving all archs to dovetail over 5.10 now.
Jan
Our kernel version is 4.19, so we choose I-pipe now. We will consider dovetail if use a higher version of kernel.