Re: bhyve: passthrough of PCIe device without MSI possible?

2018-05-22 Thread Neel Natu
On Sun, May 20, 2018 at 12:04 PM, Mario Lobo wrote: > Hi Felix; > > I had the same impression and I was attempting to do the same with no > success. > > Have you managed to make it work? > > 2018-05-11 12:26 GMT-03:00 Felix Palmen : > >> I have the following PCIe card on a host running 11.1-RELEAS

Re: bhyve clock issue

2016-04-26 Thread Neel Natu
> > Thanks for support. > > > > Il 14/04/16 18:13, Neel Natu ha scritto: >> Hi, >> >> Did you see anything interesting in the ntpd log file around the time the >> large skew happened? >> >> Best >> Neel >> >>> On Apr

Re: Understanding Bhyve shutdown

2016-04-19 Thread Neel Natu
Hi Roman, On Wed, Apr 13, 2016 at 3:55 AM, Roman Bogorodskiy wrote: > Hi, > > I was trying to get better understanding of how to properly shutdown VMs > in bhyve, but unfortunately the documentation does not provide much > details on that. > > Specifically, handbook [I] suggests to reboot a machi

Re: bhyve clock issue

2016-04-14 Thread Neel Natu
Hi, Did you see anything interesting in the ntpd log file around the time the large skew happened? Best Neel > On Apr 13, 2016, at 3:44 AM, Ilario Febi wrote: > > Hi All > > I have a strange issue about the clock of some FreeBSD Bhyve guests, > maybe someone of you can help me to diagnose it

Re: -current host, 10.1 client loops

2016-03-19 Thread Neel Natu
On Thu, Mar 17, 2016 at 12:38 AM, Poul-Henning Kamp wrote: > > In message > , > =?UTF-8?Q?Olivier_Cochard=2D > Labb=C3=A9?= writes: > > >>> How do I tell that script to use ahci-hd ? >>> >>> >>You just need to replace virtio-blk by ahci-hd in the script, like: > > Ok, it also hung with

Re: -current host, 10.1 client loops

2016-03-15 Thread Neel Natu
Hi, On Tue, Mar 15, 2016 at 7:36 AM, Poul-Henning Kamp wrote: > I'm seing bhyve go into some kind of endless loop while trying to > compile the gcc port on 10.1 as guest. > > In one case CTRL-T on the console kept working, but showed an rm(1) > process raking up CPU time. > > Are there known bogo

Re: -current host, 10.1 client loops

2016-03-15 Thread Neel Natu
Hi, On Tue, Mar 15, 2016 at 2:30 PM, Poul-Henning Kamp wrote: > > In message > > , Neel Natu writes: > >>Also, if it is possible to reproduce with a single vcpu then it will >>help when analyzing the output of ktrdump. > > Well, on the gutfeeling that

Re: ath0 (wlan0) not working in virtulised guest with bhyve

2016-02-28 Thread Neel Natu
On Sun, Feb 28, 2016 at 7:17 AM, richard bader wrote: > Hey Neel, >> >> I suspect that the ath0 controller does not support MSI/MSI-x >> interrupts. The output of 'pciconf -lvbc' on the host will confirm if >> this is the case. >> > thanks for the hint. The controller should support MSI interrupts

Re: ath0 (wlan0) not working in virtulised guest with bhyve

