From owner-freebsd-fs@freebsd.org Mon Aug 28 13:33:07 2017 Return-Path: Delivered-To: freebsd-fs@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 AB812E0DAB5 for ; Mon, 28 Aug 2017 13:33:07 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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 718A177722; Mon, 28 Aug 2017 13:33:07 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id 77so2323829itj.1; Mon, 28 Aug 2017 06:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qSttbieYorehVWnygdlT4aXbK0oj4CNy0ohAs1QKEaw=; b=VSOZzyOX9UCQgnASUKWq/2zhwJ6pF3tfYDaLi55iPS02wj88yZ78qbRf7gXLF5LRow G287idawwvuRIso1Iqb4GkwBOgudjaZHP4DK0jNKrg0X9FfRCI/xgbYIokhioPiSoa30 g/Vho4cZVl28E7rp6b/iFt+c58XMwNzGSSaOfiJ+XuxD54duw8q8T4roaJQGiTuridEa fgXEpqx2AqCmPji+/bHdgQXCg/q0ygCwNDNmIe1jGRTBb+kFanTVPm97hGg5pAzgAYaU ML6KVS32yaLZHQYxd3vPlPQfIFw/U8c270iyLovBEHY6OznH0UFFcgyp5PJZyT+JPfaA CwKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qSttbieYorehVWnygdlT4aXbK0oj4CNy0ohAs1QKEaw=; b=pKDr/0cWPoVAZw8ZST6wzR0EQYHXwNG5SCFAoQrSiaH6PTWpCAeeeHhUqe6Lfl7LbS /1iOCyMoTHSBFkfGp1Al5Z+7FVsm7EE0TsfkenlAPpfQXy9VCvGX8F4zGuwgC7+pNjAw fATKbKV8YE3kzFXQk5f5PskAiNlmXekygv0HFkNIVGD2wxffQ1y9fBtDBLRk4rAMiCl1 /xOHOqx13PZ5wAfNjqIgpAzGKFVejtIWGd6h+w9ZObDVfC6rna4niBDV68iAiFivLjHq AnMMwHi150ZGCELsYUHEEKlFexdxJAbpZL+Z1H3oSK5BkYgnWi1fJhFDG/9SLcaO1kTA KPcw== X-Gm-Message-State: AHYfb5htuju0I4XqxJxo7dQqBxjtWoUG6EvBt/UGdYhcxhntSCck2XlN hYAN54d6u/q2eqlYAYWL1Z8fMP2W51hP X-Received: by 10.36.79.11 with SMTP id c11mr548037itb.112.1503927186579; Mon, 28 Aug 2017 06:33:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.22.66 with HTTP; Mon, 28 Aug 2017 06:33:06 -0700 (PDT) In-Reply-To: <20170828132647.GA60563@in-addr.com> References: <201708250251.v7P2pwcl029687@chez.mckusick.com> <20170827195428.49400124AE9F@mail.bitblocks.com> <20170828132647.GA60563@in-addr.com> From: Aijaz Baig Date: Mon, 28 Aug 2017 19:03:06 +0530 Message-ID: Subject: Re: Tips on remote debugging for filesystem code To: Gary Palmer Cc: Bakul Shah , Kirk McKusick , Julian Elischer , freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 13:33:07 -0000 HI Gary Just checked that. Indeed that was the case. In addition I was running FreeBSD on top of vmware hypervisor and had not allowed hardware acceleration features pass through to the FreeBSD VM. It is now working! Need to explore more on getting it to connect to GDB Perhaps you'll see a thread soon for it (Has anything worked perfectly for the first time ever?? ;) )! On Mon, Aug 28, 2017 at 6:56 PM, Gary Palmer wrote: > On Mon, Aug 28, 2017 at 01:12:09PM +0530, Aijaz Baig wrote: > > Thanks a lot bakul. Will certain look into this > > > > Nevertheless I got hold of a PowerEdge 320 system which DOES have a > POPCNT > > instruction which shows support for V-x support via EPT but I still get > the > > same error there > > > > sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 2048M -t tap0 -d > guest.img -i > > -I FreeBSD-10.3-RELEASE-amd64-bootonly.iso fbsd10 > > Launching virtual machine "fbsd10" ... > > vm_create: Device not configured > > > > dmesg: > > vmx_init: processor does not support VMX operation > > > > cat /var/run/dmesg.boot | grep -i popcnt > > > > Features2=0xffba2203 SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV> > > > > Features2=0xffba2203 SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV> > > > > Any ideas? > > Hi, > > Check the BIOS for virtualisation or other related options. Some BIOSes > have > the ability to turn those features off, even if the processor normally > supports them > > Regards, > > Gary > -- Best Regards, Aijaz Baig