From owner-freebsd-fs@freebsd.org Mon Aug 28 07:42:10 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 A8587E07F9E for ; Mon, 28 Aug 2017 07:42:10 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 673866CC49; Mon, 28 Aug 2017 07:42:10 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id f1so13618391ith.0; Mon, 28 Aug 2017 00:42:10 -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=fgMWhxhpCgOFwuVpvllwNGoFR6aYFC5jjNIZk42EER8=; b=Qok/43SP7wZhojxt7Av/dZtHIjuPNh8OokIRWQdBY6ic2L6J62OSpfT7ZA1ur2ZcJb 6x0Vykrm72IfAK130cPngf8XnieEk1kb3cG0fNkrQYpLXwHDc0Xl1+o71fdYQp5j3DPP 7ctqhyeURToI7h4O59ZDydzYPUJV6N0wVYMg9mwwCiAaE3X32VY1w0g3o7fKoxYl8Fl/ Ui2kX40JITHSMf1xtSFJMizOO4gTNuCBngCP09KZUS81fpXCNoa3cmHTvMbgM7+EW8hm 7ThORLM4AbT0IuUllc6nL2sgqyn9GyCpPl+IkFovoQcsbJYy/PVbwdEGaOWiB+LMAbTI AHtQ== 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=fgMWhxhpCgOFwuVpvllwNGoFR6aYFC5jjNIZk42EER8=; b=VD4AXgRrf07ikIzjV6/jp2M3GRvqxF755mHnqcKXT2vuG5G27l25p7D9roJAnGmVL/ AbEs+qiXUjPO+Zr3qwS+oDOdbuznBnO8bu7TJ5Vl1pS7YHK7BfzQ9jjl4DC1Pii0jSdW np+w2cpb7ItObZBUvKdp92YVSI9ZB6N+2wO6rl36ImJJELysyBz157ARIpw9cdsHCG6y rz/U3HwP/hck28Rnvt4zzYqlkfND2kPc53MFrpVA9PYt3ZoputU4tJJY5u6c2KwQyeJg Y9RT4zo2c42oMpji6cgrTegRBi7iuFlm6PCo6jthheZ57RxqH0szITJtt3wE/kVQSMh5 TWlw== X-Gm-Message-State: AHYfb5j2bwUfWtPcR23cX/IvObjejJMaA0oOFSghF2h7Ol9YrJLXUBgn Qz+MBs5T6t4PdONy2w4qP4962z/asA== X-Received: by 10.36.252.69 with SMTP id b66mr6342003ith.97.1503906129613; Mon, 28 Aug 2017 00:42:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.22.66 with HTTP; Mon, 28 Aug 2017 00:42:09 -0700 (PDT) In-Reply-To: <20170827195428.49400124AE9F@mail.bitblocks.com> References: <201708250251.v7P2pwcl029687@chez.mckusick.com> <20170827195428.49400124AE9F@mail.bitblocks.com> From: Aijaz Baig Date: Mon, 28 Aug 2017 13:12:09 +0530 Message-ID: Subject: Re: Tips on remote debugging for filesystem code To: Bakul Shah , Kirk McKusick , Julian Elischer Cc: 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 07:42:10 -0000 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 Features2=0xffba2203 Any ideas? On Mon, Aug 28, 2017 at 1:24 AM, Bakul Shah wrote: > On Sun, 27 Aug 2017 22:04:41 +0530 Aijaz Baig > wrote: > > Thanks for the heads up Kirk. Unfortunately I just ran into a roadblock > > with Bhyve since I am running FreeBSD on core2duo which "officially" > > doesn't support Bhyve yet. > > > > Is there some other way I can get this to work? I have installed FreeBSD > > bare metal now if it helps. > > Years ago I used to use qemu + its GDB support. It was far > more convenient than debugging over a serial like. Haven't > used qemu recently but it used to run on pretty much any x86 > machine. I found a copy of my message online: > > http://maxim.int.ru/tricks/qemu.txt > > Also see > > https://wiki.freebsd.org/qemu > -- Best Regards, Aijaz Baig