Skip to contentSkip to conversation

Can printk in the root domain cause the system to hung ?

DISCUSSION Jamie Huang 2 participants 3 messages Apr 25, 2021 – Apr 28, 2021

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Jamie Huang via Xenomai

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!

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
#2 lore raw

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, 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!

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.