Hello everyone,

I am trying to install Xenomai with Soc based on ARM64 and
running it on qemu-system-aarch64  ipipe/xenomai.

I am facing problem while trying to boot it with smp support(multi core)
and using following ipipe and kernel version:

- ipipe:  ipipe-3.18-arm64
- Kernel: 3.18

And when trying to launch qemu with the following command:

qemu-system-aarch64 -M virt -cpu cortex-a57 -kernel -smp 4 Image -initrd
rootfs.img.gz -nographic -append "console=ttyAMA0 root=/dev/ram
rootfstype=ramfs init=/bin/sh" -snapshot

I am getting the below Kernel Panic:

...
Freeing initrd memory: 2924K (ffffffc004000000 - ffffffc0042db000)
kvm [1]: HYP mode not available
futex hash table entries: 1024 (order: 4, 65536 bytes)
[Xenomai] scheduling class idle registered.
[Xenomai] scheduling class tp registered.
[Xenomai] scheduling class quota registered.
[Xenomai] scheduling class rt registered.
I-pipe: head domain Xenomai registered.
sched: RT throttling activated
INFO: rcu_preempt self-detected stall on CPU { 2}  (t=2100 jiffies g=5 c=4
q=25)
Task dump for CPU 1:
swapper/0       R  running task        0     1      0 0x00000000
Call trace:
[<ffffffc000086754>] __switch_to+0x74/0x8c
[<ffffffc000096e58>] __ipipe_mach_get_tsc+0xc/0x34
[<ffffffc00013c7dc>] __ipipe_trace+0xf0/0x7a8
[<ffffffc00013dad4>] ipipe_trace_function+0x2c/0x38
[<ffffffc000140e44>] ftrace_ops_no_ops+0xa4/0x1e8
[<ffffffc0000910b0>] _mcount+0x30/0x3c
[<ffffffc0001374b0>] __ipipe_spin_unlock_irqrestore+0x1c/0xcc
[<ffffffc0003cd780>] gic_raise_softirq+0xa8/0xc4
[<ffffffc000091c9c>] smp_cross_call+0x54/0xcc
[<ffffffc000091d3c>] ipipe_send_ipi+0x28/0x38
[<ffffffc000137e94>] ipipe_critical_enter+0x120/0x1bc
[<ffffffc0000b4200>] mach_arm_calibrate+0x30/0xe4
[<ffffffc0008810ac>] xnclock_init+0x20/0x5c
[<ffffffc00088134c>] xenomai_init+0x264/0x4fc
[<ffffffc000081808>] do_one_initcall+0x90/0x1b4
[<ffffffc000871b04>] kernel_init_freeable+0x144/0x1e8
[<ffffffc000634d88>] kernel_init+0x14/0xdc



Best Regards,
Ritika Agarwal
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to