Re: ltp failures on autobuilder
Richard Purdie
On Thu, 2021-06-10 at 18:02 +0100, Richard Purdie via lists.yoctoproject.org wrote:
Noting down what we know about the ltp issue:also: IMAGE_CLASSES += "testimage" QEMU_USE_KVM_qemux86-64 = "True" thenGood news (for me) is that Randy and Paul can now reproduce this with the above additional key pieces of config. We have confirmed that the issue is present: * with gcc 11.1.1 and 10.3 * in hardknott * if QB_SMP is disabled (i.e. in a single processor qemu) * on 18.04, 20.04 and 21.04 Ubuntu host distros which have varying 5.4 and 5.11 host kernels I was not able to make the bug appear with in gatesgarth as yet (gcc 10.2, 5.8 kernel, qemu 5.1.0) (had to hack -b /dev/null to the ltp commandline) I did backport the qemu platform, smp and qemu commandline changes back to gatesgarth and it still doesn't crash. I also found that setting CONFIG_DEBUG_KERNEL makes the issue 'go away'. Since that is a large hammer, I tried: CONFIG_DEBUG_KERNEL=y # CONFIG_CGROUP_DEBUG is not set # CONFIG_SCHED_DEBUG is not set # CONFIG_DEBUG_PREEMPT is not set # CONFIG_RCU_TRACE is not set # CONFIG_X86_DEBUG_FPU is not set # CONFIG_CONSOLE_POLL is not set # CONFIG_DEBUG_INFO is not set # CONFIG_KGDB is not set # CONFIG_KGDB_HONOUR_BLOCKLIST is not set # CONFIG_KGDB_SERIAL_CONSOLE is not set # CONFIG_KGDB_LOW_LEVEL_TRAP is not set # CONFIG_KGDB_KDB is not set # CONFIG_KDB_KEYBOARD is not set # CONFIG_DEBUG_MISC is not set as a .cfg to the kernel and that still reproduced the crash. However: CONFIG_DEBUG_KERNEL=y CONFIG_CGROUP_DEBUG=y CONFIG_SCHED_DEBUG=y CONFIG_DEBUG_PREEMPT=y # CONFIG_RCU_TRACE is not set # CONFIG_X86_DEBUG_FPU is not set # CONFIG_CONSOLE_POLL is not set # CONFIG_DEBUG_INFO is not set # CONFIG_KGDB is not set # CONFIG_KGDB_HONOUR_BLOCKLIST is not set # CONFIG_KGDB_SERIAL_CONSOLE is not set # CONFIG_KGDB_LOW_LEVEL_TRAP is not set # CONFIG_KGDB_KDB is not set # CONFIG_KDB_KEYBOARD is not set # CONFIG_DEBUG_MISC is not set doesn't seem to want to reproduce the crash so something about those three options seems to make things 'work'. What does that all mean? No idea. Cheers, Richard |
|