2016-02-27 Thread Neel Natu
Hi Richard, On Sat, Feb 27, 2016 at 2:01 AM, richard bader wrote: > Hello, > > using ath0 (and wlan) on the host is working fine. But trying the same on > the guest does not work. > > on the host freebsd 10.2 ist running > on the guest freebsd 10.3 (10.3-BETA2 FreeBSD 10.3-BETA2 #0) is running >

Re: bhyve with Linux guest, how to safely handle updates?

2016-01-28 Thread Neel Natu
Hi Julian, On Thu, Jan 28, 2016 at 9:22 PM, Julian Elischer wrote: > On 29/01/2016 3:13 AM, Neel Natu wrote: >> >> Hi Dean, >> >> On Thu, Jan 28, 2016 at 10:55 AM, dweimer wrote: >>> >>> On 2016-01-26 8:13 pm, Sergey Manucharian wrote: >>>

Re: bhyve with Linux guest, how to safely handle updates?

2016-01-28 Thread Neel Natu
Hi Dean, On Thu, Jan 28, 2016 at 10:55 AM, dweimer wrote: > On 2016-01-26 8:13 pm, Sergey Manucharian wrote: >> >> Excerpts from dweimer's message from Tue 26-Jan-16 19:07: >>> >>> >>> Is there anything that normally needs to be done after a Linux kernel >>> update to refresh the grub2-bhyve setu

Re: Bhyve UEFI VM on non-UEFI host

2015-12-21 Thread Neel Natu
> On Dec 21, 2015, at 10:33 AM, Evan Rowley wrote: > > Hello > > I am interested in running bhyve VMs utilizing UEFI, as described in > Peter's Windows guide: http://pr1ntf.xyz/windowsunderbhyve.html > > The host machine will be an dual AMD Opteron 6166 HE processor, AMD SR5670 > / SP5100 chip

Re: BAR and pci passthrough

2015-12-02 Thread Neel Natu
On Wed, Dec 2, 2015 at 3:13 AM, G. Amanakis via freebsd-virtualization wrote: > I am facing the following problem: > on a X9SCM with an E3-1220Lv2 I am trying to passthrough the onboard usb > controllers. I disable the usb module from the kernel config and using pptdev > the controllers are

Re: passthru requires guest memory to be wired

2015-08-25 Thread Neel Natu
Hi Craig, On Tue, Aug 25, 2015 at 11:53 AM, Craig Rodrigues wrote: > Hi, > > I updated one of my FreeBSD boxes to latest CURRENT, and when I started > a bhyve VM which uses PCI passthru, I got this error: > > passthru requires guest memory to be wired > > According to this commit: > https://revie

Re: virtio disk device file "/dev/hast/shared" does not exist. Creating it ...

2015-07-31 Thread Neel Natu
Hi Nikos, On Fri, Jul 31, 2015 at 6:53 AM, Nikos Vassiliadis wrote: > Hi, > > While trying to use a HAST device as my storage I got this message. > >> Booting... >> virtio disk device file "/dev/hast/shared" does not exist. >> Creating it ... >> GDB: no debug ports present >> KDB: debugger backen

Re: An issue with a pair of wi-fi adapters in a guest OS

2015-07-27 Thread Neel Natu
Hi Igor, On Mon, Jul 27, 2015 at 5:16 PM, Igor Pavlov wrote: > Hello, > > I'm trying to configure a wi-fi AP in a guest OS. > The guest OS is the OpenWRT v15.05-RC3 (I also tried current version of the > Arch Linux with the same result), it runs in the bhyve and the host OS is: > #uname -msr > Fr

Re: bhyve: centos 7.1 with multiple virtual processors

2015-07-15 Thread Neel Natu
Hi Andriy, On Tue, Jul 14, 2015 at 6:55 AM, Andriy Gapon wrote: > On 23/06/2015 11:05, Andriy Gapon wrote: >> On 23/06/2015 10:26, Neel Natu wrote: > [snip] >>> Does this ever happen with a single vcpu guest? >> >> Never seen the problem with a single CPU so far

Re: bhyve vs signals

2015-07-14 Thread Neel Natu
Hi Andriy, On Tue, Jul 14, 2015 at 1:36 AM, Andriy Gapon wrote: > > I couldn't find any information in bhyve(8) on how bhyve responds to various > signals. It seems that at least SIGTERM is intercepted and translated to an > ACPI power event. How about other signals? What's the best signal to

Re: weird console issue w/ bhyve...

2015-07-06 Thread Neel Natu
Fixed in r285217: https://svnweb.freebsd.org/changeset/base/285217 best Neel On Sun, Jun 28, 2015 at 11:01 AM, Peter Grehan wrote: > Hi John-Mark, > >> more and less work perfectly fine when I first login from the console.. >> Sometimes due to terminal issues, the cursor gets "stuck" at the bott

Re: bhyve - map user-space buffer in the VM

2015-07-05 Thread Neel Natu
Hi Stefano, Sorry for the late reply. On Tue, Jun 30, 2015 at 2:57 AM, Stefano Garzarella wrote: > Hi all, > I'm working on bhyve to support ptnetmap (netmap passthrough) for my GSoC. > http://wiki.freebsd.org/SummerOfCode2015/ptnetmapOnBhyve > > I've already implemented it on QEMU/KVM and, to e

Re: bhyve: centos 7.1 with multiple virtual processors

2015-06-23 Thread Neel Natu
Hi Andriy, On Mon, Jun 22, 2015 at 11:45 PM, Andriy Gapon wrote: > On 23/06/2015 05:37, Neel Natu wrote: >> Hi Andriy, >> >> FWIW I can boot up a Centos 7.1 virtual machine with 2 and 4 vcpus >> fine on my host with 8 physical cores. >> >> I have some ques

Re: bhyve: centos 7.1 with multiple virtual processors

2015-06-22 Thread Neel Natu
Hi Andriy, FWIW I can boot up a Centos 7.1 virtual machine with 2 and 4 vcpus fine on my host with 8 physical cores. I have some questions about your setup inline. On Mon, Jun 22, 2015 at 4:14 AM, Andriy Gapon wrote: > > If I run a CentOS 7.1 VM with more than one CPU more often than not it wou

Re: dtrace fbt vs vmm

2015-06-22 Thread Neel Natu
Hi Andriy, On Mon, Jun 22, 2015 at 9:17 AM, Andriy Gapon wrote: > On 22/06/2015 19:08, Peter Grehan wrote: >> Hi Andriy, >> >>> I haven't investigated this issue further, but if there are any unsafe >>> functions >>> in vmm it would be nice to blacklist them in the fbt code. >>> Perhaps blacklis

Re: How to bind a thread to a CPU?

2015-06-14 Thread Neel Natu
Hi Stefan, > On Jun 13, 2015, at 12:12 PM, Stefan Andritoiu > wrote: > > Hi Neel, > >> On Sat, Jun 13, 2015 at 9:00 PM, Neel Natu wrote: >> Hi Stefan, >> >> On Sat, Jun 13, 2015 at 3:33 AM, Stefan Andritoiu >> wrote: >>> Hi, >>

Re: How to bind a thread to a CPU?

2015-06-13 Thread Neel Natu
Hi Stefan, On Sat, Jun 13, 2015 at 3:33 AM, Stefan Andritoiu wrote: > Hi, > > How can I pin a thread to run only on a specific CPU? > Is it enough just to set the "struct cpuset *td_cpuset" of the thread? > sched_bind() is the proper way to do this. best Neel > Thank you, > Stefan > __

Re: Gang scheduling implementation in the ULE scheduler

2015-06-10 Thread Neel Natu
Hi Stefan, On Wed, Jun 10, 2015 at 1:14 PM, Stefan Andritoiu wrote: > Hello, > > I am currently working on a gang scheduling implementation for the > bhyve VCPU-threads on FreeBSD 10.1. > I have added a new field "int gang" to the thread structure to specify > the gang it is part of (0 for no gan

Re: bhyve: corrupting zfs pools?

2015-06-09 Thread Neel Natu
Hi Andriy, On Wed, Jun 3, 2015 at 11:05 PM, Andriy Gapon wrote: > On 04/06/2015 07:37, Neel Natu wrote: >> Ok, there are some differences in our systems. The interesting ones >> are number of ASIDs (64 versus 65536), flush-by-asid capability, >> vmcb-clean capability an

Re: Setting custom field in struct thread from bhyverun code

2015-06-05 Thread Neel Natu
Hi Stefan, On Fri, Jun 5, 2015 at 10:23 AM, Stefan Andritoiu wrote: > I've added a new field to struct thread and want to set it's value > when the VCPU thread is created. I need this new field in the ULE > scheduler. > My plan was this: in the fbsdrun_start_thread() function make a > custom-ioct

Re: bhyve: corrupting zfs pools?

2015-06-03 Thread Neel Natu
Hi Andriy, On Wed, Jun 3, 2015 at 3:01 AM, Andriy Gapon wrote: > On 03/06/2015 00:40, Neel Natu wrote: >> Perhaps, but I wasn't able to repro this. I tried your recipe to repro >> on two systems running -current at r283917. >> >> - Intel Sandybridge server: Xeon

Re: bhyve: corrupting zfs pools?

2015-06-02 Thread Neel Natu
Hi Andriy, On Tue, Jun 2, 2015 at 9:45 AM, Andriy Gapon wrote: > On 02/06/2015 14:14, Andriy Gapon wrote: >> >> I am doing a simple experiment. >> >> I get FreeBSD image from here: >> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-amd64-r283577-20150526-memstick.

Re: can we get some interaction between halt/reboot and bhyve?

2015-05-28 Thread Neel Natu
Hi Paul On Tue, May 26, 2015 at 11:18 PM, Paul Vixie wrote: > > > Craig Rodrigues wrote: >> ... >> >> I haven't tried them, but Michael Dexter has written more comprehensive >> rc.d scripts from bhyve: >> >> http://vmrc.bsd.lv/ > > these look good but i'm waiting for man pages, while meanwhile i

Re: Is the BHyVe guest as suitable for high-performance disk IO as the host?

2015-05-10 Thread Neel Natu
be aware that you'll be using buffer cache on the host and also that the guest filesystem could be corrupted on an unplanned host shutdown. With respect to alignment I am not sure if you can request a specific alignment when creating a flat file for the virtual disk. However, if you use a ZVOL as a

Re: Is the BHyVe guest as suitable for high-performance disk IO as the host?

2015-05-09 Thread Neel Natu
Hi Tinker, On Sat, May 9, 2015 at 9:49 AM, Tinker wrote: > Hi! > > For an environment with very heavy parallell IO, should the performance be > just as good in a BHyVe guest as in the FreeBSD host environment? > > What I thought of is that I guess within the host environment, the storage > subsys

Re: Panic on 11.0-CURRENT when trying "kldload vmm"

2015-04-16 Thread Neel Natu
Hi Markiyan, On Thu, Apr 16, 2015 at 1:30 PM, Markiyan Kushnir wrote: > 2015-04-16 23:20 GMT+03:00 Neel Natu : >> Hi Markiyan, >> >> On Thu, Apr 16, 2015 at 1:01 PM, Markiyan Kushnir >> wrote: >>> 22:13:~$ uname -a >>> FreeBSD mkushnir.mooo.com 11.

Re: Panic on 11.0-CURRENT when trying "kldload vmm"

2015-04-16 Thread Neel Natu
Hi Markiyan, On Thu, Apr 16, 2015 at 1:01 PM, Markiyan Kushnir wrote: > 22:13:~$ uname -a > FreeBSD mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #3 > r281432: Sun Apr 12 01:35:34 EEST 2015 > root@:/work/obj/work/src.svn/sys/MAREK amd64 > > > Went kernel panic twice today when trying to lo

Re: Problem hiding USB host controller

2015-04-13 Thread Neel Natu
is patch will be > added to STABLE or if I need to patch again when I update the system > in the future. > I have committed the patch to HEAD: https://svnweb.freebsd.org/base?view=revision&revision=281499 I'll MFC it to 10-stable in a couple of weeks. best Neel > Thank you ver

Re: bhyve clock problem, solved by kern.timecounter.hardware="TSC-low" in /etc/sysctl.conf

2015-04-10 Thread Neel Natu
Hi Paul, On Fri, Apr 10, 2015 at 10:35 AM, Paul Vixie wrote: > here is a representative one-hour sample of ntp messages from > /var/log/messages on a freebsd 10.1 bhyve guest: > >> Apr 10 12:00:46 family ntpd[634]: time reset -0.613057 s >> Apr 10 12:17:02 family ntpd[634]: time reset -0.604933 s

Re: bhyve clock problem, solved by kern.timecounter.hardware="TSC-low" in /etc/sysctl.conf

2015-04-10 Thread Neel Natu
Hi, On Fri, Apr 10, 2015 at 3:47 PM, Matthew Grooms wrote: > Perhaps applying this commit would have some positive effect ( HPET vs LAPIC > )? > > https://docs.freebsd.org/cgi/getmsg.cgi?fetch=885358+0+archive/2015/svn-src-head/20150322.svn-src-head > No, it's an orthogonal change. The change a

Re: Problem hiding USB host controller

2015-04-09 Thread Neel Natu
Hi Luis, On Thu, Apr 9, 2015 at 1:43 PM, Luis P. Mendes wrote: > Hi, > > I'm trying to passthrough a USB host controller (2.0 or 3.0) but there > seems to be some kind of problem. > > # uname -a > FreeBSD leao 10.1-STABLE FreeBSD 10.1-STABLE #0 r279201: Mon Feb 23 > 18:55:46 UTC 2015 > r...@relen

Re: bhyve: Abort trap

2015-04-05 Thread Neel Natu
Hi, On Sat, Apr 4, 2015 at 8:20 PM, Евгений IRON wrote: > Hello all, > > After I upgraded FreeBSD STABLE up to r281095, I can't boot up VM with CentOS > 6. > > # uname -a > FreeBSD cobra 10.1-STABLE FreeBSD 10.1-STABLE #8 r281095: Sun Apr 5 05:20:57 > EEST 2015 root@cobra:/usr/obj/usr/src/sys/

Re: Several bhyve quirks

2015-03-27 Thread Neel Natu
Hi Julian, On Wed, Mar 25, 2015 at 2:24 AM, Julian Hsiao wrote: > Hi, > > I'm running bhyve on 10.1, mostly with OpenBSD (5.7) guests, and I ran into > a few strange issues: > > 1. The guest RTC is several hours off every time I start bhyve. The host > RTC is set to UTC, and /etc/localtime on bo

Re: Bhyve Suspend/Resume

2015-03-09 Thread Neel Natu
Hi Willem, On Mon, Mar 9, 2015 at 2:45 PM, Willem Jan Withagen wrote: > On 07/03/2015 23:51, Allan Jude wrote: >> On 2015-03-07 17:46, Manas Bhatnagar wrote: >>> Hello, >>> >>> I am trying to find out if Bhyve in 10-STABLE has support for suspending >>> and resuming guests. Please let me know. A

Re: bhyve failure: vm_run error -1, errno 25

2015-03-01 Thread Neel Natu
Hi Craig, On Sun, Mar 1, 2015 at 12:54 PM, Craig Rodrigues wrote: > Hi, > > I recently did the following: > > (1) Updated to svn r279489, rebuilt world/kernel and rebooted. > > (2) Ran this: sh /usr/share/examples/bhyve/vmrun.sh -m 4G -d /vm/ > scan-ci.FreeBSD.org/disk.img vmtest1 > > (3) Got

Re: [current] bhyve under VMware borked?

2015-02-23 Thread Neel Natu
Hi Marcel, On Fri, Nov 7, 2014 at 7:21 PM, Marcel Moolenaar wrote: > >>> On Nov 7, 2014, at 4:29 PM, Michael Dexter >>> wrote: >>> >>> On 11/7/14 12:50 PM, Marcel Moolenaar wrote: >>> This is VMware Fusion 6.0.5 (2209127) running on Mac OS X 10.10. >> >> Just in case: Have you selected "Enable

Re: OpenBSD guest in bhyve on AMD CPU

2015-02-23 Thread Neel Natu
Hi Jason, On Tue, Feb 10, 2015 at 9:40 PM, Neel Natu wrote: > Hi Jason, > > On Tue, Feb 10, 2015 at 7:38 PM, Jason Tubnor wrote: >> Hi, >> >> As posted in IRC, I am checking here if anyone has come across this >> issue. During boot on OpenBSD I get: >

Re: bhyve and PCI Passthrough a USB Controller

2015-02-16 Thread Neel Natu
Hi Philipp, On Mon, Feb 16, 2015 at 3:09 AM, Philipp Wuensche wrote: > Peter Grehan wrote: >> >> Would you be willing to try a patch that relaxes that check ? > > Yes! The system isn't in production yet so I can try out stuff. > Can you try this patch? https://people.freebsd.org/~neel/patches/b

Re: OpenBSD guest in bhyve on AMD CPU

2015-02-10 Thread Neel Natu
Hi Jason, On Tue, Feb 10, 2015 at 7:38 PM, Jason Tubnor wrote: > Hi, > > As posted in IRC, I am checking here if anyone has come across this > issue. During boot on OpenBSD I get: > > panic: trap type 4, code=0, pc=811b7134 > I suspect that the guest is getting a #GP exception when acce

Re: Bhyve crash: Effective AML package length is zero.

2014-12-28 Thread Neel Natu
Hi William, On Sun, Dec 28, 2014 at 3:07 PM, William B wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Good morning, > > I am having an issue with bhyve on my 10-STABLE amd64 system. > > When running the following: > > /usr/sbin/bhyveload -m 1 -d > /var/lib/libvirt/images/FreeBSD-10

Re: FreeBSD bhyve VM Exiting

2014-12-26 Thread Neel Natu
Hi Shawn, On Fri, Dec 26, 2014 at 6:26 AM, Shawn Webb wrote: > Hey All, > > I'm running a FreeBSD/amd64 11-current (r276204) guest VM in bhyve. It > seems that running Poudriere in it causes the VM to exit. > > This is what bhyve outputs when the VM dies: > > reason VMX >

Re: bhyve failure

2014-12-22 Thread Neel Natu
Hi Julian, On Sat, Nov 29, 2014 at 6:31 PM, Neel Natu wrote: > Hi Julian, > > On Fri, Nov 28, 2014 at 7:36 AM, Julian Elischer wrote: >> On 11/28/14, 3:12 AM, Neel Natu wrote: >>> >>> Hi Julian, >>> >>> On Thu, Nov 27, 2014 at 7:02 AM, Julian

Re: vmrun.sh error

2014-12-15 Thread Neel Natu
problem. > This particular patch has not been committed if thats what you mean. best Neel > > > ____ > From: "Neel Natu" > To: "Susan Stanziano" > Cc: freebsd-virtualization@freebsd.org > Sent: Thursday, December 11, 2014

Re: vmrun.sh error

2014-12-11 Thread Neel Natu
Hi Susan, On Tue, Dec 9, 2014 at 5:05 PM, Susan Stanziano wrote: > > Hello, > > Craig suggested that I send this question to this mail alias: > > A couple of comments after creating VM's and using the vmrun.sh in > /usr/share/examples/bhyve/vmrun.sh: > > 1) I know you can't run two VM's at the s

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:37 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 00:48, Craig Rodrigues wrote: >> >> I'm not sure, but according to this datasheet: >> >> >> http://ark.intel.com/products/65700/Intel-Core-i3-3110M-Processor-3M-Cache-2_40-GHz >> >> this CPU does not support

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:50 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 02:37, Neel Natu wrote: >> >> The "Unsupported MSI-X configuration" referred to here is that bhyve >> doesn't emulate the 'Pending Bit Array'. >>

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:58 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 02:43, Neel Natu wrote: >> >> Can you provide the output of 'pciconf -lvbc pci0:3:0:0' on the FreeBSD >> host? >> >> This is assuming pci0:3:0:0 is th

Re: bhyve failure

2014-11-29 Thread Neel Natu
Hi Julian, On Fri, Nov 28, 2014 at 7:36 AM, Julian Elischer wrote: > On 11/28/14, 3:12 AM, Neel Natu wrote: >> >> Hi Julian, >> >> On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer >> wrote: >>> >>> I added WITNESS to a kernel I've been r

Re: Unsupported cmd:c4 (ada0:ahcich0:0:0:0): READ_MUL. ACB: c4 00 00 00 00 40 00 00 00 00 01 00

2014-11-29 Thread Neel Natu
Hi Bjorn, On Fri, Nov 28, 2014 at 2:42 AM, Ask Bjørn Hansen wrote: > Hi everyone, > > I’ve spent some time off this week upgrading my > build-my-personal-NanoBSD-image tool from a VMware virtual machine to a > physical box running a 32-bit build-box under bhyve. > > So far so good — all that ha

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 10:45 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 18:38, Anish Gupta wrote: >> >> >Another thing I should mention is that "acpidump -t | grep DMAR" >> reports nothing. It is mentioned in the documentation but I didn't see >> until now. >> >> DMAR/VT-d has bee

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 6:01 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 02:05, Craig Rodrigues wrote: >> >> On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis > > wrote: >> >> Hi, >> >> I am trying to use PCI passthrough to pass the bge device to a gues

Re: bhyve failure

2014-11-27 Thread Neel Natu
Hi Julian, On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer wrote: > I added WITNESS to a kernel I've been running and during boot I got this > result: > > vm exit[0] > reason VMX > rip 0x8078c1a7 > inst_length 7 > status 0

Re: 'repz' instruction not supported.

2014-11-21 Thread Neel Natu
Hi Ashutosh, On Fri, Nov 21, 2014 at 2:07 AM, Ashutosh Kumar wrote: > Yes you are right 'repz' prefixes is added to the ‘cmps’ and 'scas' > instructions. > > The actual opcode is “F3 A5” which is ‘rep movs’ (disassembly is showing > ‘repz’). > > > > Yes the guest is emitting these instructions to

Re: 'repz' instruction not supported.

2014-11-21 Thread Neel Natu
Hi Ashutosh, On Wed, Nov 19, 2014 at 10:30 PM, Ashutosh Kumar wrote: > Hi > We have found that emulation of 'repz' instruction is not supported in bhyve. > This is causing VM_EXIT for Guest OS. Do we have plans to add support for > instructions like 'repz'. > 'repz' is actually an instruction

Re: How hard is BHyVe's 16 vCPU limit, is it configurable under any circumstance?

2014-11-12 Thread Neel Natu
Hi Tinker, On Wed, Nov 12, 2014 at 2:08 PM, Tinker wrote: > On 2014-11-12 23:55, Allan Jude wrote: >> >> On 2014-11-12 16:39, ti...@openmailbox.org wrote: >>> >>> Hi! >>> >>> In order justify giving energy to BHyVe, I need to know if it's >>> "future-proof" in that the 16 vCPU limit can be increa

Re: HEADS UP: Merging projects/bhyve_svm to HEAD

2014-10-25 Thread Neel Natu
Hi, On Sat, Oct 25, 2014 at 3:50 PM, Zaphod Beeblebrox wrote: > I tried to integrate this patch into 10.1_RC3 and I failed. Is there a > timeframe to MFC this to 10.1 or 10-STABLE? > It will be MFCed to 10-STABLE but I don't have a specific time frame in mind. I'll guess that it'll be towards

Re: moving from virtualbox to bhyve

2014-10-21 Thread Neel Natu
Hi John, On Mon, Oct 20, 2014 at 9:59 PM, John wrote: > On Mon, Oct 20, 2014 at 05:55:13PM -0700, Neel Natu wrote: > >> It seems that you are booting the guest from the disk that was >> originally used with vbox. > > Yes, this is what I want to do, because there's

Re: testing bhyve on AMD box...

2014-10-21 Thread Neel Natu
Hi, On Tue, Oct 21, 2014 at 11:50 AM, John-Mark Gurney wrote: > So, I did, and it failed... > > First, if_tap doesn't get automatically loaded.. but that was easy to > spot due to the error message... loader runs fine, but then after > hitting enter, I get the following: > /tmp/bhyve.4dv5wFK

Re: moving from virtualbox to bhyve

2014-10-20 Thread Neel Natu
Hi John, On Mon, Oct 20, 2014 at 10:04 AM, John wrote: > On Mon, Oct 20, 2014 at 12:31:18PM -0400, Allan Jude wrote: > >> What version of FreeBSD are you using? You might want to try the latest >> 10.1 RC (or HEAD if you are so included) instead, as they have much >> improved bhyve. > > freebsd v

Re: Re[2]: ACPI Exception on shutdown

2014-09-27 Thread Neel Natu
pi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND > > The operating system has halted. > Please press any key to reboot. > > Rebooting... > cpu_reset: Stopping other CPUs > > Best regards, Denis > P.S. Why the message "cpu_reset: Stopping other CPUs" is displayed o

Re: ACPI Exception on shutdown

2014-09-26 Thread Neel Natu
Hi Denis, On Fri, Sep 26, 2014 at 12:25 PM, Denis Menshikov wrote: > Good day, > > faced with this problem: when I shutdown the virtual machine (FreeBSD amd64 > release-guest) power-off does not occur, a message is displayed: > > ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S5_

Re: Directly reserve an interrupt IDT entry for Hyper-V

2014-08-20 Thread Neel Natu
Hi John, On Wed, Aug 20, 2014 at 8:31 AM, John Baldwin wrote: > On Wednesday, August 20, 2014 9:31:54 am Roger Pau Monné wrote: >> On 20/08/14 11:19, Wei Hu wrote: >> > Hello, >> > >> > Sending to Xen, drivers and virtualization mailing lists since this might > be of interest to the folks on thes

Re: Problem with vmexit on mtrap

2014-08-18 Thread Neel Natu
Hi Martin, On Sat, Aug 16, 2014 at 12:33 PM, Martin Steegmanns wrote: > On Tue, Aug 12, 2014 at 06:39:18PM -0700, Neel Natu wrote: >> The VM-exit instruction length field is valid only for a subset of VM >> exits. See section 27.2.4 "Information for VM exits due to instruct

Re: Problem with vmexit on mtrap

2014-08-12 Thread Neel Natu
Hi Martin, On Tue, Aug 12, 2014 at 2:24 AM, Martin Steegmanns wrote: > Hello list! > I modified bhyve to toggle the MTF bit on an UD2 instruction. > In a guest system, a program does: > __asm__ __volatile__( > "UD2" > "NOP" > "xor %rax,%rax" > "NOP" > "UD2" > ); > > On the fir

Re: Panic: 32-bit PAE enabled OS with 4GB RAM and 2 vCPUs on Bhyve

2014-07-18 Thread Neel Natu
Hi Prakhar, On Thu, Jul 17, 2014 at 11:15 AM, Prakhar Deep wrote: > Hi, > > > I am facing kernel panic when 2nd processor is executing it's reset > code while running a 32-bit OS as a VM (with PAE enabled) on ‘bhyve’ with > following parameters: > > 1. Number of vCPUs 2 or more, and > > 2.

Re: tmpfs panic

2014-07-06 Thread Neel Natu
Hi Steve, On Sun, Jul 6, 2014 at 8:46 AM, Steve Wills wrote: > I should have noted this system is running in bhyve. Also I'm told this panic > may be related to the fact that the system is running in bhyve. > > Looking at it a little more closely: > > (kgdb) list *__mtx_lock_sleep+0xb1 > 0xff

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-27 Thread Neel Natu
Hi, On Thu, Jun 26, 2014 at 3:43 PM, Neel Natu wrote: > Hi Sean, > > On Thu, Jun 26, 2014 at 3:23 PM, Sean Bruno wrote: >> On Thu, 2014-06-26 at 15:00 -0700, Neel Natu wrote: >>> Hi Sean, >>> >>> On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: >

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-26 Thread Neel Natu
Hi Sean, On Thu, Jun 26, 2014 at 3:23 PM, Sean Bruno wrote: > On Thu, 2014-06-26 at 15:00 -0700, Neel Natu wrote: >> Hi Sean, >> >> On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: >> > On Thu, 2014-06-26 at 14:42 -0700, Sean Bruno wrote: >> >> so,

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-26 Thread Neel Natu
Hi Sean, On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: > On Thu, 2014-06-26 at 14:42 -0700, Sean Bruno wrote: >> so, we're seeing the bhyve vms running in the freebsd cluster for >> jenkins crashing and burning after a couple of days of use. >> >> vm exit[9] >> reason VMX >> rip

Re: interrupt storm on ahci

2014-06-07 Thread Neel Natu
Hi Steve, On Sat, Jun 7, 2014 at 2:28 PM, Peter Grehan wrote: > Hi Steve, > > >> I'm running a FreeBSD guest in bhyve on a FreeBSD host. Both are running >> FreeBSD CURRENT, r266947. I've gotten this message about 12 times since >> boot: >> >> interrupt storm detected on "irq268:"; throttling int

Re: SR-IOV Patch Series 2/7: bhyve integration

2014-06-02 Thread Neel Natu
Hi Ryan, On Mon, May 26, 2014 at 6:51 PM, Ryan Stone wrote: > The bhyve work to interoperate is quite simple. PCI Passthrough > through the ppt driver works just fine with SR-IOV VFs. The three > changes are: > > - allow ppt devices to detach. This would happen if the administrator > destroyed

Re: bhyve ahci issue

2014-05-25 Thread Neel Natu
Hi Steve, On Sat, May 24, 2014 at 6:50 PM, Steve Wills wrote: > Hi, > > A bhyve VM I run had this: > > pid 79784 (bhyve), uid 0: exited on signal 6 (core dumped) > > and the only thing on the console was this: > > ahcich0: Timeout on slot 27 port 0 > ahcich0: is cs ss r

Re: [PATCH] Flexible vcpu pinning configuration

2014-05-05 Thread Neel Natu
Hi Roman, On Thu, May 1, 2014 at 7:30 AM, Roman Bogorodskiy wrote: > Neel Natu wrote: > >> Hi Roman, >> >> On Sun, Apr 27, 2014 at 3:45 AM, Roman Bogorodskiy wrote: >> > I've created an initial version of the patch which allows more flexible >> >

Re: bhyve and serial port emulation problem

2014-05-01 Thread Neel Natu
Hi Olivier, On Wed, Apr 30, 2014 at 3:28 PM, Olivier Cochard-Labbé wrote: > On Wed, Apr 30, 2014 at 7:33 PM, Neel Natu wrote: >> >> Hi Olivier, >> >> >> Can you share the command line options you pass the bhyve(8)? >> > > Hi Neel, > > su

Re: bhyve and serial port emulation problem

2014-04-30 Thread Neel Natu
Hi Olivier, On Tue, Apr 29, 2014 at 2:12 PM, Olivier Cochard-Labbé wrote: > Hi, > > I'm using the same nanobsd image on Virtualbox and bhyve (-CURRENT r265101). > > The nanobsd image I'm using is configured for serial port as default > console: > > [root@nanobsd]~# cat /boot.config > -S38400 -h >

Re: [PATCH] Flexible vcpu pinning configuration

2014-04-29 Thread Neel Natu
Hi Roman, On Sun, Apr 27, 2014 at 3:45 AM, Roman Bogorodskiy wrote: > I've created an initial version of the patch which allows more flexible > vcpu pinning configuration. > > Current schema is: > > bhyve -p N > > pins vcpu i to hostcpu N + i. > > The propsed extension is: > > bhyve -p N:M -

Re: Google Summer of Code 2014 question

2014-03-20 Thread Neel Natu
Hi John, On Wed, Mar 19, 2014 at 2:36 PM, John Matty wrote: > Hello everybody, > > My name is John, and I was interested in doing Google Summer of Code for > FreeBSD this Summer. I am currently interested in writing a virtual machine > execution language. A rough draft of my proposal can be fou

Re: Clock in bhyve

2014-03-15 Thread Neel Natu
Hi Andrea, On Sat, Mar 15, 2014 at 11:14 AM, Andrea Brancatelli wrote: > > > Hello everybody. > > I have a stupid question for you :) > > Is the clock in bhyve virtual or just a hook the host? > > I mean, should I run ntpd inside the VMs as I would do, let's say, with > VMWare, or is it enough to

Re: bhyve core dump...

2014-02-28 Thread Neel Natu
Hi Andrea, On Thu, Feb 27, 2014 at 6:58 AM, Andrea Brancatelli wrote: > Hello guys. > > I was installing mysql56 in a freebsd10 inside freebsd 10 and while doing > the install the machine bombed out. In the console this is what I got: > > Assertion failed: (aior != NULL), function ahci_handle_dma

Re: Bhyve segfaults when accessing the network

2014-02-24 Thread Neel Natu
Hi Paul, On Sun, Feb 23, 2014 at 7:57 AM, Paul Schenkeveld wrote: > Hi, > > I tried to get bhyve to run on my home server but got consistent > crashes as soon as I touch the network. > > Hardware: Supermicro X9SPV-F3610ME-O (embedded i5) with 16GB RAM > > Host kernels (+userland of the same versi

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-11 Thread Neel Natu
Hi Craig, > On Feb 11, 2014, at 2:29 PM, Craig Rodrigues wrote: > >> On Tue, Feb 11, 2014 at 11:11 AM, John Baldwin wrote: >> >>> On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: >>> Hi Craig, >>> >>> On Sun, Feb 9, 2014 at 1:1

Re: Networking issues

2014-02-09 Thread Neel Natu
Hi Sebastian, On Fri, Feb 7, 2014 at 12:03 PM, wrote: > Hello virtualization-lovers, > > I am very dedicated to FreeBSD since 7.2 and welcome the new bhyve > hypervisor. :) > > So I set everything up, launched the guest and set up the network. The > problem now is, I can reach the host IP, but n

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Aryeh, On Sun, Feb 9, 2014 at 2:34 PM, Aryeh Friedman wrote: > On Sun, Feb 9, 2014 at 5:18 PM, Craig Rodrigues wrote: > >> >> >> >> On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman >> wrote: >> >>> >>> >>> >>> On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues wrote: >>> Hi, I post

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 2:18 PM, Craig Rodrigues wrote: > On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman > wrote: > >> >> >> >> On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues wrote: >> >>> Hi, >>> >>> I posted some rc.d scripts that I am using to boot a BHyve VM >>> and send the output

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues wrote: > Hi, > > I posted some rc.d scripts that I am using to boot a BHyve VM > and send the output to a serial console using the /dev/nmdm > driver: > > http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-January/002040.html >

Re: Enable bvmconsole and bvmdebug on i386?

2014-02-07 Thread Neel Natu
Hi John, On Fri, Feb 7, 2014 at 8:38 AM, John Baldwin wrote: > I was able to test bvmconsole and bvmdebug on an i386 guest today. The only > change required was to copy the entries from files.amd64 to files.i386. Are > there any objections to committing that? > None at all. best Neel > -- >

Re: BHyVe - ESXi comparison

2014-01-28 Thread Neel Natu
Hi Andrea, On Tue, Jan 28, 2014 at 3:18 AM, Andrea Brancatelli wrote: > Hello everybody. > > We did a very rough comparison betweend BHyVe and VMWare ESXi. Maybe you > want to give it a read and let me know if I did write a bunch of sh!t :-) > Looks good to me :-) > http://andrea.brancatelli.it

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
Hi Jonas, On Thu, Jan 23, 2014 at 1:02 PM, Jonas Bülow wrote: > I had one working ubuntu13.10 vm instance but I'm unable to reproduce it. > When I try to start the vm I get: > > /usr/sbin/bhyve -c 1 -m 2048 -A -I -H -s 0,hostbridge -s > 2,virtio-blk,./vm/vm1/vm1.img -s 3,virtio-net,tap1 -s > 4,ah

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
I can debug this locally based on your steps. best Neel > /j > >> 23 jan 2014 kl. 18:07 skrev Neel Natu : >> >> Hi Jonas, >> >>> On Thu, Jan 23, 2014 at 8:00 AM, Jonas Bülow wrote: >>> I will describe the steps when I manage to reproduce the install

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
Hi Jonas, On Thu, Jan 23, 2014 at 8:00 AM, Jonas Bülow wrote: > I will describe the steps when I manage to reproduce the installation. > Right now I get stuck with undestroyable vm instances: > > root@bulow:/mnt/bhyve-script # ls /dev/vmm/ > > lin0 > > root@bulow:/mnt/bhyve-script # bhyvectl --de

Re: bhyve and legacy

2014-01-22 Thread Neel Natu
Hi John, On Wed, Jan 22, 2014 at 2:15 PM, John Baldwin wrote: > Is there any interest in supporting more "legacy" setups via bhyve? In > particular, I'd like to take a whack at improving the PCI INTx support, but > that can involve several things such as possibly implementing 8259A support > and

Re: kldload vmm partial lockup

2014-01-21 Thread Neel Natu
sr/src/sys/GENERIC > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > root@jmhome-pc:/usr/src # > > On Jan 19, 2014, at 8:43 PM, Neel Natu wrote: > > Hi Joe, > > On Sun, Jan 19, 2014 at

  1   2   >