Re: VMWare/Virtualbox virtio network drivers?

2011-09-28 Thread Peter Grehan
do you know if an MFC is planned? Yes - I'll MFC the drivers into 8.* and 9.* after they go into head. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To

Re: bhyve installation problem freebsd 8.3

2012-03-28 Thread Peter Grehan
Hi, After checking out /projects/bhyve, when I type 'make world' I get the following error Firstly, you may want to check that your system has the VT-x/EPT features in the Intel CPU you have, or bhyve won't be able to run. Have at look at the Hardware Requirements section of the article at

Re: Bhyve on AMD possible?

2012-03-29 Thread Peter Grehan
I would like to inform me about support for AMD bases CPU's on BHYVE The hooks are there, but no code currently to implement AMD's SVM. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: Bhyve on AMD possible?

2012-04-02 Thread Peter Grehan
Hi, Is there any reason for the AMD SVM support to be not in place ? There wasn't enough time to get it going when bhyve was first developed. Am I missing something here? Is there any effort currently that you are aware of to make it work with AMD SVM? No current effort to my knowledge.

Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory

2012-08-20 Thread Peter Grehan
Hi Roman, Yeah, but I'd like to leave more memory for the host system, so I specified 6GB. I have 8GB at all, so 2GB left for VMs. Should it cause any problems? No, that should be fine. BTW, I encountered a problem with the tap0 device. I create a tap device and assign an address to it,

Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory

2012-09-10 Thread Peter Grehan
Hi Roman, I start a VM like that: sudo /usr/sbin/bhyveload -m 256 -M 0 -h /var/run/bhyve/test1/vm1 test1 sudo /usr/bin/cpuset -l 0-3 /usr/sbin/bhyve -m 256 -M 0 -s 1,virtio-net,tap0 test1 The last commands give me: Failed to emulate instruction at 0x80594f3a What could be wrong

Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory

2012-09-13 Thread Peter Grehan
Hi Roman, When I was seing this 'Failed to emulate instruction at 0x80594f3a', it happened right after boot loader menu (the one with the ascii-art). At that time I had 'hw.physmem=0x18000' in my host's loader.conf. Also the problem wasn't 100% reproducible, it started to show up

Re: question on bhyve + 9-stable

2013-01-02 Thread Peter Grehan
Hi Alfred, this worked perfectly!! Good to hear :) Let me know if you need any info or stuff done on this rig. The point is for me to run FreeBSD 9-stable and FreeNAS to do development and testing. Let us know how it goes and importantly, what features you'd like to see. later, Peter.

Re: question on bhyve + 9-stable

2013-01-02 Thread Peter Grehan
Hi Alfred, Well... :) 1) When will the code be merged into HEAD? We'd like to do that asap, though folk would have to be fine with it being considered experimental, and that there would still be work going on up to the 10 freeze (e.g. man pages, perf improvements etc), and also beyond

Re: question on bhyve + 9-stable

2013-01-03 Thread Peter Grehan
Hi Alfred, The only issues I had were just due to that it has not been integrated into head yet. I guess we may be stuck due to binutils for a while? I am not sure. jhb fixed that for us in http://svn.freebsd.org/changeset/base/238167 so no problems there. later, Peter.

Re: run bhyve vm headless

