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-next>] [day] [month] [year] [list]
Message-ID: <20160714025320.GB16221@yexl-desktop>
Date:	Thu, 14 Jul 2016 10:53:20 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc:	Ingo Molnar <mingo@...nel.org>,
	Anna-Maria Gleixner <anna-maria@...utronix.de>,
	Andy Lutomirski <luto@...nel.org>,
	Borislav Petkov <bp@...e.de>,
	Denys Vlasenko <dvlasenk@...hat.com>,
	Jan Beulich <JBeulich@...e.com>,
	Jiang Liu <jiang.liu@...ux.intel.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Viresh Kumar <viresh.kumar@...aro.org>,
	LKML <linux-kernel@...r.kernel.org>,
	"H. Peter Anvin" <hpa@...or.com>, tipbuild@...or.com, lkp@...org
Subject: [lkp] [x86/hpet]  a28b41ab00: RIP: 0010:[<ffffffff84884ef2>]
 [<ffffffff84884ef2>] __lock_acquire+0xce/0x649


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.smp/hotplug
commit a28b41ab00dc93b9b16deda9d9b4b26601444f6d ("x86/hpet: Convert to hotplug state machine")

in testcase: boot

on test machine: 2 threads qemu-system-x86_64 -enable-kvm -cpu Nehalem with 320M memory

caused below changes:


+------------------------------------------------------------+------------+------------+
|                                                            | e6c408103b | a28b41ab00 |
+------------------------------------------------------------+------------+------------+
| boot_successes                                             | 0          | 0          |
| boot_failures                                              | 16         | 16         |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 16         | 2          |
| genirq:Flags_mismatch_irq                                  | 3          |            |
| genirq:Flags_mismatch_irq##(serial)vs.#(gold               | 1          |            |
| genirq:Flags_mismatch_irq##(serial)vs                      | 1          |            |
| RIP:__lock_acquire                                         | 0          | 14         |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt      | 0          | 5          |
| backtrace:populate_rootfs                                  | 0          | 14         |
| backtrace:kernel_init_freeable                             | 0          | 14         |
| Kernel_panic-not_syncing:Fatal_exception                   | 0          | 9          |
| backtrace:vfs_write                                        | 0          | 12         |
| backtrace:SyS_write                                        | 0          | 12         |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfis            | 0          | 1          |
+------------------------------------------------------------+------------+------------+



