From owner-freebsd-virtualization@freebsd.org Sat Dec 17 01:15:03 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 3879BC82899 for ; Sat, 17 Dec 2016 01:15:03 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 060351B05 for ; Sat, 17 Dec 2016 01:15:03 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id c4so16417283pfb.1 for ; Fri, 16 Dec 2016 17:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=r6vCCjBqIDuly+Ynl6SUa9QA9tl4xQiBZ7wJL3RvmtI=; b=YBqfTv7VwMlK2Ac1qjhHLRrQKk0+PBvD5S5SOo5VWVk4MmCrdTz1fi/U7SWIe/8gFR FN/A3Qt1DAndAcDECWJ2nzwMt0g3JsnS++Q5Vq2im7Rh+abub5ZFv+DVcjlH9Zq2IsZz zmTVfGhj3hr5a4RXieQBX9p2NVCSKVgLR8I5fCTJHdGXkAOSO9MGIgjVqq2RJuCZFEVN km9ZVgl73yfKUic2tu2W9HDxAhFh+EoUkq3tST9qRmBcY6kHVUfTt8jKjwRrCbwY6aXW ruuonK9Ru0V9kXaju00m+tESO0Sse89X7w+E0ojKZKTIiQZ6ttAf4JJS1MPT1uskDOJz BOYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=r6vCCjBqIDuly+Ynl6SUa9QA9tl4xQiBZ7wJL3RvmtI=; b=HMgo3Di7Gqhaz8FisLF+KJJMCy39Qg2h2WERXkXV8h/9WFKYibHvJ9/tbR2aDrs8HY gbIWZzrWdgT80ZnYh4Jt9p6ukwbvhzRyHPCvjfjN3Fft/aP492cZVrXylaAbZpO1v0Y+ yDA8bkogOO5Bzx5JIiyxhoRbMA6CUPu8NqTgYam0oy8tSaD7YxlrGtRaibEb3+hYmLE5 J+wLxj5onz4hWcq/YM4TW482DweDE55KJtCgDcb8NVrKcJnEbK5/2c6ogZPM55/jJMPd camzzmlsPasCthxLUl3b5oVeNU9czJfNbSxalRBzWDgm3hsHqqh3DYYzjPc+ttOvocOp /m2w== X-Gm-Message-State: AIkVDXITeIKe5GHCE8i1/z7ged25fqAsLWBFt7Aay6N8qm10pfy4gZT5UyE/zi+CrQ80Qg== X-Received: by 10.84.215.137 with SMTP id l9mr6647476pli.21.1481937302334; Fri, 16 Dec 2016 17:15:02 -0800 (PST) Received: from [172.16.1.28] (c-73-155-87-64.hsd1.tx.comcast.net. [73.155.87.64]) by smtp.gmail.com with ESMTPSA id x2sm14370065pfx.65.2016.12.16.17.15.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 17:15:01 -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> <131518ab-c3fc-6509-ba24-08b5c32cddd5@freebsd.org> To: freebsd-virtualization@FreeBSD.org From: Rajil Saraswat Message-ID: Date: Fri, 16 Dec 2016 19:14:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <131518ab-c3fc-6509-ba24-08b5c32cddd5@freebsd.org> Content-Type: text/plain; charset=windows-1252 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: Sat, 17 Dec 2016 01:15:03 -0000 On 12/11/2016 11:11 AM, Peter Grehan wrote: > Hi Rajil, > >> I don't seem to have that sysctl on my system. Should i create one? > > It's there: > >> # sysctl -a |grep vmm > ... >> hw.vmm.vmx.cap.posted_interrupts: 1 >> hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 > > The easiest way to disable APIC virtualization is to add this line to > /boot/loader.conf and reboot > > hw.vmm.vmx.use_apic_vid="0" > > (I got that wrong in the previous email; should have been zero) > > On a reboot, the above sysctl leaves should be set to 0. > > later, > > Peter. Hi Peter, This seems to have worked. Even after 5 days of uptime, i dont see the CPU stall messages. It looks like an issue with debian only as my other vm's based off ubuntu and centos did not have those errors. Thanks, Rajil