2013-01-31 Thread Peter Grehan
Hi Marat, I`m trying to run bhyve on 10-CURRENT, from http://svn.freebsd.org/base/projects/bhyve, and i would like to run vm in headless mode, to start them from rc.d script. When running 10-CURRENT guest, i simply removed -S 31,uart from bhyve command, and the guest started fine. I didn't

Re: bhyve hangs on going multi user

2013-02-07 Thread Peter Grehan
Hi Sevan, CPUTYPE?=corei7-avx Hmmm, could be from this. bhyve doesn't expose AVX to the guest (yet), so if user processes unconditionally use AVX instructions that may result in a coredump. I can now make a guest panic if I assign 4GB or more RAM. What are the memory params you are

Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install

2013-03-17 Thread Peter Grehan
Hi Alfred, If you do this repeatedly, it may be possible to see some patterns e.g. counters incrementing, %RIP values being the same etc. Hmm, I keep seem to be getting this: /usr/home/alfred # bhyvectl --get-all --cpu=0 --vm=freebsd-stable lowmem 0x/536870912 highmem

Re: bhyve tty / login problems / panic

2013-03-28 Thread Peter Grehan
Hi Dan, Any ideas? Just to confirm: your host system is an i7 3930k, which looks like a 6 core system. Should be plenty beefy enough for a 2 vCPU guest. The issue you are seeing looks a bit like what happens when systems are heavily oversubscribed and vCPUs can't get enough run time.

Re: suspend/resume on BHyVe

2013-04-03 Thread Peter Grehan
You can dump whole struct just a binary array(don't look into it in your program), and get sizeof(vmxctx) via ioctl return. It should enough to suspend/resume. Then if AMD SVM mode will have different values on the structure, your implementation won't break. Does it make sense? Peter, Neel

Re: Fatal trap 1: priviledged instruction fault while in kernel mode...

2013-04-13 Thread Peter Grehan
Hi George, I just started trying to run bhyve on a Thinkpad X220. This has a core i5 and EPT support, dmesg attached. I'm trying with the March snapshots (02 March and 30 March so far) and have gotten the above panic instantly upon trying the vmrun.sh script. I took a shot of the screen

Re: bhyve console question

2013-04-27 Thread Peter Grehan
Hi Dan, For those of you tinkering with bhyve; quick question. I've noticed that everything I type on the console ends up in /var/log/messages on the guest. This includes all shell activity and login stuff. Is this expected behaviour ? What does your /etc/ttys/ look like ? I think if

Re: bhyve console question

2013-04-28 Thread Peter Grehan
HI Dan, Yes, the current bhyve-manual has that as a step in the configuration (http://bhyve.org/bhyve-manual.txt) which I guess is the culprit. I guess I just didn't expect that side effect but admit to not spending much time thinking about it first :-) I think it was done that way since

Re: bhyve console question

2013-04-28 Thread Peter Grehan
Hi Dan, uart2: 16550 or compatible port 0x3f8-0x3ff irq 4 at device 31.0 on pci0 uart2: console (9600,n,8,1) which maps to the bhyve argument given: '-S 31,uart,stdio' Yes - the '-S' parameter instructs the PCI device to use a compatibility address so the console code can still access

Re: bhyveload vm_create: Device not configured

2013-04-30 Thread Peter Grehan
Hi Lars, Xen is not an option either, because AFAIK FreeBSD still doesn't have dom0 support. Is there any other virtualization option to look into? VirtualBox should work fine on this h/w. later, Peter. ___ freebsd-virtualization@freebsd.org

Re: making bhyve 100% silent

2013-06-28 Thread Peter Grehan
Hi Aryeh, bhyve(8) seems to bypass the standard stdin/out/err and send it's output directly to the TTY when handling guest console I/O. I need to make it so it is 100% silent (and/or send all it's output to a file and accept no input at all). How can I do this? For now, edirect

Re: making bhyve 100% silent

2013-06-28 Thread Peter Grehan
removing stdio makes a 10-CURRENT guest unbootable (it freezes immediately after the boot menu) It's should be working - there's just no console output. Do you have a network port that you can ping/log into ? later, Peter. ___

Re: bhyve vs. physical cores

2013-07-01 Thread Peter Grehan
Can bhyve run more cores then are physically present... Should be able to. Try the '-P' option - it may help. I have 2 vm's one with 2 cpu's and one with 1 on a 4 core host and the 2 core doesn't start if the 1 core is running but if I make both 1 core they both run just fine When you

Re: calcru runtime went backwards

2013-07-08 Thread Peter Grehan
Hi Kurt, CPU: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (2300.13-MHz K8-class CPU) Looks like this Sandy Bridge has turbo-boost. First step is to disable that in the BIOS and see if that has any effect. How many vCPUs in the guest ? later, Peter.

Re: bhyve fails to boot 9.1-RELEASE CD image

2013-07-15 Thread Peter Grehan
Hi Aryeh, I get this when attempting to boot a 9.1-RELEASE ISO (amd/dvd1): The virtio drivers didn't make it into 9.1 :( later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: Standalone binary loader for BHyVe

2013-08-05 Thread Peter Grehan
Hi Takuya, I implemented standalone binary loader for BHyVe. This allows to load custom program on guest memory area, and run it from specified entry point address. I wrote this for test code of BHyVe suspend/resume project(Yoneji Iori's work), but it might be useful for some other purposes.

Re: bhyve and virtualbox on the same host using EPT

2013-08-06 Thread Peter Grehan
Hi Rob, Bhyve generates the following error after the bootloader screen: - Booting... 4 vCPUs requested but only 1 available - What this means is that the model of CPU that you have

Re: 9.2. + bhyve

2013-08-11 Thread Peter Grehan
Hi Aryeh, What is the status of bhyve in 9.2? bhyve won't be backported to 9-stable. 9.2 does run fine as a guest under CURRENT. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: ot: who to report a bug in if_tap to?

2013-08-13 Thread Peter Grehan
Hi Aryeh, It appears that a bridged if_tap does not understand DHCP on the physical NIC... who do I report this to? First, what's your configuration ? Is the DHCP server connected via the physical NIC ? What does a tcpdump show ? later, Peter.

Re: CFT: nested page table integration with amd64/pmap

2013-08-23 Thread Peter Grehan
I always wondered about virtualization environments which have pageable guest memory - how does the guest kernel handle situations where it really needs non-pageable memory? Does is simply not care because for it the memory access looks just like it isn't paged but is simply very, very slow?

Re: CFT: nested page table integration with amd64/pmap

2013-08-26 Thread Peter Grehan
For time-sensitive situations, there's not a lot of options other than forcing guest memory to be wired, since there isn't visibility into the host without having o/s-specific tools that could communicate this information to the hypervisor. Ok, that is how I understood it also, but I thought

Re: bhyve and AMD

2013-09-11 Thread Peter Grehan
Hi, The bhyve site says, AMD SVN support arrived on August 22nd, 2013 with FreeBSD svn r254677 and requires testing. How can we tell which AMD processors are supported? Would that be the same AMD processors that are listed on the following page as having Rapid Virtualization Indexing Required

Re: bhyve and AMD

2013-09-11 Thread Peter Grehan
Hi, No, that's the main one. [DN:] When you say that that's the main one, do you mean that there are also other features that an AMD processor must have, besides RVI, to be compatible with bhyve, but that might be absent in some AMD processors with RVI? If so, what other features should I

Re: Problems with missing ttyv devices in BHyve?

2013-10-03 Thread Peter Grehan
Hi Craig, A few questions for you. (1) I want to get the same FreeNAS image working inside Bhyve and on real hardware. In the source code for /sbin/init, when it parses /etc/ttys, if the entry does not exist, it prints out an error message about not being able to find the

Re: Problems with missing ttyv devices in BHyve?

2013-10-04 Thread Peter Grehan
Hi Craig, However, what I am trying to test is the early stage bootup of our installation CD, before FreeNAS is installed on the disk. When our CD boots up, it presents a text-based dialog menu where the user can select certain items and choose which disk to install on. If I could access the

Re: Use humanize_number() inside bhyveload?

2013-10-04 Thread Peter Grehan
Hi Craig, Can we use expand_number() in bhyve_load? Please commit this change :) later, Peter. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to

Re: svn commit: r256056 - head/usr.sbin/bhyve

2013-10-04 Thread Peter Grehan
Hi Aryeh, Does this mean it will now take /dev/cdX as a parameter? Not yet: there's some other issues to resolve with that. AHCI/ATAPI drives will show up as /dev/cdX in the guest, though. later, Peter. ___ freebsd-virtualization@freebsd.org

Re: svn commit: r256072 - in head: lib/libvmmapi sys/amd64/amd64 sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io usr.sbin/bhyve usr.sbin/bhyvectl usr.sbin/bhyvel

2013-10-06 Thread Peter Grehan
Hi Aryeh, A few questions on this commit and the ones Peter did yesterday: * Does this mean bhyve can now run recursively (using a guest as a host)? No. * If not what new functionality does this allow? Neel's commit allows demand-paging/swapping of guest memory i.e. overcommit, just

Re: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan
Hi, I'm trying to test bhyve on this testsystem I have. But is does not create /dev/vmm Is this because this processor does not support the right set of features? The bhyve code in 10.0 is Intel-only. If you're willing to build FreeBSD from source, there is a project branch with AMD SVM

Re: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan
Hi Aryeh, Will bhyve ever support AMD directly and, if not, will the above project be included in the future releases? Yes - the project branch will be merged into HEAD when it is done. Not sure if it can make 10.0. If not, will definitely make 10.1 later, Peter.

Re: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan
I already have the sources for head Can I just grab the vmm driver in the tree with the AMD stuff and plug that in the sources that I already have? I think that should work (though, the resulting vmm.ko will only work on an AMD system) later, Peter.

Re: Bhyve Exit Console keyboard shortcut?

2013-10-10 Thread Peter Grehan
Hi, I've been testing with bhyve but so far found no away to get out of the console without shutting down the guest! Am I missing something is this really not possible? It takes over stdin/stdout with no way of escaping. One way to get around this is to start bhyve under tmux/screen.

Re: Bhyve Exit Console keyboard shortcut?

2013-10-10 Thread Peter Grehan
One way to get around this is to start bhyve under tmux/screen. Its what I've been doing for now, but even in tmux one might want to exit the console similar to with we do with Xen. I quite like how Xen does it. bhyve will hopefully have something similar soon. Also is there any way to

Re: Running bhyve on a AMD 1075T Phenom

2013-10-14 Thread Peter Grehan
Hi Craig, There was a lot of non-trivial stuff done in the amd64 pmap code and the BHyve intel module for bhyve_npt_pmap, and these changes have not been made for the amd svm code. Yes, that's right. Does anyone have patches for the svm code? Not yet - Anish is working on it. later,

Re: Three observations on Bhyve

2013-10-25 Thread Peter Grehan
(1) You can't boot an i386 ISO. It can't load the kernel. I half expected this would be the case. It would be nice if this did work. The loader work isn't too bad to get this going, but the bhyve work is quite a bit more effort since the i386 kernel makes a lot more assumptions about the

Re: Three observations on Bhyve

2013-10-25 Thread Peter Grehan
That's bhyve colliding with GEOM. There was a thread a while back about being able to exempt certain block devices from being tasted for iSCSI LUN usage - bhyve will probably need something similar. Is this different from the kern.geom.notaste sysctl des@ added recently? Yes. I've not

Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-28 Thread Peter Grehan
Hi Craig, I notice that in BHyve, if I try to do shutdown -p now, there is an ACPI error: == Halting and powering down... Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process

Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-29 Thread Peter Grehan
Hi Aryeh, Yes. bhyve doesn't advertise sleep/power states [...] When (if ever) is such support planned? It is needed to monitor the current state of the vm so that automated tools like PetiteCloud and FreeNAS can know when to issue any clean up commands they may need to run Not sure

Re: how is the MAC for tap(4) computed?

2013-11-04 Thread Peter Grehan
Hi Aryeh, There seems to be a very high rate of MAC address collisions when tap is running on different machines is there anyway to make the selection of MAC more random Do you mean, tap(4) when used with bhyve ? If so, bhyve calculates the MAC address for adapters based on an md5 hash

Re: strange error from bhyve

2013-11-20 Thread Peter Grehan
Hi Aryeh, When I run the following script bhyveload exits normally but when bhyve runs I get: Error return from kevent change: Operation not supported by device Hmmm, I've not seen that before. Are you able to do a build of bhyve and run it in gdb ? The script: #!/bin/sh ifconfig

Re: bhyve - non *bsd guests

2013-11-26 Thread Peter Grehan
Hi Scott, The error I'm getting is: VM unrestricted guest capability required Error in initializing VM It's this one: b) the CPU does not support what I'm trying to do Your 5570 CPU is a first-gen Nehalem. These models don't have 'unrestricted-guest' VT-x support which is required

Re: Upcoming FreeBSD 10.x + bhyve ...

2013-12-02 Thread Peter Grehan
Hi Marc, I just read through http://bhyve.org/bhyve-manual.txt, and one thing that doesn’t seem to be supported (or, I’ve missed it) is HeadLess support … I get the impression that using this on a remote server isn’t currently possible, or am I missing something in the docs? It is. The

Re: Upcoming FreeBSD 10.x + bhyve ...

2013-12-02 Thread Peter Grehan
Hi Marc, It is. The easiest is using the recent change (r258668) which allows bhyveload and bhyve to direct output to a tty instead of just stdio. ‘k, that would work … so *if* I’m reading the docs right, the intiial build of the file system / install of guest OS, happens on an interactive

Re: Upcoming FreeBSD 10.x + bhyve ...

2013-12-03 Thread Peter Grehan
Hi Marc, How about disk size? The Instructions for vmrun.sh state: 6. Select default console type vt100 or whatever is appropriate for you Install on disk device vtbd0 (appears as a 8GB disk device) At the end select yes when the Manual Configuration box appears. I’m assuming that

Re: Upcoming FreeBSD 10.x + bhyve ...

2013-12-03 Thread Peter Grehan
Hi Ivan, What is the status of running foreign (non-FreeBSD) guests in bhyve in 10.0 and CURRENT? Recent Linux/x64's should work using grub-bhyve from ports. The easiest to use are server distros with grub2 native - Ubuntu 12/13 LTS, Debian 6/7. RHEL/CentOS 6.* works but with some manual

Re: Upcoming FreeBSD 10.x + bhyve ...

2013-12-04 Thread Peter Grehan
Hi Michael, In short: -S 31,uart,stdio Becomes: -S 31,uart,/dev/nmdm0A This will continue to work, though the preferred way of setting up a console port is to use the PCI-ISA (aka LPC) bridge -s N,lpc (N can be any slot number on bus 0, usually 1..31) There are 2 serial ports

Re: bhyve - non *bsd guests

2013-12-11 Thread Peter Grehan
Hi Scott, No issues with the Intel E5-2650v2 running multiple processors per guest and Linux/OpenBSD? Just want to verify before I place a rather large order of hardware. I've not personally run bhyve on that exact model, but it runs fine on Ivy Bridge desktop and other server models

Re: Means to control a bhyve VM instance

2013-12-21 Thread Peter Grehan
Hi Michał, May I ask you about the means to control a VM instance. I mean by that something providing similar features as QEMU's monitor interface along with QEMU Machine Protocol (QMP) do. Has it already been decided/designed how bhyve is going to handle features like a soft start/stop of a VM

Re: nmdm doesn't create entries in /dev (10.0-RC2+)

2013-12-24 Thread Peter Grehan
Hi Dennis, Bhyve newbie trying to get it to start. No problems. I am getting the FreeBSD loader but it then exits when the loader goes to boot. I've also found kldload nmdm does not create any entries in /dev. Isn't it suppose to? I'm not sure what I am doing wrong. nmdm(4) is a

Re: Real Device with BHyve

2014-01-03 Thread Peter Grehan
Hi Andrea, Well, the machine starts ok but when the child FreeBSD starts installation something strange happens. When I get to the partitioning screen I can see the device avaiable as /dev/vtdb0 with the correct size and such. I choose autopartitioning, the installer writes the partition table

Re: Remote serial console for BHyve VM?

2014-01-06 Thread Peter Grehan
Hi Craig, I am working with Sean Bruno to set up some BHyve VM's. Great ! If I want to have the VM's start via an rc.d script, and have the VM be headless, what is the best way to have the VM console still be accessible? Has anyone done something like use netcat to direct the BHyve stdio

Re: Bhyve infos about a vm

2014-01-13 Thread Peter Grehan
Hi Andrea, Whats the command to list all the attached devices to a vm? The only way currently is to list the bhyve command line using ps. Any preferences for how you'd like to see this ? later, Peter. ___ freebsd-virtualization@freebsd.org

Re: KVM Clock

2014-01-14 Thread Peter Grehan
Hi Julian, is anyone working on KVM clock support for FreeBSD? If not, I might take a shot at it. None I know of: go for it :) later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: Linux guest

2014-01-14 Thread Peter Grehan
Hi, i had problem during installation of linux guest. I used bhyve” script for create and start the linux vm,it run without detected controller sata using virtio-blk. with ahci-hd the system found disk drive and install the system correctly,but show error in console : [

Re: BHyVe as non root

2014-01-16 Thread Peter Grehan
Hi Andrea, do you see any particolar problem (devices who need to have the owner changed, limitations of any kind...?) in running BHyVe as non-root? There's 2 issues - firstly, bhyve is new and hasn't had a lot of exposure. It's probably safest to restrict it to root for a while to avoid

Re: panic: AP #1 (PHY# 1) failed!

2014-01-19 Thread Peter Grehan
Hi Sergey, Now I can say it happens not every time but one time on two or three good boots. Are you destroying the VM after the bhyve process exits and before each load ? i.e. bhyvectl --destroy --vm=vmname If not: that's required. If so, then could be a bug and yes we may need

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-21 Thread Peter Grehan
Hi Takuya, * Ubuntu 13.10 Almost boot-up but couldn't mount cdrom. That's a Linux issue - there isn't a virtio block driver in the installer's initrd so it can't be used as the backend for the ISO image. Use ahci-cd instead for the ISO. I've been able to boot Ubuntu

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-21 Thread Peter Grehan
Hi Takuya, * Debian 7.3 with bhyve-scripts Able to install, bootup! But serial console sometimes outputs AT+GCAP or something, looks like AT command? Maybe I mis-configured Debian during installation? I think I saw this but it eventually popped up a login prompt. Guessing it was attempting

Re: bhyve with Xorg/kde

2014-01-25 Thread Peter Grehan
Hi, any idea of how to make Xorg + KDE run within an FreeBSD 10 instance running from bhyve? The only current way is to setup X in the guest to display remotely. I've done this with Linux and it worked well. later, Peter. ___

Re: bhyve with Xorg/kde

2014-01-25 Thread Peter Grehan
Hi, I can run apps like, firefox, xterm, etc, but not a desktop. my idea was to use bhyve as a remote workstation and be available to export the full environments (kde/xfce etc) I admit I've not tried this with a FreeBSD guest, but with an Ubuntu guest I was able to start KDE and send the

Re: BHyVe - ESXi comparison

2014-01-28 Thread Peter Grehan
Tomorrow we'll rearrange everything and redo all the testing. One more item: when running the test with 20 x 2-vCPU VMs, make sure that the -P option is being used. This forces bhyve to do a vmexit when a PAUSE instruction is hit e.g. when the locking code starts spinning. This gives the

Re: does grub-bhyve limit guest ram?

2014-01-29 Thread Peter Grehan
Hi Aryeh, When I try to run a guest with 4G it fails but with 2GB it works What does the failure look like ? grub-bhyve doesn't support the humanized mem syntax - the memory amount has to be specified in units of MB. later, Peter. ___

Re: strange behavior out of a supported bhyve CPU

2014-01-29 Thread Peter Grehan
Hi Aryeh, CPU: Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz (2998.33-MHz K8-class CPU) Should be no issues with that one (desktop Haswell). /usr/sbin/bhyveload -m 512 -d /vms/import/backupInstance 8e2nt39puc A verbose boot may help diagnose this: would you be able to add -e boot_verbose=1

Re: bhyve - ESXi comparison part 2

2014-01-31 Thread Peter Grehan
Hi Andrea, Here comes the part 2 of our bhyve - ESXi comparison. Excellent work :) My take is that there is more general hypervisor overhead with bhyve. Given that both user and system times from the benchmark are almost uniformally larger for bhyve in all tests points to this. There has

Re: some interesting observations on the relative performance of kvm vs. bhyve

2014-02-01 Thread Peter Grehan
I have 1 host that dual boots FreeBSD and Ubuntu 12.04.3 LTS and bhtyve seems to be atleast 3 or 4 times faster with disk I/O then kvm using the most stripped down command lines I can come up with. I'm guessing that the default cache mode for qemu in that release is none. You may want to

Re: some interesting observations on the relative performance of kvm vs. bhyve

2014-02-01 Thread Peter Grehan
Hi Aryeh, Does this bring up the same power failure scenario issues mentioned in the link you provided?It seems like the only way to get reasonable performance is to be essentially unsafe in guest writes to the host disk? Use ZFS and a ZIL to mitigate this. Or UFS with journalling. A

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-07 Thread Peter Grehan
Hi Olivier, just a report of my migration to bhyve. Yeah !!! First remark comparing the disk format: With an original nanobsd disk image of 488MB. - Virtualbox format disk size: 133M - bhyve raw disk size: 488M If you create a sparse file for the bhyve raw disk (e.g. with truncate -s),

Re: are ahci-hd images the same as raw under bhyve

2014-02-10 Thread Peter Grehan
Hi Aryeh, When I was playing with bhyve-grub a while ago I noticed there seemed to be little difference between ahci-hd and raw (if no format it given besides just naming a md file). Is it safe to treat the two formats interchangeably in bhyve (and bhyve-grub)? Can I do this to the point of

Re: CFT: bhyve AMD snapshot

2014-02-11 Thread Peter Grehan
Hi Aryeh, Fatal trap 30: reserved (unknown) fault while in kernel mode I'm not seeing this with a 10.0 guest on my Phenom II X6. However: root@:/home/aryeh # uname -a FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r261732: Tue Feb 11 03:19:01 EST 2014 aryeh@:/usr/obj/usr/src/sys/GENERIC

Re: Fwd: CFT: bhyve AMD snapshot

2014-02-11 Thread Peter Grehan
Hi Aryeh, root@:/home/aryeh # uname -a FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r261732: Tue Feb 11 03:19:01 EST 2014 aryeh@:/usr/obj/usr/src/sys/GENERIC amd64 This isn't the revision of the bhyve_svm branch - did you possibly do a sync before building this ? svn switch

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

2014-02-12 Thread Peter Grehan
Hi Craig, It seems pointless to me for the user to have to explictly destroy the VM. We're working on fixing it. What it gave during the development process (and still gives) is the ability to get post-mortem information when the bhyve process exits. Once the bhyve process exits, I

Re: Fwd: CFT: bhyve AMD snapshot

2014-02-12 Thread Peter Grehan
Hi Aryeh, kernel panic during boot Can you post a verbose boot log with the panic (i.e. boot -v from the loader prompt) ? later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: best branch for bhyve on AMD?

2014-02-12 Thread Peter Grehan
Hi John, Am I right in thinking that bhyve support for AMD processors is not yet in -STABLE? Yes, that's correct. If so, is there working code for bhyve under AMD anywhere? Where? -HEAD, projects/bhyve_svm or somewhere else? projects/bhyve_svm Is it considered experimental, stable, or

Re: bhyve and FreeBSD 8.1

2014-02-19 Thread Peter Grehan
Is there any way to get FreeBSD 8.1 working under bhyve? I've read the FAQ and it says 8.4 upwards, but thought it was worth asking here just in case it can be done just not in a supported way... :) You'll need to backport the virtio drivers. There is a port that advertizes 8.2 as the

Re: bhyve crashes... tip to /dev/nmdm1B

2014-02-19 Thread Peter Grehan
Hi Rudy, # tip vm1 Could not open backing file: No such file or directory This is a valid error message from bhyve, and happens when the file attached to a block device can't be opened. connected {...I hit ENTER 5 times here...} This is probably the delay due to core being dumped.

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Peter Grehan
vm exit rdmsr 0xc0010015, cpu 0 --- And I've seen discussions in other threads about reading/writing cpu registers where some bits should be 0, but trap when being set (Or something close to this...???) So it could again be due to the amdsrc tree differences? It's Linux accessing

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Peter Grehan
It's a toy box here so if anything needs to be tested, worked out. Just let me know. And I'm willing to run the risk of lost work, because using the ignore option bites me You can try the -w option. Aryeh has reported that it works for him. later, Peter.

Re: bhyve FreeBSD 10.0 VM crashed

2014-02-23 Thread Peter Grehan
I've kicked off 3 2G vm's which do a continous while(1) { make -j 4 buidlworld } How many vCPUs on each VM, and on the host ? Hypervisors in general don't do too well when there is a lot of CPU oversubscription. bhyve may be a bit worse than the crowd with this since we've not had a lot of

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Peter Grehan
-w does not exist on my bhyve bhyve: illegal option -- w Hmmm, just checked and you're right. Looks like a mis-merge - this change went into CURRENT in early December, and the most recent sync for the SVM branch was from Jan 14 :( Now I'm wondering what else hasn't made it in :( later,

Re: Bhyve segfaults when accessing the network

2014-02-23 Thread Peter Grehan
Hi Paul, Hardware: Supermicro X9SPV-F3610ME-O (embedded i5) with 16GB RAM Host kernels (+userland of the same version): 10.0 RC5 10.0 RELEASE 10 STABLE Does the segfault happen on h/w with all of these ? (I think you mention below that it's only 10-stable that has

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Peter Grehan
Against what current version did you merge/build the SVM branch? I'll either check that out, or try my subversion skills to see if that reduces the diff. My mistake - the sync was a r259205, which was from Dec 10 and predates the -w option (r259635, Dec 17). later, Peter.

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Peter Grehan
On 23-2-2014 18:26, Peter Grehan wrote: Against what current version did you merge/build the SVM branch? I'll either check that out, or try my subversion skills to see if that reduces the diff. My mistake - the sync was a r259205, which was from Dec 10 and predates the -w option (r259635

Re: lazy bhyve doesn't boot until I conenct to console

2014-02-27 Thread Peter Grehan
Hi Rudy, I'm seeing something odd... I am running this command: bhyve -c 4 -m 2048M -H -P -A -s 0:0,hostbridge -s 1:0,lpc -s 2,virtio-net,tap1 -s 3,virtio-blk,/dev/zvol/data/vm1 -l com1,/dev/nmdm1A vm1 but I the VM is being lazy... A number of people have reported this, and looking at

Re: bhyve core dump...

2014-03-03 Thread Peter Grehan
Hi Andrea, 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, file /usr/src/usr.sbin/bhyve/pci_ahci.c, line 445. Abort trap (core dumped)

Re: bhyvectl

2014-03-03 Thread Peter Grehan
Hi Andrea, I just throw away at least one hour because I was running bhyvectl destroy --vm=something instead of bhyvectl --destroy --vm=something. Bhyvectl just silently ignored the wrong destroy instead of --destroy. Maybe it's worth printing out something in such circumstances??? :-) The

Re: Problem with ZFS userboot changes r262331 and VM with mixed partitions

2014-03-04 Thread Peter Grehan
Hi Craig, Can this flag be passed via bhyveload, and if so, how? It can't yet: the API to userboot has to be changed to allow this to be passed through. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

Re: bhyve: allow specifiying tty by fd

2014-03-06 Thread Peter Grehan
Hi Roman, Currently bhyve(8) allows to specify either stdio or device path as a TTY device. However, it could be useful to specify a TTY device by file descriptor, e.g. when bhyve is being executed in an automated way by other application, so a result of openpty(3) could be passed to it.

Re: bhyve: allow specifiying tty by fd

2014-03-06 Thread Peter Grehan
Hi Julian, and allows fd to be a socket! :-) Maybe not initially. There a bunch of code that wants to issue tty ioctls on the fd, so the code currently verifies that it is indeed a tty. later, Peter. ___ freebsd-virtualization@freebsd.org

Re: virtualbox and bhyve questions

2014-04-02 Thread Peter Grehan
Hi John, 1. I've read that virtualbox and bhyve cannot run at the same time. Is this still the case? (because I've managed to start a bhyve instance with virtualbox still running - is this a fluke?) If you use VirtualBox with VT-x disabled, i.e. binary translation mode, it will work.

Re: bhyve VM crashed

2014-04-08 Thread Peter Grehan
Hi Steve, The VM was building ports. I could try to deduce which ports, but I wouldn't be 100% sure. Probably no need, unless this can be repro'd by building that particular port. Some more questions: Were there other VMs running at the same time ? What's the type of host CPU/number of

  1   2   3   4   >