[    1.659021] Unpacking initramfs...
[    1.696928] workqueue: round-robin CPU selection forced, expect performance impact
[    1.702995] general protection fault: 0000 [#1]
[    1.704143] Modules linked in:
[    1.704950] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc7-00193-ga28b41a #1
[    1.709158] task: ffff880012052000 ti: ffff880012054000 task.ti: ffff880012054000
[    1.713142] RIP: 0010:[<ffffffff84884ef2>]  [<ffffffff84884ef2>] __lock_acquire+0xce/0x649
[    1.718980] RSP: 0000:ffff880012057958  EFLAGS: 00010086
[    1.720283] RAX: 8d009545e5358b48 RBX: ffff880012052000 RCX: 0000000000000000
[    1.723761] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8482509c
[    1.732066] RBP: ffff880012057990 R08: 0000000000000001 R09: 0000000000000001
[    1.735294] R10: 0000000000000000 R11: 000000000000024c R12: ffffffff8482509c
[    1.742172] R13: ffffffff8482509c R14: 0000000000000001 R15: 0000000000000000
[    1.745787] FS:  0000000000000000(0000) GS:ffffffff85022000(0000) knlGS:0000000000000000
[    1.758843] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.760295] CR2: 00000000ffffffff CR3: 000000000500c000 CR4: 00000000000006f0
[    1.762067] Stack:
[    1.762570]  0000000000000001 ffff880000000000 0000000000000046 ffff880012052000
[    1.765942]  ffffffff8482509c 0000000000000000 0000000000000000 ffff8800120579f0
[    1.767859]  ffffffff84885938 0000000000000000 ffffffff84876eac 0000000000000000
[    1.771214] Call Trace:
[    1.775343]  [<ffffffff8482509c>] ? hpet_disable+0x6c/0xaf
[    1.777641]  [<ffffffff84885938>] lock_acquire+0x7e/0xa3
[    1.778951]  [<ffffffff84876eac>] ? try_to_wake_up+0x2c/0x166
[    1.785446]  [<ffffffff84825084>] ? hpet_disable+0x54/0xaf
[    1.786934]  [<ffffffff84825084>] ? hpet_disable+0x54/0xaf
[    1.789200]  [<ffffffff84bb6b31>] _raw_spin_lock_irqsave+0x3d/0x4f
[    1.790751]  [<ffffffff84876eac>] ? try_to_wake_up+0x2c/0x166
[    1.795845]  [<ffffffff84824b44>] ? hpet_msi_set_periodic+0x11/0x11
[    1.804788]  [<ffffffff84876eac>] try_to_wake_up+0x2c/0x166
[    1.806206]  [<ffffffff848c8725>] ? __add_to_page_cache_locked+0x1e2/0x222
[    1.807936]  [<ffffffff84876ff6>] wake_up_process+0x10/0x12
[    1.809329]  [<ffffffff8485e132>] wakeup_softirqd+0x1d/0x1f
[    1.812342]  [<ffffffff8485e824>] raise_softirq_irqoff+0x27/0x29
[    1.813837]  [<ffffffff8485e92d>] raise_softirq+0x23/0x49
[    1.815192]  [<ffffffff84895d6e>] rcu_sched_qs+0x80/0xa7
[    1.822906]  [<ffffffff84bb2e01>] __schedule+0x11b/0x51a
[    1.824266]  [<ffffffff84bb3328>] preempt_schedule_common+0x1d/0x31
[    1.826627]  [<ffffffff84bb334f>] _cond_resched+0x13/0x1f
[    1.832048]  [<ffffffff848c9502>] generic_perform_write+0x100/0x19d
[    1.835279]  [<ffffffff848ca3cf>] __generic_file_write_iter+0xfd/0x164
[    1.845691]  [<ffffffff848ca47e>] generic_file_write_iter+0x48/0x92
[    1.847286]  [<ffffffff8490867e>] __vfs_write+0x77/0xa0
[    1.848452]  [<ffffffff84909064>] vfs_write+0xa2/0xc8
[    1.849698]  [<ffffffff850a25c2>] ? initrd_load+0x3f/0x3f
[    1.852370]  [<ffffffff84909c50>] SyS_write+0x4b/0x7b
[    1.853642]  [<ffffffff850a294e>] xwrite+0x26/0x5c
[    1.855805]  [<ffffffff850a2a0d>] do_copy+0x89/0xb6
[    1.860184]  [<ffffffff850a272c>] write_buffer+0x23/0x34
[    1.861541]  [<ffffffff850a27ae>] flush_buffer+0x71/0x8e
[    1.862916]  [<ffffffff850be95f>] __gunzip+0x266/0x306
[    1.873568]  [<ffffffff850be6ef>] ? bunzip2+0x3c7/0x3c7
[    1.878009]  [<ffffffff850a273d>] ? write_buffer+0x34/0x34
[    1.881612]  [<ffffffff850a1703>] ? do_early_param+0x8f/0x8f
[    1.883092]  [<ffffffff850bea10>] gunzip+0x11/0x13
[    1.884173]  [<ffffffff850a25c2>] ? initrd_load+0x3f/0x3f
[    1.892656]  [<ffffffff850a2eef>] unpack_to_rootfs+0x12d/0x236
[    1.898923]  [<ffffffff850a25c2>] ? initrd_load+0x3f/0x3f
[    1.900131]  [<ffffffff850a2ff8>] ? unpack_to_rootfs+0x236/0x236
[    1.901469]  [<ffffffff850a304f>] populate_rootfs+0x57/0xa6
[    1.902717]  [<ffffffff8480041b>] do_one_initcall+0x89/0x116
[    1.904536]  [<ffffffff850a1703>] ? do_early_param+0x8f/0x8f
[    1.913652]  [<ffffffff850a1ff0>] kernel_init_freeable+0x113/0x1a2
[    1.915210]  [<ffffffff84bad9a0>] kernel_init+0x9/0xe6
[    1.916364]  [<ffffffff84bb6e2f>] ret_from_fork+0x1f/0x40
[    1.917570]  [<ffffffff84bad997>] ? rest_init+0x12e/0x12e
[    1.918778] Code: 44 89 f8 49 8b 44 c4 08 48 85 c0 75 1e 31 d2 44 89 fe 4c 89 e7 44 89 4d d4 e8 a0 cf ff ff 48 85 c0 44 8b 4d d4 0f 84 f9 04 00 00 <ff> 80 98 01 00 00 83 3d 71 cb 54 01 00 44 8b ab f0 05 00 00 0f 
[    1.929485] RIP  [<ffffffff84884ef2>] __lock_acquire+0xce/0x649
[    1.933687]  RSP <ffff880012057958>
[    1.934556] ---[ end trace 6dd969d28917cdd4 ]---
[    1.945686] 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-randconfig-s3-07121850/gcc-6/a28b41ab00dc93b9b16deda9d9b4b26601444f6d/vmlinuz-4.7.0-rc7-00193-ga28b41a -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-intel12-yocto-x86_64-1/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-randconfig-s3-07121850-a28b41ab00dc93b9b16deda9d9b4b26601444f6d-20160714-59086-9z8290-1.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s3-07121850 branch=linux-devel/devel-spot-201607121801 commit=a28b41ab00dc93b9b16deda9d9b4b26601444f6d BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s3-07121850/gcc-6/a28b41ab00dc93b9b16deda9d9b4b26601444f6d/vmlinuz-4.7.0-rc7-00193-ga28b41a max_uptime=600 RESULT_ROOT=/result/boot/1/vm-intel12-yocto-x86_64/yocto-minimal-x86_64.cgz/x86_64-randconfig-s3-07121850/gcc-6/a28b41ab00dc93b9b16deda9d9b4b26601444f6d/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-intel12-yocto-x86_64-1::dhcp drbd.minor_count=8'  -initrd /fs/KVM/initrd-vm-intel12-yocto-x86_64-1 -m 320 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/KVM/disk0-vm-intel12-yocto-x86_64-1,media=disk,if=virtio -drive file=/fs/KVM/disk1-vm-intel12-yocto-x86_64-1,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-intel12-yocto-x86_64-1 -serial file:/dev/shm/kboot/serial-vm-intel12-yocto-x86_64-1 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc7-00193-ga28b41a" of type "text/plain" (96358 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (7156 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