{"action":"created","issue":{"url":"https://api.github.com/repos/open-power-host-os/linux/issues/17","repository_url":"https://api.github.com/repos/open-power-host-os/linux","labels_url":"https://api.github.com/repos/open-power-host-os/linux/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/open-power-host-os/linux/issues/17/comments","events_url":"https://api.github.com/repos/open-power-host-os/linux/issues/17/events","html_url":"https://github.com/open-power-host-os/linux/issues/17","id":260880355,"number":17,"title":"Power9: Host crash during SMT change with guest emulator thread pinned \"Oops: Kernel access of bad area, sig: 11 [#1]\"","user":{"login":"sathnaga","id":1841809,"avatar_url":"https://avatars3.githubusercontent.com/u/1841809?v=4","gravatar_id":"","url":"https://api.github.com/users/sathnaga","html_url":"https://github.com/sathnaga","followers_url":"https://api.github.com/users/sathnaga/followers","following_url":"https://api.github.com/users/sathnaga/following{/other_user}","gists_url":"https://api.github.com/users/sathnaga/gists{/gist_id}","starred_url":"https://api.github.com/users/sathnaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathnaga/subscriptions","organizations_url":"https://api.github.com/users/sathnaga/orgs","repos_url":"https://api.github.com/users/sathnaga/repos","events_url":"https://api.github.com/users/sathnaga/events{/privacy}","received_events_url":"https://api.github.com/users/sathnaga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-27T07:56:16Z","updated_at":"2017-10-20T18:15:26Z","closed_at":null,"author_association":"NONE","body":"Host Kernel: 4.13.0-4.rel.git49564cb.el7.centos.ppc64le\r\n\r\nSteps to reproduce:\r\n1. Boot a guest(vm1)\r\n2. pin emulator thread to last host cpu\r\nvirsh emulatorpin vm1 79 --live --config\r\n3.  Change host SMT from 4 to 2\r\nppc64_cpu --smt=2\r\n                              ====> Host hit with crash and become unresposive\r\n\r\npart of guest xml \r\n```\r\n<domain type='kvm'>\r\n  <name>vm1</name>\r\n  <uuid>8914b703-4133-4564-bb39-108159f0f2b8</uuid>\r\n  <memory unit='KiB'>4194304</memory>\r\n  <currentMemory unit='KiB'>4194304</currentMemory>\r\n  <vcpu placement='static'>4</vcpu>\r\n  <cputune>\r\n    <emulatorpin cpuset='79'/>\r\n  </cputune>\r\n  <os>\r\n    <type arch='ppc64le' machine='pseries-2.10'>hvm</type>\r\n    <boot dev='hd'/>\r\n  </os>\r\n  <cpu>\r\n    <topology sockets='1' cores='4' threads='1'/>\r\n  </cpu>\r\n\r\n```\r\n\r\nHost hung and unresponsive, needs a external reboot to bring back. \r\n```\r\n# [175192.775110] IRQ 33: no longer affine to CPU2\r\n[175193.513117] IRQ 51: no longer affine to CPU7\r\n[175193.918060] IRQ 36: no longer affine to CPU10\r\n[175194.898718] IRQ 32: no longer affine to CPU15\r\n[175195.497593] IRQ 24: no longer affine to CPU23\r\n[175195.847274] IRQ 59: no longer affine to CPU27\r\n[175196.156829] IRQ 39: no longer affine to CPU31\r\n[175196.514113] IRQ 38: no longer affine to CPU35\r\n[175196.845370] IRQ 52: no longer affine to CPU38\r\n[175197.016417] IRQ 50: no longer affine to CPU39\r\n[175197.935579] irq_migrate_all_off_this_cpu: 1 callbacks suppressed\r\n[175197.935582] IRQ 69: no longer affine to CPU51\r\n[175198.195199] IRQ 56: no longer affine to CPU55\r\n[175198.345390] IRQ 57: no longer affine to CPU62\r\n[175198.506220] IRQ 28: no longer affine to CPU63\r\n[175199.224386] IRQ 66: no longer affine to CPU71\r\n[175199.554113] IRQ 35: no longer affine to CPU75\r\n[175199.694068] IRQ 37: no longer affine to CPU78\r\n[175199.852866] Unable to handle kernel paging request for data at address 0x000008c8\r\n[175199.852938] Faulting instruction address: 0xc0000000001d0184\r\n[175199.852953] Oops: Kernel access of bad area, sig: 11 [#1]\r\n[175199.853004] SMP NR_CPUS=1024 \r\n[175199.853005] NUMA \r\n[175199.853045] PowerNV\r\n[175199.853098] Modules linked in: target_core_pscsi target_core_file target_core_iblock iscsi_target_mod target_core_mod iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache binfmt_misc vhost_net vhost tap xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_security iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables ses enclosure scsi_transport_sas ipmi_powernv ipmi_devintf ipmi_msghandler powernv_op_panel opal_prd nfsd auth_rpcgss oid_registry nfs_acl\r\n[175199.853785]  lockd grace kvm_hv sunrpc kvm tg3 ptp pps_core\r\n[175199.853856] CPU: 79 PID: 64710 Comm: kworker/79:2 Not tainted 4.13.0-4.rel.git49564cb.el7.centos.ppc64le #1\r\n[175199.853961] Workqueue: events cpuset_hotplug_workfn\r\n[175199.854014] task: c0000003a2a22600 task.stack: c0000003a2ac8000\r\n[175199.854077] NIP: c0000000001d0184 LR: c0000000001d0170 CTR: c0000000001d0130\r\n[175199.854153] REGS: c0000003a2acb710 TRAP: 0300   Not tainted  (4.13.0-4.rel.git49564cb.el7.centos.ppc64le)\r\n[175199.854241] MSR: 9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>\r\n[175199.854249]   CR: 448e2022  XER: 20040000\r\n[175199.854349] CFAR: c0000000001c3db0 DAR: 00000000000008c8 DSISR: 40000000 SOFTE: 1 \r\n[175199.854349] GPR00: c0000000001d0170 c0000003a2acb990 c000000001397a00 0000000000000000 \r\n[175199.854349] GPR04: c0000003a2acb9b0 0000000000000000 c0000003a2acbab0 c000000245975678 \r\n[175199.854349] GPR08: c000000245975678 c0000003a2acb948 c0000000015a7a00 0000000000000000 \r\n[175199.854349] GPR12: c0000000001d0130 c00000000fdb1600 c000000000124348 c000000036de4e80 \r\n[175199.854349] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000001 \r\n[175199.854349] GPR20: c000000005be6940 c000000005be6960 0000000000000000 0000000000000000 \r\n[175199.854349] GPR24: c000000001334de0 c0000000015a09e0 c000000001264488 c0000003a2acbab0 \r\n[175199.854349] GPR28: c0000003aae63c00 c0000003a2acbaa0 c0000003a2acba10 0000000000000000 \r\n[175199.855075] NIP [c0000000001d0184] cpuset_can_attach+0x54/0x1a0\r\n[175199.855191] LR [c0000000001d0170] cpuset_can_attach+0x40/0x1a0\r\n[175199.855304] Call Trace:\r\n[175199.855355] [c0000003a2acb990] [c0000000001d0170] cpuset_can_attach+0x40/0x1a0 (unreliable)\r\n[175199.855519] [c0000003a2acb9f0] [c0000000001c4dd4] cgroup_migrate_execute+0xc4/0x4c0\r\n[175199.855657] [c0000003a2acba60] [c0000000001cc3d4] cgroup_transfer_tasks+0x1e4/0x380\r\n[175199.855796] [c0000003a2acbb90] [c0000000001d2810] cpuset_hotplug_workfn+0x6e0/0x900\r\n[175199.855934] [c0000003a2acbc90] [c00000000011bc00] process_one_work+0x1a0/0x490\r\n[175199.856072] [c0000003a2acbd30] [c00000000011bf88] worker_thread+0x98/0x520\r\n[175199.856188] [c0000003a2acbdc0] [c0000000001244a8] kthread+0x168/0x1b0\r\n[175199.856304] [c0000003a2acbe30] [c00000000000bc60] ret_from_kernel_thread+0x5c/0x7c\r\n[175199.856441] Instruction dump:\r\n[175199.856513] fbc1fff0 fbe1fff8 f8010010 f821ffa1 38810020 7c7d1b78 4bff3c6d 60000000 \r\n[175199.856655] 3f42ffed 3d420021 eb610020 3b5aca88 <e92308c8> 7f43d378 e9290000 f92a90c8 \r\n[175199.856800] ---[ end trace 5aa84a7cf504a434 ]---\r\n[175199.868456] \r\n[175201.708433] process 150492 (vhost-150463) no longer affine to cpu79\r\n\r\n```\n\n<cde:info> Mirrored with LTC bug #159341 </cde:info>"},"comment":{"url":"https://api.github.com/repos/open-power-host-os/linux/issues/comments/338283652","html_url":"https://github.com/open-power-host-os/linux/issues/17#issuecomment-338283652","issue_url":"https://api.github.com/repos/open-power-host-os/linux/issues/17","id":338283652,"user":{"login":"cdeadmin","id":23025061,"avatar_url":"https://avatars1.githubusercontent.com/u/23025061?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeadmin","html_url":"https://github.com/cdeadmin","followers_url":"https://api.github.com/users/cdeadmin/followers","following_url":"https://api.github.com/users/cdeadmin/following{/other_user}","gists_url":"https://api.github.com/users/cdeadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeadmin/subscriptions","organizations_url":"https://api.github.com/users/cdeadmin/orgs","repos_url":"https://api.github.com/users/cdeadmin/repos","events_url":"https://api.github.com/users/cdeadmin/events{/privacy}","received_events_url":"https://api.github.com/users/cdeadmin/received_events","type":"User","site_admin":false},"created_at":"2017-10-20T18:15:26Z","updated_at":"2017-10-20T18:15:26Z","author_association":"NONE","body":"------- Comment From jamesspo@us.ibm.com 2017-10-20 14:10:40 EDT-------\nMoving to Sprint 2, but let's mention it in the annouce details."}}
{"actor":{"display_login":"cdeadmin"}}