------- Comment From [email protected] 2016-03-08 06:11 EDT-------
>From console output -
[14104.304001] ------------[ cut here ]------------
[14104.304213] WARNING: at /build/linux-jJaVgZ/linux-4.2.0/block/blk-mq.c:758
[14104.304351] Modules linked in: lz4_compress rpcsec_gss_krb5 auth_rpcgss 
nfsv4 nfs lockd grace fscache pseries_rng rtc_generic dm_multipath scsi_dh 
sunrpc autofs4 btrfs xor raid6_pq [last unloaded: zram]
[14104.305271] CPU: 12 PID: 2861 Comm: kworker/12:1H Not tainted 
4.2.0-30-generic #36-Ubuntu
[14104.305544] Workqueue: kblockd blk_mq_run_work_fn
[14104.305699] task: c00000022ef6e590 ti: c000000231df0000 task.ti: 
c000000231df0000
[14104.305876] NIP: c000000000518b98 LR: c0000000000d9420 CTR: c0000000005194b0
[14104.306040] REGS: c000000231df38d0 TRAP: 0700   Not tainted  
(4.2.0-30-generic)
[14104.306229] MSR: 8000000100029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 24df2824  XER: 
00000000
[14104.306651] CFAR: c0000000005194e8 SOFTE: 1
GPR00: c0000000000d9420 c000000231df3b50 c00000000151af00 c0000002317eac00
GPR04: 0000000000000320 c00000023f51cbd8 0000000000000000 0000000000000001
GPR08: c0000002317ead88 0000000000000001 0000010101010fff 0000000000000000
GPR12: 0000000000002200 c000000007b47200 c0000000000e2248 c000000004304480
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000001 0000000000000000 c000000231df3bc8 c00000000149f800
GPR24: c0000002317dce40 c0000000fc022430 0000000000000000 c00000023f51cf00
GPR28: c000000231df3bd8 c00000023f51cb00 c0000002317eac00 c0000002317eac88
[14104.308904] NIP [c000000000518b98] __blk_mq_run_hw_queue+0x98/0x4c0
[14104.309049] LR [c0000000000d9420] process_one_work+0x1e0/0x560
[14104.309168] Call Trace:
[14104.309332] [c000000231df3b50] [c000000001578190] cur_cpu_spec+0x0/0x8 
(unreliable)
[14104.309507] [c000000231df3c50] [c0000000000d9420] 
process_one_work+0x1e0/0x560
[14104.309708] [c000000231df3ce0] [c0000000000d9930] worker_thread+0x190/0x660
[14104.309903] [c000000231df3d80] [c0000000000e2350] kthread+0x110/0x130
[14104.310056] [c000000231df3e30] [c000000000009538] 
ret_from_kernel_thread+0x5c/0xa4
[14104.310228] Instruction dump:
[14104.310304] 391e0188 eb1e0298 fb810088 fac10078 a12d0008 792ad182 792906a0 
794a1f24
[14104.310566] 7d48502a 7d494c36 792907e0 69290001 <0b090000> e93e0080 792a07e1 
408202c8
[14104.310876] ---[ end trace 865a68f8e2647847 ]---

>From the qemu logs -

2016-03-04T08:08:19.709047Z qemu-system-ppc64: unable to map backing store for 
hugepages: Cannot allocate memory
error: kvm run failed Bad address
NIP c000000000062824   LR c0000000008efac0 CTR 00000000000003d2 XER 
0000000020000000 CPU#0
MSR 8000000000001033 HID0 0000000000000000  HF 0000000000000000 idx 1
TB 00000000 00000000 DECR 00000000
GPR00 00000000000003d2 c00000000151bdc0 c00000000151ae00 c00000023fff0b40
GPR04 0000000000000000 000000000000003c c00000023fff0b40 c0000000017b2f90
GPR08 000000023fff0b40 c000000000000000 c0000000017b2f30 0000000240000000
GPR12 0000000000002200 c00000000fb40000 000000007dd13d30 0000000000000060
GPR16 c000000000d03c58 c000000000cdb9b8 c000000000cdbc20 c000000000cdbc58
GPR20 c000000000cdbc80 c000000000cdcdc8 c000000000cdbc68 c000000000cdcd88
GPR24 c000000000cdbc08 0000000000010000 c000000001810408 c0000000014bd458
GPR28 c00000023fff0b40 c00000000151be20 c0000000043b0000 000000000000f4bc
CR 44022420  [ G  G  -  E  E  G  E  -  ]             RES ffffffffffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 0000000000000000
SRR0 c000000000008c4c  SRR1 9000000000001033    PVR 00000000004b0201 VRSAVE 
0000000000000000
SPRG0 0000000000000000 SPRG1 c00000000fb40000  SPRG2 0000000000000000  SPRG3 
0000000000000000
SPRG4 0000000000000000 SPRG5 0000000000000000  SPRG6 0000000000000000  SPRG7 
0000000000000000
CFAR 0000000000000000
SDR1 0000000000000009   DAR 0000000000000000  DSISR 0000000000000000
qemu: terminating on signal 15 from pid 7007
2016-03-04 08:22:42.210+0000: shutting down
2016-03-04 09:36:29.509+0000: starting up libvirt version: 1.2.16, package: 
1.el7_1.pkvm3_1_0.5600.0 (Koji, 2016-03-01-14:17:37, bldple3), qemu version: 
2.3.0
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin 
QEMU_AUDIO_DRV=none /usr/bin/qemu-system-ppc64 -name abag3 -S -machine 
pseries-2.2,accel=kvm,usb=off -cpu host,compat=power8 -m 9216 -mem-prealloc 
-mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off -smp 
48,sockets=2,cores=3,threads=8 -uuid 334d123c-d734-483d-8385-eb8b372135ca 
-nographic -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/abag3.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
-boot order=dcn,menu=on,strict=on -device pci-ohci,id=usb,bus=pci.0,addr=0x2 
-device spapr-vscsi,id=scsi0,reg=0x2000 -drive 
file=/dev/disk/by-id/dm-uuid-part3-mpath-1IBM_IPR-0_5EC08100000006A0,if=none,id=drive-virtio-disk0,format=raw
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0
 -drive 
