Fixed
Created: Jul 4, 2018
Updated: Apr 24, 2019
Resolved Date: Aug 9, 2018
Found In Version: 10.17.41.9
Fix Version: 10.17.41.10
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Kernel
root@qemux86-64:/opt/wr-test/buildsystem# lttng create
Spawning a session daemon
[ 49.708057] lttng_kretprobes: loading out-of-tree module taints kernel.
[ 50.108230] LTTng: Loaded modules v2.10.5 (KeKriek)
[ 50.921659] ------------[ cut here ]------------
[ 50.927533] WARNING: CPU: 0 PID: 613 at /rca/07051033-usb_lttng_test/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/lttng-probes.c:94 fixup_lazy_probes+0xb8/0x1b0 [lttng_tracer]
[ 50.931607] Modules linked in: lttng_probe_compaction(O+) lttng_probe_btrfs(O) lttng_probe_block(O) lttng_ring_buffer_metadata_mmap_client(O) lttng_ring_buffer_client_mmap_overwrite(O) lttng_ring_buffer_client_mmap_discard(O) lttng_ring_buffer_metadata_client(O) lttng_ring_buffer_client_overwrite(O) lttng_ring_buffer_client_discard(O) lttng_tracer(O) lttng_statedump(O) lttng_ftrace(O) lttng_kprobes(O) lttng_clock(O) lttng_lib_ring_buffer(O) lttng_kretprobes(O) ata_piix parport_pc parport floppy uvesafb openvswitch nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c
[ 50.941445] CPU: 0 PID: 613 Comm: modprobe Tainted: G O 4.12.24-yocto-standard #1
[ 50.942759] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org 04/01/2014
[ 50.944764] task: ffff998cc78bcec0 task.stack: ffffa3ea403fc000
[ 50.945869] RIP: 0010:fixup_lazy_probes+0xb8/0x1b0 [lttng_tracer]
[ 50.946830] RSP: 0018:ffffa3ea403ffc48 EFLAGS: 00000286
[ 50.947673] RAX: 00000000ffffffff RBX: ffffffffc058633b RCX: 0000000000000061
[ 50.948819] RDX: 0000000000000005 RSI: ffffffffc05861ac RDI: ffffffffc058633b
[ 50.949930] RBP: ffffa3ea403ffc90 R08: 0000000000000062 R09: ffffffffb7120090
[ 50.950993] R10: ffffffffb71916e0 R11: ffffffffb7191a40 R12: 0000000000000010
[ 50.963083] R13: 0000000000000005 R14: ffffffffc058a000 R15: ffffffffc058a040
[ 50.972721] FS: 00007fa3c3ca2740(0000) GS:ffff998ccfc00000(0000) knlGS:0000000000000000
[ 50.989389] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 50.997321] CR2: 000055622627bfc0 CR3: 00000000079ca000 CR4: 00000000000006f0
[ 51.005483] Call Trace:
[ 51.013793] lttng_get_probe_list_head.part.0+0x1d/0x20 [lttng_tracer]
[ 51.021156] lttng_probe_register+0xb9/0xc0 [lttng_tracer]
[ 51.027983] ? __event_probe__compaction_isolate_template+0x2d0/0x2d0 [lttng_probe_compaction]
[ 51.040746] __lttng_events_init__compaction+0x2b/0x70 [lttng_probe_compaction]
[ 51.052866] do_one_initcall+0x43/0x170
[ 51.058802] ? kmem_cache_alloc_trace+0x1b8/0x1d0
[ 51.064558] do_init_module+0x5f/0x1fd
[ 51.070281] load_module+0x1d7c/0x2650
[ 51.075835] SyS_finit_module+0xad/0xd0
[ 51.081301] ? SyS_finit_module+0xad/0xd0
[ 51.086617] do_syscall_64+0x6d/0x130
[ 51.091790] entry_SYSCALL_64_after_hwframe+0x21/0x86
[ 51.097066] RIP: 0033:0x317d4ebbf9
[ 51.102091] RSP: 002b:00007ffeb5adca78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 51.112058] RAX: ffffffffffffffda RBX: 0000000000620b50 RCX: 000000317d4ebbf9
[ 51.117400] RDX: 0000000000000000 RSI: 0000000000418484 RDI: 0000000000000004
[ 51.122699] RBP: 0000000000418484 R08: 0000000000000000 R09: 0000000000000000
[ 51.127992] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 51.133189] R13: 0000000000040000 R14: 0000000000000000 R15: 0000000000000000
[ 51.138357] Code: 01 44 39 65 cc 0f 84 fc 00 00 00 49 63 c4 4c 89 ea 4c 89 f6 49 8b 04 c7 48 8b 18 48 89 df e8 e0 31 20 f6 85 c0 74 c1 4c 8b 75 c0 <0f> ff 48 8b 05 57 0b 12 00 48 8d 50 e8 48 3d 50 10 52 c0 75 18
[ 51.154058] ---[ end trace 013365a4e9598627 ]---
Session auto-20180705-030859 created.lttng enable-event --kernel --all
Traces will be written in /root/lttng-traces/auto-20180705-030859
$ wrlinux-10/setup.sh --machines=qemux86-64 --templates=feature/lttng,feature/target-toolchain --dl-layers --accept-eula=yes
$ source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ echo 'IMAGE_FSTYPES += " wic"' >> conf/local.conf
$ bitbake wrlinux-image-glibc-std
$runqemu qemux86-64 tmp-glibc/deploy/images/qemux86-64/wrlinux-image-glibc-std-qemux86-64-20180305172624.rootfs.wic wic nographic slirp qemuparams="-m 2014"
#lttng create