[e@dock bus1]$ sudo make tt CFLAGS="-g -O0" make -C tools/testing/selftests/bus1/ make[1]: Entering directory '/home/e/wrk/bus1/tools/testing/selftests/bus1' gcc -g -O0 -Wall -I../../../../usr/include/ -c bus1-peer.c -o bus1-peer.o gcc -g -O0 -Wall -I../../../../usr/include/ -c test.c -o test.o gcc -g -O0 -Wall -I../../../../usr/include/ -c test-api.c -o test-api.o gcc -g -O0 -Wall -I../../../../usr/include/ -c test-hive.c -o test-hive.o gcc -g -O0 -Wall -I../../../../usr/include/ -c test-io.c -o test-io.o gcc -g -O0 -Wall -I../../../../usr/include/ -c test-xfer.c -o test-xfer.o gcc -g -O0 -Wall -I../../../../usr/include/ bus1-peer.o test.o test-api.o test-hive.o test-io.o test-xfer.o -lpthread -o bus1-test make[1]: Leaving directory '/home/e/wrk/bus1/tools/testing/selftests/bus1' make -C /lib/modules/4.8.0-0.rc4.git4.1.fc26.x86_64/build M=/home/e/wrk/bus1 BUS1_EXT=1 \ HOST_EXTRACFLAGS="-I/home/e/wrk/bus1/usr/include" \ EXTRA_CFLAGS="-I/home/e/wrk/bus1/include -DCONFIG_BUS1_TESTS=1" \ CONFIG_BUS1=m CONFIG_BUS1_TESTS=y make[1]: Entering directory '/usr/src/kernels/4.8.0-0.rc4.git4.1.fc26.x86_64' LD /home/e/wrk/bus1/built-in.o LD /home/e/wrk/bus1/ipc/bus1/built-in.o CC [M] /home/e/wrk/bus1/ipc/bus1/active.o CC [M] /home/e/wrk/bus1/ipc/bus1/handle.o CC [M] /home/e/wrk/bus1/ipc/bus1/main.o CC [M] /home/e/wrk/bus1/ipc/bus1/message.o CC [M] /home/e/wrk/bus1/ipc/bus1/peer.o CC [M] /home/e/wrk/bus1/ipc/bus1/pool.o CC [M] /home/e/wrk/bus1/ipc/bus1/queue.o CC [M] /home/e/wrk/bus1/ipc/bus1/transaction.o CC [M] /home/e/wrk/bus1/ipc/bus1/util.o CC [M] /home/e/wrk/bus1/ipc/bus1/user.o CC [M] /home/e/wrk/bus1/ipc/bus1/tests.o LD [M] /home/e/wrk/bus1/ipc/bus1/bus1.o Building modules, stage 2. MODPOST 1 modules CC /home/e/wrk/bus1/ipc/bus1/bus1.mod.o LD [M] /home/e/wrk/bus1/ipc/bus1/bus1.ko make[1]: Leaving directory '/usr/src/kernels/4.8.0-0.rc4.git4.1.fc26.x86_64' sudo sh -c 'dmesg -c > /dev/null' sudo sh -c 'rmmod bus1' rmmod: ERROR: Module bus1 is not currently loaded Makefile:121: recipe for target 'tt-prepare' failed make: [tt-prepare] Error 1 (ignored) sudo sh -c 'insmod ipc/bus1/bus1.ko' tools/testing/selftests/bus1/bus1-test --module bus1 ; (R=$? ; dmesg ; exit $R) Run all tests: Testing: `api' ............................................. OK Testing: `xfer' ............................................ OK Testing: `hive' ............................................ OK Testing: `io' .............................................. UDS took 1501 ns without payload UDS took 1782 ns it took 11943 ns for no destinations it took 11943 ns + 5065 ns for one destination without payload it took 11943 ns + 5603 ns for one destination it took 11943 ns + 5433 ns per destination for 2 destinations it took 11943 ns + 5342 ns per destination for 4 destinations it took 11943 ns + 5351 ns per destination for 8 destinations it took 11943 ns + 5659 ns per destination for 16 destinations it took 11943 ns + 5711 ns per destination for 32 destinations it took 11943 ns + 5754 ns per destination for 64 destinations it took 11943 ns + 5881 ns per destination for 128 destinations it took 11943 ns + 5897 ns per destination for 256 destinations OK [ 130.152545] bus1: loading out-of-tree module taints kernel. [ 130.152619] bus1: module verification failed: signature and/or required key missing - tainting kernel [ 130.154897] bus1: run selftests.. [ 130.156081] bus1: initialized [ 130.167769] =============================== [ 130.167965] [ INFO: suspicious RCU usage. ] [ 130.168157] 4.8.0-0.rc4.git4.1.fc26.x86_64 #1 Tainted: G OE [ 130.168467] ------------------------------- [ 130.168734] ./include/linux/cgroup.h:435 suspicious rcu_dereference_check() usage! [ 130.168945] other info that might help us debug this: [ 130.169704] rcu_scheduler_active = 1, debug_locks = 0 [ 130.170209] 1 lock held by bus1-test/1475: [ 130.170401] #0: (bus1.active){++++.+}, at: [] bus1_fop_ioctl+0x57/0x1d0 [bus1] [ 130.170868] stack backtrace: [ 130.171333] CPU: 0 PID: 1475 Comm: bus1-test Tainted: G OE 4.8.0-0.rc4.git4.1.fc26.x86_64 #1 [ 130.171799] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/02/2015 [ 130.172315] 0000000000000286 0000000075e42c1e ffff9a42cc43fa70 ffffffff94468a63 [ 130.172565] ffff9a42dc8c3240 0000000000000001 ffff9a42cc43faa0 ffffffff9410ca37 [ 130.172811] ffff9a42cc43fb00 ffff9a42dc8c3240 ffff9a42cc43fb50 ffff9a42dcb35600 [ 130.173062] Call Trace: [ 130.173391] [] dump_stack+0x86/0xc3 [ 130.173641] [] lockdep_rcu_suspicious+0xd7/0x110 [ 130.173896] [] bus1_transaction_new_from_user+0x2d0/0x350 [bus1] [ 130.174158] [] bus1_peer_ioctl_send+0xde/0x1e0 [bus1] [ 130.174510] [] ? __lock_acquire+0x346/0x1290 [ 130.174782] [] ? sched_clock+0x9/0x10 [ 130.175053] [] ? sched_clock+0x9/0x10 [ 130.175320] [] ? sched_clock_cpu+0xa7/0xc0 [ 130.175656] [] ? avc_has_extended_perms+0x1ee/0x600 [ 130.176024] [] ? avc_has_extended_perms+0x3b/0x600 [ 130.176314] [] ? __lock_acquire+0x346/0x1290 [ 130.176587] [] ? avc_has_extended_perms+0x20d/0x600 [ 130.176945] [] ? vma_set_page_prot+0x3f/0x70 [ 130.177227] [] bus1_peer_ioctl+0x62c/0xbe0 [bus1] [ 130.177551] [] ? bus1_fop_ioctl+0x57/0x1d0 [bus1] [ 130.177900] [] bus1_fop_ioctl+0x65/0x1d0 [bus1] [ 130.178393] [] do_vfs_ioctl+0xa3/0x720 [ 130.178672] [] SyS_ioctl+0x79/0x90 [ 130.178947] [] entry_SYSCALL_64_fastpath+0x1f/0xbd [e@dock bus1]$ uname -a Linux dock 4.8.0-0.rc4.git4.1.fc26.x86_64 #1 SMP Fri Sep 2 18:44:36 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux