From owner-freebsd-virtualization@freebsd.org Sun Dec 11 15:27:30 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2272BC72979 for ; Sun, 11 Dec 2016 15:27:30 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4AEA821 for ; Sun, 11 Dec 2016 15:27:29 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pg0-x235.google.com with SMTP id p66so25864719pga.2 for ; Sun, 11 Dec 2016 07:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:cc:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=yX2XuUKjhnBVBFGyf9VENQ8CdL8iX0OOotL8grwiyRI=; b=V/VOl/2fDXHt7gv5t9x/3yu9tLy2d+4rmeGlFhaUjUmoSDqNj7J9OukjVhgBXwKhZV V7Ncv2jOgfzSuOC/vkNguNq0kNIl0QDHvZIE/cLKi8kjfkXjS7czrPMriFrkkaSiB8qV sRd6MlMrA/UrgV6u8lfGw6+48p8Z94EMf44Y9GgZPRGT1YKuuhXb5kaokiGXJvvhO/yi g2fjL75e/ZnwH3Mr/sZTqifeOhyTHa0hQy7rdmTb1J8I1Tgug/gkT6y5TstUwWudeM4I ktKZMxbXmS+lqCjTcGUrdvFxrWe63hEk8Tdg1UjwIioPPkxmo8p8iQsS3vUyUbZARG81 6FBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=yX2XuUKjhnBVBFGyf9VENQ8CdL8iX0OOotL8grwiyRI=; b=Pk8/e45sAbyqCFiMrt0+LM36QMKUud5Yd5w0HkMuecq0K9dczeucjZRALMkH120Ld/ bvznFAKgeln+VLHOwlvAhfhEx5IirvAzN7eh/ufFGztnugROf0Au5H6GDAX9KrTw7llt mzdPgtLIltp0Kf14pBlUQ2A3McLFCLnetTxGjxfu2naQTBHMDNnW+pUTu13clvC+j4Wx 9gM2iSGUVibDB60fMpjCNGW40tJk7BTPsnUD94lWyNMrjxQJ4LlI8A3OsmtgzfQxIw2J pi78FXQza5v/C2L1BQ6X1sWBGbb1sm15tn/K/DF1F7lXG7KNRFGWgwJJ1hGDZge+zT7j X/4g== X-Gm-Message-State: AKaTC01Fao4BXrEWkexqUkxb2MWJ7SrZuI2kfXfQreTwdDMAgq558uClJLgb/yWSnkdEHw== X-Received: by 10.99.55.79 with SMTP id g15mr160430692pgn.65.1481470049122; Sun, 11 Dec 2016 07:27:29 -0800 (PST) Received: from [172.16.1.38] (c-73-155-87-64.hsd1.tx.comcast.net. [73.155.87.64]) by smtp.gmail.com with ESMTPSA id 65sm70544067pfl.21.2016.12.11.07.27.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2016 07:27:28 -0800 (PST) Subject: Re: Debian 8 CPU stall References: <9c9e83a5-16c6-0ab5-0ac4-af0a54430706@freebsd.org> <6cff5bf2-9654-8627-83c4-6ab48ee763b5@gmail.com> <56863fec-d8f8-2601-811f-511cd199e82f@freebsd.org> Cc: freebsd-virtualization@FreeBSD.org From: Rajil Saraswat Message-ID: Date: Sun, 11 Dec 2016 09:27:23 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <56863fec-d8f8-2601-811f-511cd199e82f@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 15:27:30 -0000 On 12/11/2016 01:20 AM, Peter Grehan wrote: > Looks like a possibly lost interrupt. > > Can you check to see if this system is using APIC virtualization ? > > # sysctl -a hw.vmm.vmx.cap > ... > hw.vmm.vmx.cap.posted_interrupts: 1 > hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 > > (these will be zero if APIC virtualization not in use) > > If so, one thing to try is disabling these and see if that helps. > This can be done by setting the tunable hw.vmm.vmx.use_apic_vid to 1 > (e.g. in /boot/loader.conf, or unloading vmm.ko, setting the value > with kenv, and the reloading vmm.ko) > > later, > > Peter. > > I don't seem to have that sysctl on my system. Should i create one? # sysctl -a |grep vmm kern.proc_vmmap_skip_resident_count: 0 kern.coredump_pack_vmmapinfo: 1 hw.vmm.npt.pmap_flags: 0 hw.vmm.svm.num_asids: 0 hw.vmm.svm.disable_npf_assist: 0 hw.vmm.svm.features: 4294967295 hw.vmm.svm.vmcb_clean: 959 hw.vmm.vmx.vpid_alloc_failed: 0 hw.vmm.vmx.posted_interrupt_vector: 252 hw.vmm.vmx.cap.posted_interrupts: 1 hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 hw.vmm.vmx.cap.invpcid: 1 hw.vmm.vmx.cap.monitor_trap: 1 hw.vmm.vmx.cap.unrestricted_guest: 1 hw.vmm.vmx.cap.pause_exit: 1 hw.vmm.vmx.cap.halt_exit: 1 hw.vmm.vmx.initialized: 1 hw.vmm.vmx.cr4_zeros_mask: 18446744073705920512 hw.vmm.vmx.cr4_ones_mask: 8192 hw.vmm.vmx.cr0_zeros_mask: 18446744071025197056 hw.vmm.vmx.cr0_ones_mask: 32 hw.vmm.ept.pmap_flags: 1531 hw.vmm.vrtc.flag_broken_time: 1 hw.vmm.ppt.devices: 2 hw.vmm.iommu.initialized: 1 hw.vmm.bhyve_xcpuids: 72 hw.vmm.topology.cpuid_leaf_b: 1 hw.vmm.topology.cores_per_package: 1 hw.vmm.topology.threads_per_core: 1 hw.vmm.create: beavis hw.vmm.destroy: beavis hw.vmm.force_iommu: 0 hw.vmm.trace_guest_exceptions: 0 hw.vmm.ipinum: 251 hw.vmm.halt_detection: 1 Thanks, Rajil