lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 8 Apr 2019 17:10:29 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Firo Yang <fyang@...e.com>
Cc:     sathya.perla@...adcom.com, ajit.khaparde@...adcom.com,
        sriharsha.basavapatna@...adcom.com, somnath.kotur@...adcom.com,
        davem@...emloft.net, netdev@...r.kernel.org, firogm@...il.com,
        Firo Yang <fyang@...e.com>, lkp@...org
Subject: [be2net] b36ed347bf: INFO:rcu_tasks_detected_stalls_on_tasks

FYI, we noticed the following commit (built with gcc-7):

commit: b36ed347bf1c566511a8f88f87f1307a4de1469f ("[PATCH 1/1] be2net: Detach interface for avoiding a system crash")
url: https://github.com/0day-ci/linux/commits/Firo-Yang/be2net-Detach-interface-for-avoiding-a-system-crash/20190402-052951


in testcase: rcutorture
with following parameters:

	runtime: 300s
	test: cpuhotplug
	torture_type: tasks

test-description: rcutorture is rcutorture kernel module load/unload test.
test-url: https://www.kernel.org/doc/Documentation/RCU/torture.txt


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-------------------------------------------------+------------+------------+
|                                                 | f5d547676c | b36ed347bf |
+-------------------------------------------------+------------+------------+
| boot_successes                                  | 4          | 21         |
| boot_failures                                   | 7          | 9          |
| BUG:kernel_reboot-without-warning_in_test_stage | 7          | 7          |
| INFO:rcu_tasks_detected_stalls_on_tasks         | 0          | 2          |
+-------------------------------------------------+------------+------------+



[ 2022.029328] INFO: rcu_tasks detected stalls on tasks:
[ 2022.342295] 00000000123024e4: .. nvcsw: 6/6 holdout: 1 idle_cpu: -1/1
[ 2022.534280] sed             R  running task        0   329    307 0x00000000
[ 2022.737076] Call Trace:
[ 2022.884600]  ? __schedule+0x25f/0x860
[ 2023.021390]  schedule+0x33/0x80
[ 2023.149426]  exit_to_usermode_loop+0x5c/0xf0
[ 2023.307290]  prepare_exit_to_usermode+0x84/0xb0
[ 2023.511363]  retint_user+0x8/0x8
[ 2023.715338] RIP: 0033:0x55a227cb4fe2
[ 2023.886265] Code: 48 8b 55 00 31 ff 31 f6 48 39 d6 7c 4a 48 3b 3b 0f 8d c2 00 00 00 48 89 f8 48 c1 e0 04 49 03 45 00 45 89 e0 44 23 40 08 74 24 <49> 8b 4f 08 48 8b 00 48 89 ca 48 83 c1 01 48 c1 e2 04 49 03 17 48
[ 2024.222164] RSP: 002b:00007ffcf8d916e0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
[ 2024.398263] RAX: 000055a22c0c62c0 RBX: 00007fc595946be8 RCX: 0000000000000684
[ 2024.570075] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000680
[ 2024.783455] RBP: 00007ffcf8d917b8 R08: 00000000000001ff R09: 000000000000203a
[ 2025.021176] R10: 0000000000000001 R11: 000055a22c0dffe0 R12: 00000000ffffffff
[ 2025.259300] R13: 00007fc595946be0 R14: 00007ffcf8d917b0 R15: 00007ffcf8d91790
[ 2033.015333] 0000000037dcff12: .. nvcsw: 4/4 holdout: 1 idle_cpu: -1/1
[ 2033.563680] sed             R  running task        0   327    307 0x00000000
[ 2033.794638] Call Trace:
[ 2033.994298]  ? __schedule+0x25f/0x860
[ 2034.206324]  schedule+0x33/0x80
[ 2034.337197]  exit_to_usermode_loop+0x5c/0xf0
[ 2034.548550]  prepare_exit_to_usermode+0x84/0xb0
[ 2034.837354]  retint_user+0x8/0x8
[ 2035.083577] RIP: 0033:0x7fc9b472011e
[ 2035.346197] Code: 89 d9 4d 89 d8 49 83 e0 0f 4c 29 c1 4d 29 c1 4c 29 c2 48 3b 15 7b a3 31 00 0f 87 af 00 00 00 0f 10 01 0f 10 49 f0 0f 10 51 e0 <0f> 10 59 d0 48 83 e9 40 48 83 ea 40 41 0f 29 01 41 0f 29 49 f0 41
[ 2035.887200] RSP: 002b:00007ffc0f72b608 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
[ 2036.208187] RAX: 00005620ea0558d0 RBX: 00005620e8c91de0 RCX: 00005620e8c94cd0
[ 2036.512548] RDX: 0000000000002040 RSI: 00005620e8c92ca0 RDI: 00005620ea0558d0
[ 2037.014195] RBP: 00005620e8824a60 R08: 0000000000000000 R09: 00005620ea057900
[ 2037.403392] R10: 0000000000000001 R11: 00005620ea05c780 R12: 0000000000000460
[ 2037.705277] R13: 00007ffc0f72b680 R14: 00007ffc0f72b6a0 R15: 0000000000000376
[ 2381.632180] sysrq: Emergency Sync
[ 2381.875583] Emergency Sync complete
[ 2382.728207] sysrq: Resetting

Elapsed time: 1620


To reproduce:

        # build kernel
	cd linux
	cp config-5.1.0-rc2-00567-gb36ed34 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.1.0-rc2-00567-gb36ed34" of type "text/plain" (193286 bytes)

View attachment "job-script" of type "text/plain" (4835 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (19984 bytes)

View attachment "rcutorture" of type "text/plain" (161 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