file=/var/lib/libvirt/images/abag3_io1,if=none,id=drive-virtio-disk1,format=raw 
-device virtio-blk-pci,scsi=off,bus=
 pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -drive 
file=/var/lib/libvirt/images/abag3_io2,if=none,id=drive-virtio-disk2,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,id=virtio-disk2
 -drive 
file=/home/ubuntu-15.10-server-ppc64el.iso,if=none,id=drive-scsi0-0-0-3,readonly=on,format=raw
 -device 
scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=3,drive=drive-scsi0-0-0-3,id=scsi0-0-0-3
 -netdev tap,fd=36,id=hostnet0,vhost=on,vhostfd=38 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:c3:a0:b0,bus=pci.0,addr=0x1 
-chardev pty,id=charserial0 -device 
spapr-vty,chardev=charserial0,reg=0x30000000 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on
char device redirected to /dev/pts/8 (label charserial0)
2016-03-04T09:36:29.982996Z qemu-system-ppc64: unable to map backing store for 
hugepages: Cannot allocate memory
error: kvm run failed Bad address
NIP c000000000062824   LR c0000000008efac0 CTR 00000000000003d2 XER 
0000000020000000 CPU#0
MSR 8000000000001033 HID0 0000000000000000  HF 0000000000000000 idx 1
TB 00000000 00000000 DECR 00000000
GPR00 00000000000003d2 c00000000151bdc0 c00000000151ae00 c00000023fff0b40
GPR04 0000000000000000 000000000000003c c00000023fff0b40 c0000000017b2f90
GPR08 000000023fff0b40 c000000000000000 c0000000017b2f30 0000000240000000
GPR12 0000000000002200 c00000000fb40000 000000007dd13d30 0000000000000060
GPR16 c000000000d03c58 c000000000cdb9b8 c000000000cdbc20 c000000000cdbc58
GPR20 c000000000cdbc80 c000000000cdcdc8 c000000000cdbc68 c000000000cdcd88
GPR24 c000000000cdbc08 0000000000010000 c000000001810408 c0000000014bd458
GPR28 c00000023fff0b40 c00000000151be20 c0000000043b0000 000000000000f4bc
CR 44022420  [ G  G  -  E  E  G  E  -  ]             RES ffffffffffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 0000000000000000
SRR0 c000000000008c4c  SRR1 9000000000001033    PVR 00000000004b0201 VRSAVE 
0000000000000000
SPRG0 0000000000000000 SPRG1 c00000000fb40000  SPRG2 0000000000000000  SPRG3 
0000000000000000
SPRG4 0000000000000000 SPRG5 0000000000000000  SPRG6 0000000000000000  SPRG7 
0000000000000000
CFAR 0000000000000000
SDR1 0000000000000009   DAR 0000000000000000  DSISR 0000000000000000
qemu: terminating on signal 15 from pid 7007
2016-03-04 09:38:24.779+0000: shutting down

comes from:

WARN_ON(!cpumask_test_cpu(raw_smp_processor_id(), hctx->cpumask));

which was fixed with the -

commit id       1356aae08338f1c19ce1c67bf8c543a267688fc3

which reads -

blk-mq: avoid setting hctx->tags->cpumask before allocation
When unmapped hw queue is remapped after CPU topology is changed,
hctx->tags->cpumask has to be set after hctx->tags is setup in
blk_mq_map_swqueue(), otherwise it causes null pointer dereference.

Fixes: f26cdc8536 ("blk-mq: Shared tag enhancements")
Signed-off-by: Akinobu Mita <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Ming Lei <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>

Link to the patch ->

https://git.kernel.org/cgit/linux/kernel/git/next/linux-
next.git/commit/?id=1356aae08338f1c19ce1c67bf8c543a267688fc3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1543480

Title:
  ISST-KVM:Ubuntu1510:abakvm: abag3 guest hung while running stress
  test.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1543480/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to