[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160622013335.GB9835@yexl-desktop>
Date: Wed, 22 Jun 2016 09:33:35 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Wang Shilong <wshilong@....com>
Cc: 0day robot <fengguang.wu@...el.com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [jbd2] 41f6316ed3: kernel BUG at fs/ext4/super.c:371!
FYI, we noticed the following commit:
https://github.com/0day-ci/linux Wang-Shilong/jbd2-wake-up-j_wait_done_commit-before-commit-callback/20160616-115406
commit 41f6316ed374dba6f9693d917c1815019f075bdf ("jbd2: wake up j_wait_done_commit before commit callback")
in testcase: ext4-frags
with following parameters: disk=1HDD
on test machine: vm-vp-1G: 2 threads qemu-system-x86_64 -enable-kvm -cpu Nehalem with 1G memory
caused below changes:
+----------------------------------------------------------------------------------------+----------+------------+
| | v4.7-rc3 | 41f6316ed3 |
+----------------------------------------------------------------------------------------+----------+------------+
| boot_successes | 666 | 10 |
| boot_failures | 89 | 4 |
| invoked_oom-killer:gfp_mask=0x | 65 | |
| Mem-Info | 79 | |
| Out_of_memory:Kill_process | 5 | |
| backtrace:_do_fork | 6 | |
| backtrace:SyS_clone | 5 | |
| INFO:suspicious_RCU_usage | 1 | |
| backtrace:rcu_torture_writer | 1 | |
| backtrace:vfs_write | 59 | |
| backtrace:SyS_write | 59 | |
| backtrace:pgd_alloc | 1 | |
| backtrace:mm_init | 1 | |
| BUG:kernel_test_crashed | 5 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 56 | |
| backtrace:populate_rootfs | 56 | |
| backtrace:kernel_init_freeable | 56 | |
| BUG:kernel_early-boot_hang | 3 | |
| page_allocation_failure:order:#,mode:#(GFP_NOWAIT|__GFP_HIGH|__GFP_COMP|__GFP_NOTRACK) | 14 | |
| warn_alloc_failed+0x | 14 | |
| backtrace:btrfs_submit_helper | 11 | |
| backtrace:blk_mq_run_work_fn | 4 | |
| backtrace:vfs_read | 2 | |
| backtrace:SyS_read | 2 | |
| INFO:task_blocked_for_more_than#seconds | 1 | |
| RIP:__default_send_IPI_dest_field | 1 | |
| RIP:trace_hardirqs_on_caller | 1 | |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 1 | |
| backtrace:do_utimes | 1 | |
| backtrace:SyS_utimensat | 1 | |
| backtrace:watchdog | 1 | |
| backtrace:ep_poll | 1 | |
| backtrace:SyS_epoll_wait | 1 | |
| backtrace:wb_workfn | 1 | |
| backtrace:do_mlock | 1 | |
| backtrace:SyS_mlock | 1 | |
| kernel_BUG_at_fs/ext4/super.c | 0 | 4 |
| invalid_opcode:#[##]SMP | 0 | 4 |
| RIP:ext4_journal_commit_callback | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 |
| backtrace:kjournald2 | 0 | 4 |
+----------------------------------------------------------------------------------------+----------+------------+
[ 126.781601] EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities
[ 128.686809] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[ 128.925399] ------------[ cut here ]------------
[ 128.927927] kernel BUG at fs/ext4/super.c:371!
[ 128.930723] invalid opcode: 0000 [#1] SMP
[ 128.932964] Modules linked in: snd_pcsp
[ 128.935300] CPU: 0 PID: 5176 Comm: jbd2/vda-8 Not tainted 4.7.0-rc3-00001-g41f6316 #195
[ 128.939334] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 128.943491] task: ffff88003c86d340 ti: ffff88003ac48000 task.ti: ffff88003ac48000
[ 128.947079] RIP: 0010:[<ffffffff812aa760>] [<ffffffff812aa760>] ext4_journal_commit_callback+0x2e/0xa2
[ 128.951298] RSP: 0018:ffff88003ac4bc00 EFLAGS: 00010246
[ 128.953524] RAX: ffffffff812aa732 RBX: 0000000000000000 RCX: 0000000000000000
[ 128.956014] RDX: 0000000100000003 RSI: ffff8800392f4040 RDI: ffff880038ae67e8
[ 128.958507] RBP: ffff88003ac4bc30 R08: 0000002fb2cf811c R09: 0000000000000001
[ 128.961025] R10: ffff88003ac4bad8 R11: 0000000000000003 R12: ffff880038ae0008
[ 128.963490] R13: 0000000000000000 R14: ffff880038ae33f8 R15: ffff8800392f4040
[ 128.965834] FS: 0000000000000000(0000) GS:ffff880036a00000(0000) knlGS:0000000000000000
[ 128.969102] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 128.971189] CR2: 00007f4c56b09ad0 CR3: 0000000038b8e000 CR4: 00000000000006f0
[ 128.973487] Stack:
[ 128.974686] 0000000100000003 0000000000000000 0000000000000002 000000000fc00000
[ 128.978100] ffff880038ae67e8 ffff8800392f4040 ffff88003ac4bdc0 ffffffff812d885d
[ 128.981588] 0000000000000000 ffff88003c86dba0 0000000000000000 0000001dc629831a
[ 128.984908] Call Trace:
[ 128.986118] [<ffffffff812d885d>] jbd2_journal_commit_transaction+0x1bb7/0x1f03
[ 128.988879] [<ffffffff81ccc3c5>] ? _raw_spin_unlock_irqrestore+0x48/0x5e
[ 128.990894] [<ffffffff812dd2ef>] kjournald2+0xc5/0x26c
[ 128.992651] [<ffffffff812dd2ef>] ? kjournald2+0xc5/0x26c
[ 128.994316] [<ffffffff810e09be>] ? wake_up_bit+0x2a/0x2a
[ 128.995988] [<ffffffff812dd22a>] ? commit_timeout+0x10/0x10
[ 128.997694] [<ffffffff810c0064>] kthread+0xfb/0x103
[ 128.999270] [<ffffffff81cccdef>] ret_from_fork+0x1f/0x40
[ 129.000953] [<ffffffff810bff69>] ? kthread_create_on_node+0x1ca/0x1ca
[ 129.002823] Code: 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 52 4c 8b 2f 4c 8b b7 48 08 00 00 41 83 e5 02 83 7e 0c 07 4d 8b a6 e8 08 00 00 75 02 <0f> 0b 49 81 c4 78 04 00 00 49 89 f7 4c 89 e7 e8 ec 17 a2 00 49
[ 129.014232] RIP [<ffffffff812aa760>] ext4_journal_commit_callback+0x2e/0xa2
[ 129.016077] RSP <ffff88003ac4bc00>
[ 129.017345] ---[ end trace 2d0f182ce31e0934 ]---
[ 129.018820] Kernel panic - not syncing: Fatal exception
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Nehalem -kernel /pkg/linux/x86_64-nfsroot/gcc-6/41f6316ed374dba6f9693d917c1815019f075bdf/vmlinuz-4.7.0-rc3-00001-g41f6316 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-1G-6/bisect_ext4-frags-1HDD-debian-x86_64-2015-02-07.cgz-x86_64-nfsroot-41f6316ed374dba6f9693d917c1815019f075bdf-20160617-84664-r9ff8r-0.yaml~ ARCH=x86_64 kconfig=x86_64-nfsroot branch=linux-devel/devel-hourly-2016061707 commit=41f6316ed374dba6f9693d917c1815019f075bdf BOOT_IMAGE=/pkg/linux/x86_64-nfsroot/gcc-6/41f6316ed374dba6f9693d917c1815019f075bdf/vmlinuz-4.7.0-rc3-00001-g41f6316 max_uptime=3600 RESULT_ROOT=/result/ext4-frags/1HDD/vm-vp-1G/debian-x86_64-2015-02-07.cgz/x86_64-nfsroot/gcc-6/41f6316ed374dba6f9693d917c1815019f075bdf/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-vp-1G-6::dhcp' -initrd /fs/sdh1/initrd-vm-vp-1G-6 -m 1024 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23105-:22 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sdh1/disk0-vm-vp-1G-6,media=disk,if=virtio -drive file=/fs/sdh1/disk1-vm-vp-1G-6,media=disk,if=virtio -drive file=/fs/sdh1/disk2-vm-vp-1G-6,media=disk,if=virtio -drive file=/fs/sdh1/disk3-vm-vp-1G-6,media=disk,if=virtio -drive file=/fs/sdh1/disk4-vm-vp-1G-6,media=disk,if=virtio -drive file=/fs/sdh1/disk5-vm-vp-1G-6,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-vp-1G-6 -serial file:/dev/shm/kboot/serial-vm-vp-1G-6 -daemonize -display none -monitor null
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
View attachment "config-4.7.0-rc3-00001-g41f6316" of type "text/plain" (113863 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (16412 bytes)
View attachment "job.yaml" of type "text/plain" (3117 bytes)
Powered by blists - more mailing lists