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>] [day] [month] [year] [list]
Date:   Fri, 5 Jul 2019 16:14:03 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     David Sterba <dsterba@...e.com>
Cc:     Nikolay Borisov <nborisov@...e.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [btrfs] eb13e6c23d: BUG:kernel_hang_in_test_stage

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

commit: eb13e6c23d84e49758a297ca79fd987fb67c0a10 ("btrfs: switch extent_buffer blocking_writers from atomic to int")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git master

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: btrfs
	test: generic-slow2

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


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

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


+----------------------------------------------------+------------+------------+
|                                                    | 06acfbd1b4 | eb13e6c23d |
+----------------------------------------------------+------------+------------+
| boot_successes                                     | 0          | 0          |
| boot_failures                                      | 19         | 24         |
| BUG:kernel_reboot-without-warning_in_test_stage    | 19         | 12         |
| BUG:kernel_hang_in_boot-around-mounting-root_stage | 0          | 1          |
| BUG:kernel_hang_in_test_stage                      | 0          | 11         |
+----------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


         Stopping System Logging Service...
         Stopping Permit User Sessions...
         Stopping /etc/rc.local Compatibility...
         Stopping LSB: Execute the kexec -e command to reboot system...
         Unmounting /inn/result...
BUG: kernel hang in test stage

Elapsed time: 4240

qemu-img create -f qcow2 disk-vm-snb-2G-415-0 256G
qemu-img create -f qcow2 disk-vm-snb-2G-415-1 256G


To reproduce:

        # build kernel
	cd linux
	cp config-5.2.0-rc7-00058-geb13e6c .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


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



Thanks,
Rong Chen


View attachment "config-5.2.0-rc7-00058-geb13e6c" of type "text/plain" (196397 bytes)

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

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

View attachment "xfstests" of type "text/plain" (796 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