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 installation problem freebsd 8.3

2012-04-02 Thread Peter Grehan
Hi, I was able to successfully run through the steps and start running the virtual machine. However, once I start the guest, the host freebsd machine hangs. I have installed the freebsd host in x86_64 machine. This is the hw spec. sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' hw.machine:

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 - Host kernel panic after running 'kldload vmm'

2012-08-01 Thread Peter Grehan
6. Then cd to /usr/share/vm1 and execute './vmrun.sh vm1'. After the freebsd boot loader prompy comes up for the guest, after I hit enter, I get segfaulted with core. Thanks for the report ! Fixed in r238966 in the bhyve project branch. later, Peter.

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

2012-08-19 Thread Peter Grehan
Hi Roman, I have managed to boot a VM. Great ! The 4GB thing is hardcoded in the vmrun.sh script: The bhyve memory parameters mirror standard PC architecture. RAM is usually contiguous below 4GB, with the region from top-of-RAM to 4GB reserved for PCI memory-mapped i/o space.

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

Importing the Microsoft hyper-v PV drivers into CURRENT

2013-04-24 Thread Peter Grehan
Hi all, I'd like to start the process of bringing in Microsoft's hyper-v paravirtualized drivers into CURRENT. Here're the steps I'll follow: 1. Pull the hyperv driver-only git export (https://github.com/FreeBSDonHyper-V/VendorBranchForFreeBSDonHyper-V) into a vendor branch 2. A

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
Thanks an other issue is tap needs to be reset on reboot of the guest is there anyway around this? No, need to do some work on tap to fix that :( later, Peter. ___ freebsd-virtualization@freebsd.org mailing list

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: bhyve bug report and a question

2013-07-02 Thread Peter Grehan
Hi Aryeh, bhyve does not send a shutdown signal to guest OS's and wait from them to halt This requires a couple of things - an ACPI event channel in bhyve to inform the guest of events, and a way to signal bhyve to raise these events e.g. a simulated power-button press. On the TODO

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: calcru runtime went backwards

2013-07-17 Thread Peter Grehan
Hi Kurt, So, disabling Turbo-Boost doesn't resolve the problem. Thanks for the info. I have access to a machine with similar specs to will try and repro. 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: 10-CURRENT code freezes and bhyve

2013-08-27 Thread Peter Grehan
Hi Sam, For the interest of the mail archives, would you mind giving a update on guest OS support, eg booting linix? Centos 6.3 + UEFI was demo'd at BSDCan back in May. We're slowly getting the diffs for that into the tree with the goal being 10.0. Hope to have something for you soon Sam

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: bhyve(8) man page missing

2013-09-16 Thread Peter Grehan
I should of waited to send the complete list but vmm(4) is also missing We're aiming to get these done for 10. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To

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: how is the MAC for tap(4) computed?

2013-11-04 Thread Peter Grehan
Hi Michael, Peter, lost the last part of your message ... Doh: meant to say e.g. -s 5,virtio-net,tap0,mac=00:0c:29:3f:71:e2 An alternative would be hashing the vm name with the host name and host MAC address. Yes, though in that case a VM will end up with a different MAC address

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: Running bhyve on a AMD 1075T Phenom

2013-11-28 Thread Peter Grehan
Hi Sam, are we close to merging svm to HEAD? Almost there - Anish is chasing down a hard-to-find bug. later, Peter. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To

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: break to debugger in bhyve

2013-12-16 Thread Peter Grehan
Works fine for me once I compile with the ALT_BREAK_TO_DEBUGGER config option. Also works without that, but the sysctl (or tunable) has to be set: root@bhyve-b1:~ # sysctl debug.kdb.alt_break_to_debugger=1 debug.kdb.alt_break_to_debugger: 0 - 1 (issued the 3-char sequence CR ~ ctl-b)

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: Booting a disk image with GRUB in BHyve?

2013-12-23 Thread Peter Grehan
Hi Craig, (4) Tried vmrun.sh: vmrun.sh is FreeBSD-only. How can I boot something which uses GRUB bootloader in BHyve? There is a user-space port of grub2 that allows a number of Linux distros to boot (sysutils/grub2-bhyve). However, for Linux distros such as rhel/centos 6.* that use

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 infos about a vm

2014-01-16 Thread Peter Grehan
Is this thread moving to a try and guess? :-) Btw, this one doesn't work either. [root@environment-rm-01 ~]# ps -ax | grep bhyve 7942 0 R+ 2:49.28 bhyve: lin1 (bhyve) 7980 2 S+ 0:00.00 grep bhyve [root@environment-rm-01 ~]# mdconfig -lv [root@environment-rm-01 ~]# I think

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
On 1/21/14 9:20 PM, Takuya ASADA wrote: Looks like CentOS 6.5 with bhyve-script fails on same place: Unknown WRMSR code 391, val 200f, cpu 0 Did you succeeded with 10.0-RELEASE? not -CURRENT? The MSR access is dependent on the host CPU model, and doesn't show up on desktop variants.

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: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Peter Grehan
So, the conclusion is that it's not possible to run Linux on bhyve running on 10.0-RELEASE ? Not at all - there have been lots of reports of it working. It is known that there is a problem with using zvols for guest images, though this is related to GEOM and not specific to bhyve. We

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
Hi Andrea, 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 :) Thanks for running the tests. Would you be able to list the command options you used with bhyve when running

Re: BHyVe - ESXi comparison

2014-01-28 Thread Peter Grehan
Hi Andrea, unfortunately we've been a bit sloppy in tracking the time output because initially it was just an internal test, thus we don't have the details. No problems. We're setting up a new round of tests we'll run tomorrow and we'll track user/system/real in a more precise way; I will

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: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-10 Thread Peter Grehan
Hi Olivier, If you create a sparse file for the bhyve raw disk (e.g. with truncate -s), du will show the actual blocks used rather than the total size. But can I truncate an already existing image disk (downloaded nanobsd image as example) ? Not without some processing. One

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

  1   2   3   4   >