Re: VMWare/Virtualbox virtio network drivers?

2011-09-24 Thread Craig Rodrigues
ted) to > get up to date info. Hi, Virtio drivers are coming. See: http://lists.freebsd.org/pipermail/svn-src-projects/2011-September/004361.html -- Craig Rodrigues rodr...@crodrigues.org ___ freebsd-virtualization@freebsd.org mailing list http

BHyVe web page

2011-09-26 Thread Craig Rodrigues
@FreeBSD.org . -- Craig Rodrigues rodr...@crodrigues.org ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"

VirtualBox problem booting FreeBSD-9.0-RELEASE-amd64-bootonly.iso

2012-04-16 Thread Craig Rodrigues
6 Model = 2 Stepping = 3 Features=0x78bfbfd Features2=0x1 AMD Features=0x20100800 Does anyone know how I can get VirtualBox to behave the same way as QEMU for FreeBSD-9.0-RELEASE-amd64-bootonly.iso? Thanks. -- Craig Rodrigues rodr...@crodrigues.org __

Re: VirtualBox problem booting FreeBSD-9.0-RELEASE-amd64-bootonly.iso

2012-04-16 Thread Craig Rodrigues
On Mon, Apr 16, 2012 at 12:08 AM, Craig Rodrigues wrote: > My host environment > === > > Operating System: Windows 7, home edition, 64-bit > VirtualBox for Windows, version 4.1.12 r77245 > > CPU Information > > > I downloaded the Core

Re: VirtualBox problem booting FreeBSD-9.0-RELEASE-amd64-bootonly.iso

2012-04-17 Thread Craig Rodrigues
On Mon, Apr 16, 2012 at 9:29 PM, Adam Vande More wrote: > On Mon, Apr 16, 2012 at 10:30 PM, Craig Rodrigues > wrote: >> >> After exchanging a few e-mails with Bernard, I think I understand the >> problem. >> According to the VirtualBox manual: >> >>

Re: Hyper-V Integration Components Patch for FreeBSD 8.2, 8.3, 9.0 and 9.1-BETA1

2012-08-15 Thread Craig Rodrigues
Hi, Thanks for writing this up. I have created a page on the FreeBSD wiki with info about Microsoft Hyper-V, and I placed a link to your blog entry there: http://wiki.freebsd.org/HyperV -- Craig Rodrigues rodr...@crodrigues.org On Mon, Aug 13, 2012 at 3:36 PM, Chris Knight wrote: > He

AMD and BHyve?

2013-04-13 Thread Craig Rodrigues
Hi, I recently updated one of my home machines to FreeBSD-10/amd64. Here is what I have: FreeBSD 10.0-CURRENT #0 r249181: Sat Apr 6 03:07:32 UTC 2013 rodr...@dibbler.crodrigues.org:/usr/obj/opt2/branches/head/sys/GENERIC amd64 FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 2012122

Re: FW: AMD and BHyve?

2013-04-14 Thread Craig Rodrigues
On Sat, Apr 13, 2013 at 2:43 PM, Anish wrote: > Hi Craig, > > >AMD Features=0xea500800 > AMD Features2=0x11f > > Yes, the AMD processor you have support AMD-V or SVM and I got BHyVe > working on AMD processors with SVM Nested Page Table/RVI support, > equivalent of Intel Extended Page Table. O

Re: [Xen-devel] FreeBSD PVHVM call for testing

2013-05-24 Thread Craig Rodrigues
On Fri, May 24, 2013 at 7:14 AM, Konrad Rzeszutek Wilk < konrad.w...@oracle.com> wrote: > On Thu, May 23, 2013 at 07:41:50PM +0200, Roger Pau Monné wrote: > > Hello, > > > > I've pushed a new branch, pvhvm_v10 that contains a PV IPI > > implementation for both amd64 and i386. I've also updated the

Re: FreeBSD PVHVM call for testing

2013-05-24 Thread Craig Rodrigues
On Thu, May 23, 2013 at 6:30 AM, Roger Pau Monné wrote: > On 23/05/13 15:20, Jeroen van der Ham wrote: > > > > On 13 May 2013, at 20:32, Roger Pau Monné wrote: > >> Also, I've created a wiki page that explains how to set up a FreeBSD > >> PVHVM for testing: > >> > >> http://wiki.xen.org/wiki/Test

Re: FreeBSD PVHVM call for testing

2013-05-28 Thread Craig Rodrigues
On Tue, May 28, 2013 at 8:21 AM, Outback Dingo wrote: > > > > On Fri, May 24, 2013 at 6:27 PM, Craig Rodrigues > wrote: > >> I wrote this blog post: >> >> >> http://blogs.freebsdish.org/rodrigc/2013/05/24/setting-up-a-vm-for-doing-gsoc-work/ >>

Re: FreeBSD PVHVM call for testing

2013-05-28 Thread Craig Rodrigues
On Tue, May 28, 2013 at 3:43 PM, Outback Dingo wrote: > > I wrote a blog post specifically for installing 10-CURRENT from a snapshot >> ISO and getting bootstrapped >> from there, to help the Google Summer of Code Student that I am mentoring. >> What specifically do you want to be backported to 9-

VIMAGE crashes on 9.x with bluetooth devices

2013-07-07 Thread Craig Rodrigues
Hi, I tried running PC-BSD 9.1 on an HP Elitebook 8460p laptop ( http://h10010.www1.hp.com/wwpc/pscmi...oks/8460p.html ). See the screenshot I posted here: http://forums.pcbsd.org/showthread.php?t=20001 In PC-BSD, the default kernel comes with VIMAGE enabled in the kernel config. The problem I

VIMAGE + PF crash in mbuf destructor

2013-07-21 Thread Craig Rodrigues
Hi, I used a kernel config with the following lines: include GENERIC options VIMAGE and compiled a CURRENT kernel from svn://svn.freebsd.org/base/head@253346 . I also have PF enabled on my system. Once in a while I have been getting kernel panics like these: =

Re: VIMAGE + PF crash in mbuf destructor

2013-07-21 Thread Craig Rodrigues
the pf_mtag? Then we can call CURVNET_SET/CURVNET_RESTORE in pf_mtag_free(). -- Craig > > > > -adrian > > On 21 July 2013 23:32, Craig Rodrigues wrote: > > Hi, > > > > I used a kernel config with the following lines: > > > > include GENERIC > &g

Re: VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Craig Rodrigues
On Mon, Jul 22, 2013 at 10:11 AM, Adrian Chadd wrote: > > I don't think the default vnet context is the correct behaviour there. > We'd need to figure out what the vnet context of the mbuf is and set > that. > > What do you think about Marko's suggestion to de-virtualize V_pf_mtag_z? What would

De-virtualize V_pf_mtag_z to eliminate kernel panics.

2013-07-26 Thread Craig Rodrigues
Gleb, Since you did a lot of work in GRN 240233 to fix PF issues, especially for VIMAGE, I thought I would ask your opinion on the attached patch. In this post: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-July/001405.html I reported multiple PF-related panics when VIMAGE was

Simulating CD-ROM device with BHyve and ISO disk image?

2013-08-27 Thread Craig Rodrigues
Hi, I have an ISO image that I am trying to boot in BHyve. I tried this: truncate -s 2G /tmp/disk.img sh /usr/share/examples/bhyve/vmrun.sh -I test.iso -d /tmp/disk.img freenas1 The initial kernel boots, but then fails to mount the root device: =

Re: Simulating CD-ROM device with BHyve and ISO disk image?

2013-08-27 Thread Craig Rodrigues
son" wrote: > What happens if you specify > > cd9660:iso9660/CDROM when first boot attempt has failed? > > You could also try cd9660:/dev/vtbd1 > > > Best regards > Andreas > > > On Wed, Aug 28, 2013 at 1:12 AM, Craig Rodrigues wrote: > >>

Problems with missing ttyv devices in BHyve?

2013-09-07 Thread Craig Rodrigues
Hi, I am working on the FreeNAS project for iXsystems. FreeNAS is derived from FreeBSD. I am trying to use BHyve to do testing of FreeNAS, but I am running into some problems. I did the following: (1) Downloaded the latest daily build ISO of FreeNAS, which has some fixes to make the inst

Re: PXE booting into a Hyper-V 2012 R2 instance - slows to a crawl?

2013-09-26 Thread Craig Rodrigues
On Tue, Sep 24, 2013 at 6:53 AM, Karl Pielorz wrote: > > > We are creating new Hyper-V instances using our PXE boot environment > (which boots you into a FreeBSD 9.1 amd64 O/S) - we'd build a Hyper-V aware > kernel etc. from that (after SVN'ing the latest Hyper-V project source). > PXE involves D

Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable

2013-09-30 Thread Craig Rodrigues
On Mon, Sep 30, 2013 at 4:51 PM, Aryeh Friedman wrote: > -- Forwarded message -- > From: Aryeh Friedman > Date: Mon, Sep 30, 2013 at 7:51 PM > Subject: Re: bhve bug report: attempting to physical DVD drive for install > CD is unbootable > To: Neel Natu > > > One of the features w

Re: Disabling ATA driver for IDE devices on Hyper-V

2013-10-02 Thread Craig Rodrigues
Hi, There was some discussion between Larry Melia and Alexander Motin on this and related topics a few months ago. Here are some relevant threads: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-May/0

Re: Problems with missing ttyv devices in BHyve?

2013-10-03 Thread Craig Rodrigues
On Sat, Sep 7, 2013 at 9:10 AM, Peter Grehan wrote: > Hi Craig, > > > Does anyone have any ideas what the fix for this should be? >> > > You'll have to edit the /etc/ttys file and > > -ttyu2 "/usr/libexec/getty std.9600" dialup off secure > +ttyu2 "/usr/libexec/getty std.9600" vt100

Re: Problems with missing ttyv devices in BHyve?

2013-10-04 Thread Craig Rodrigues
On Thu, Oct 3, 2013 at 10:38 PM, Peter Grehan wrote: > > > (2) Is it possible to connect to the console of the BHyve VM via >> /dev/ttyu2 >>or some other mechanism? I would like to be able to connect to >> the BHyve VM >>and use something like Expect or py-expect to execute con

Use humanize_number() inside bhyveload?

2013-10-04 Thread Craig Rodrigues
Hi, In /usr/src/usr.bin/truncate/truncate.c , you can see that the '-s' parameter to the truncate utility is parsed with the expand_number() utility. Can we use expand_number() in bhyve_load? That will allow people to enter parameters like: -m 2G This is handy and consistent with other FreeBSD

Re: Use humanize_number() inside bhyveload?

2013-10-06 Thread Craig Rodrigues
On Fri, Oct 4, 2013 at 1:40 PM, Peter Grehan wrote: > Hi Craig, > > > Can we use expand_number() in bhyve_load? >> > > Please commit this change :) > > later, > > Peter. > > Here is a bigger patch, which uses expand_number() in bhyveload and bhyve, and also changes comments in vmrun.sh to refle

Re: Use humanize_number() inside bhyveload?

2013-10-09 Thread Craig Rodrigues
On Tue, Oct 8, 2013 at 9:00 PM, Neel Natu wrote: > > Thanks for the patch - submitted as r256176 with some modifications to > preserve backward compatibility. > > best > Neel > > Thanks! -- Craig ___ freebsd-virtualization@freebsd.org mailing list http

Using wlan0 device over tap0 device with BHyve?

2013-10-09 Thread Craig Rodrigues
Hi, I am using this script to set up my tap device before running BHyve: = #!/bin/sh #iface=em0 iface=wlan0 ifconfig bridge0 create ifconfig tap0 create ifconfig bridge0 addm $iface addm tap0 up sysctl net.link.tap.user_open=1 sy

Re: Using wlan0 device over tap0 device with BHyve?

2013-10-09 Thread Craig Rodrigues
e adding both the lan nic and tap to the bridge at > the same time > > > On Wed, Oct 9, 2013 at 7:30 PM, Craig Rodrigues > wrote: > > > Hi, > > > > I am using this script to set up my tap device before > > running BHyve: > > > > =

Running FreeNAS under BHyve

2013-10-10 Thread Craig Rodrigues
Hi, Here is what I have been doing to run FreeNAS under BHyve. (1) Download latest FreeNAS-9.2.0-ALPHA ISO from: http://sourceforge.net/projects/freenas/files/FreeNAS-nightlies/2013-10-09/x64/ (2) Run this script to set up tap device:

Re: Running FreeNAS under BHyve

2013-10-12 Thread Craig Rodrigues
On Thu, Oct 10, 2013 at 6:31 PM, Aryeh Friedman wrote: > > > > On Thu, Oct 10, 2013 at 7:36 PM, Craig Rodrigues wrote: > >> >> If DHCP works, you should be able to access the FreeNAS web GUI >> using a web browser, via the IP address that the BHyve VM got from

Re: Running FreeNAS under BHyve

2013-10-12 Thread Craig Rodrigues
On Sat, Oct 12, 2013 at 2:39 PM, Aryeh Friedman wrote: > You can always run bhyve from the command line [we even provide a script >>> for this, to be documented in petitecloud 0.2]) in such cases how do >>> you get the IP address and other configurations on each lease change? >>> >> FreeNAS is

Re: Running FreeNAS under BHyve

2013-10-13 Thread Craig Rodrigues
On Sat, Oct 12, 2013 at 8:44 PM, Michael Dexter wrote: > > Hello, > > On 10/10/13 4:36 PM, Craig Rodrigues wrote: > > Here is what I have been doing to run FreeNAS under BHyve. > > Note that the script archive at bhvye.org has a script, nanobsd2bhyve.sh > that makes

Re: Running bhyve on a AMD 1075T Phenom

2013-10-14 Thread Craig Rodrigues
Hi, I have an older machine with an AMD CPU, so I took a look at the http://svnweb.freebsd.org/base/projects/bhyve_svm/branch. I noticed that this branch has not been updated with the latest changes from HEAD, specifically the changes done in this branch: http://svnweb.freebsd.org/base/projects/bh

VIMAGE: Freed UMA key was not empty

2013-10-14 Thread Craig Rodrigues
Bjoern, I was looking at this bug in FreeNAS: "Panic on new jail with vnet" https://bugs.freenas.org/issues/3102 It turns out that the root cause of the problem is the same as the one mentioned here: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html Using the testcas

Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-28 Thread Craig Rodrigues
Hi, 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 `bufdaem

VIMAGE: Freed UMA keg was not empty

2013-11-26 Thread Craig Rodrigues
Adrian, As part of looking at this bug in FreeNAS: "Panic on new jail with vnet" https://bugs.freenas.org/issues/3102 I started looking at this thread: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html Based on this clue from Thiery: http://lists.freebsd.org/piperma

Re: VIMAGE: Freed UMA keg was not empty

2013-11-27 Thread Craig Rodrigues
On Wed, Nov 27, 2013 at 2:05 AM, Adrian Chadd wrote: > > Well, the first step is figuring out which UMA zones are actually > problematic. Isn't it logging which zones aren't empty? The error messages on the console look like this: Freed UMA keg was not empty (203 items). Lost 1 pages of memor

Re: VIMAGE: Freed UMA keg was not empty

2013-11-29 Thread Craig Rodrigues
On Wed, Nov 27, 2013 at 1:11 PM, Adrian Chadd wrote: > Modify that function to print out keg->uk_name as well. > Done. See: http://lists.freebsd.org/pipermail/svn-src-all/2013-November/077349.html Now if I run a kernel with VIMAGE enabled, and run the testcase mentioned here: http://lists.fr

bhyve(8) man page?

2013-12-04 Thread Craig Rodrigues
Hi, Do you have an mdoc formatted version of http://people.freebsd.org/~grehan/bhyve_8-v0.1.txt which is ready for commit to HEAD? It would be handy to have this in the tree, because it is annoying to have to look at the bhyve source code to figure out what all the command-line options are for.

Booting a disk image with GRUB in BHyve?

2013-12-23 Thread Craig Rodrigues
Hi, I tried the following: (1) Downloaded SmartOS USB image from: http://wiki.smartos.org/display/DOC/Download+SmartOS (2) Uncompressed the bz2 file. (3) Ran "file" on the binary: # file smartos-latest-USB.img smartos-latest-USB.img: x86 boot sector; GRand Unified Bootloader, stage1 versi

Remote serial console for BHyve VM?

2014-01-06 Thread Craig Rodrigues
Hi, I am working with Sean Bruno to set up some BHyve VM's. Right now, the vmrun.sh script tells BHyve to direct the serial console to stdout. 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 a

Re: Remote serial console for BHyve VM?

2014-01-11 Thread Craig Rodrigues
On Mon, Jan 6, 2014 at 3:12 PM, Peter Grehan wrote: > One way is to use the cloneable null-modem driver, nmdm(4). Others have > used tmux for this, but I'll give a quick overview of the former. > > kldload nmdm.ko before starting VMs, e.g. at boottime or in rc.conf's > kld_list variable. > > U

rc.d scripts for starting BHyve from rc.d

2014-01-23 Thread Craig Rodrigues
Hi, I put together some scripts for starting a BHyve VM when a system boots. When the system boots, the console of the VM uses /dev/nmdm. It is possible to connect to the console of the VM with: cu -l /dev/nmdm0B It is a bit rough, but works nicely. Does someone out there have better scripts

MAC addresses to use for BHyve VM's running under FreeBSD?

2014-02-04 Thread Craig Rodrigues
Hi, I am running many BHyve VM's and am using tap interfaces with a single bridge. I am configuring the IP addresses of these VM's via DHCP. I need to have separate MAC addresses for each VM. Can anyone recommend a range of MAC addresses to use? I seem to recall that at the 2013 FreeBSD Vendor

Re: Bhyve and network virtualization

2014-02-04 Thread Craig Rodrigues
On Sat, Feb 1, 2014 at 1:03 AM, Frédéric Alix wrote: > Now, i need a tool for build a virtual network, like crossbow in Illumos. > Well, it is not a graphical tool, but if you are OK with doing things from the command-line, you can create a bridge network device and create tap interfaces for each

Re: MAC addresses to use for BHyve VM's running under FreeBSD?

2014-02-05 Thread Craig Rodrigues
On Wed, Feb 5, 2014 at 9:46 AM, Kurt Lidl wrote: > On Feb 5, 2014, at 3:33 , Kai Gallasch wrote: >> >> Am 05.02.2014 um 08:03 schrieb Craig Rodrigues: >>> >>>> Hi, >>>> >>>> I am running many BHyve VM's and am using tap interfa

Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Craig Rodrigues
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 It works quite well. There is some things I would like to improve, and would l

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

2014-02-09 Thread Craig Rodrigues
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 to a serial console using

Re: RFC: hyperv disk i/o performance vs. data integrity

2014-02-09 Thread Craig Rodrigues
On Sat, Feb 1, 2014 at 9:24 PM, Aryeh Friedman wrote: > > Craig Rodrigues and the FreeNAS team have done a fantastic job already (I > have not personally tried FreeNAS yet but I have heard nothing but good > things about it) and making it so it can run on a bhyve instance. Than

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

2014-02-11 Thread Craig Rodrigues
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:11 PM, Craig Rodrigues > wrote: > > > Hi, > > > > > > I posted some rc.d scripts th

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

2014-02-12 Thread Craig Rodrigues
On Tue, Feb 11, 2014 at 3:18 PM, Neel Natu wrote: > > > > > > > > > One question, if "bhyve" exits, do I have to call bhyveload again before > > calling bhyve? > > Yes, that is correct. You will also need to destroy the VM after bhyve > exits. > Why can't bhyve clean up after itself as the bhyv

Re: Bhyve and booting a ZFS-on-root system

2014-02-22 Thread Craig Rodrigues
On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen wrote: > Hi, > > Just for the fun of it, I tried my build zfs-system scripts in a bhyve-vm. > > I use the 10.0-RELEASE iso to get to a shell, config and interface and > download my script. Installing does work, and on a regular system we can >

Re: Bhyve and booting a ZFS-on-root system

2014-02-22 Thread Craig Rodrigues
On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen wrote: > > CPU: AMD Phenom(tm) II X6 1075T Processor (3013.84-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x100fa0 Family = 0x10 Model = 0xa > Also, as Aryeh has pointed out, you cannot run BHyve on an AMD processor unless you check

Re: Bhyve and booting a ZFS-on-root system

2014-02-23 Thread Craig Rodrigues
On Feb 23, 2014 2:59 AM, "Willem Jan Withagen" wrote: > > > > Op 22 feb. 2014 om 22:28 heeft Craig Rodrigues het volgende geschreven: > >> On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen wrote: >>> >>> Hi, >>> >>> Just f

Re: Bhyve and booting a ZFS-on-root system

2014-02-23 Thread Craig Rodrigues
On Feb 23, 2014 3:35 PM, "Willem Jan Withagen" wrote: > > On 22-2-2014 22:28, Craig Rodrigues wrote: > > > > ZFS on Root inside a BHyve VM was not working until > > today. If you you have a FreeBSD-CURRENT system and then update > > to this revision: &g

March 13: Jenkins and BHyve presentation

2014-02-24 Thread Craig Rodrigues
Hi, I will be giving a talk discussing what I have done settings up Jenkins ( https://jenkins.freebsd.org ) in the FreeBSD cluster, using BHyve VM's: The presentation will be on March 13 in Mountain View, California, U.S.A.: http://www.meetup.com/BAFUG-Bay-Area-FreeBSD-User-Group/events/16732593

Re: March 13: Jenkins and BHyve presentation

2014-02-24 Thread Craig Rodrigues
On Mon, Feb 24, 2014 at 1:04 AM, Craig Rodrigues wrote: > Hi, > > I will be giving a talk discussing what I have done > settings up Jenkins ( https://jenkins.freebsd.org ) > in the FreeBSD cluster, using BHyve VM's: > > The presentation will be on March 13 in Mounta

Problem with ZFS userboot changes r262331 and VM with mixed partitions

2014-03-04 Thread Craig Rodrigues
Hi, I encountered problems with the new changes to userboot to boot ZFS. About a month ago, I created a FreeBSD 10 VM with the following layout: => 34 419430333 md0 GPT (200G) 341281 freebsd-boot (64K) 16220971522 freebsd-ufs (1.0G) 2097314

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

2014-03-04 Thread Craig Rodrigues
On Tue, Mar 4, 2014 at 2:24 PM, Peter Grehan wrote: > Hi Craig, > > >> ZFS: i/o error - all block copies unavailable >> >> I don't fully understand all this logic. Is there a bug that can be fixed >> here? > > > Yes - a flag needs to be passed to userboot to tell it to ignore ZFS > filesystems.

Re: bhyve + OpenStack

2014-03-08 Thread Craig Rodrigues
On Sat, Mar 8, 2014 at 6:42 PM, Marc Fournier wrote: > > Has anyone started lookign into this? FreeBSD + bhyve would, Semihalf is doing work Openstack in FreeBSD. See: http://www.freebsd.org/news/status/report-2013-10-2013-12.html#FreeBSD-Host-Support-for-OpenStack-and-OpenContrail Roman Bogor

Re: March 13: Jenkins and BHyve presentation

2014-03-13 Thread Craig Rodrigues
On March 13, 2014, I gave a talk at the Bay Area FreeBSD User Group on the current state of Jenkins and BHyve work in the FreeBSD cluster. The slides are now online: https://wiki.freebsd.org/Jenkins#Presentations_and_Working_Groups -- Craig ___ freebsd

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

2014-03-15 Thread Craig Rodrigues
On Wed, Mar 5, 2014 at 7:22 AM, Kurt Lidl wrote: > > > I ran into this same problem a couple of weeks ago when I first played > with the ZFS boot support in userboot.so. > > The following set of operations on the hypervisor can be used to add > bootable support to your zfs installation. > > (I don

Re: March 13: Jenkins and BHyve presentation

2014-03-19 Thread Craig Rodrigues
On Mon, Feb 24, 2014 at 1:04 AM, Craig Rodrigues wrote: > The presentation will be on March 13 in Mountain View, California, U.S.A.: > > http://www.meetup.com/BAFUG-Bay-Area-FreeBSD-User-Group/events/167325932/ Thanks to Annie Zhang and the rest of the iXsystems marketing depar

Re: Google Summer of Code 2014 question

2014-03-20 Thread Craig Rodrigues
On Thu, Mar 20, 2014 at 8:24 AM, John Baldwin wrote: > > This isn't a bad place to ask this question. I think a person you might > want to talk to is Craig Rodrigues (cc'd) who has recently setup Jenkins > with the goal of doing automated testing using virtual machines.

Re: Google Summer of Code 2014 question

2014-03-20 Thread Craig Rodrigues
On Thu, Mar 20, 2014 at 2:38 PM, Wojciech A. Koszek wrote: > DSL isn't a must here, I agree, but you'll be limited in testing otherwise. > Unless some technology already has what I want, I suggested getting this > functionality: > > vm0.cmd("ifconfig ."); > vm1.cmd("ifconfig ..

Re: Scripts for booting FreeBSD images from the install ISO for use in Jenkins?

2014-03-20 Thread Craig Rodrigues
On Tue, Mar 18, 2014 at 2:26 AM, Rainer Duffner wrote: > Am Mon, 17 Mar 2014 19:30:01 -0700 > schrieb Craig Rodrigues : > >> Hi, >> >> For the BSD DevSummit in May, one of the items >> on our agenda: >> >> https://wiki.freebsd.org/201405DevSummit/J

Re: Bhyve support in Libvirt

2014-03-31 Thread Craig Rodrigues
On Mon, Mar 31, 2014 at 10:00 AM, Roman Bogorodskiy wrote: > > http://empt1e.blogspot.ru/2014/03/bhyve-in-libvirt.html > This is a huge step forward for bhyve! Thank you! There is a sizable ecosystem of software for managing hypervisors built on top of libvirt. Have you tested any of this softw

Re: virt-manager bhyve

2014-05-05 Thread Craig Rodrigues
On Mon, May 5, 2014 at 2:47 PM, Alexandar Narayan wrote: > Has anyone built virt-manager with bhyve support? I haven't tried any of this stuff, but you may want to read the blog postings mentioned at this link: http://www.freebsd.org/news/status/report-2014-01-2014-03.html#libvirt/bhyve-Support

Enabling bhyve support in devel/libvirt port

2014-06-09 Thread Craig Rodrigues
Hi, For anyone interested in playing with libvirt and bhyve, I submitted these two patches to the devel/libvirt port: -> "devel/libvirt: enable BHYVE by default on FreeBSD 10" https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190767 -> "devel/libvirt: configure checks for bhyve are broken " http

libvirt and bhyve problems

2014-06-09 Thread Craig Rodrigues
Roman, I have been reading your blog posts on using libvirt + bhyve here: http://empt1e.blogspot.com/ and the libvirt bhyve documentation here: http://libvirt.org/drvbhyve.html but am having problems reproducing the steps. I have a machine running: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #6

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy wrote: > Hi Craig, > > It's a little unfortunate that there's no stacktrace, though we can try > to see what's going on without it. > > Could you please edit libvirtd.conf (should be something like > /usr/local/etc/libvirtd.conf if installed from

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues wrote: > On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy wrote: >> Hi Craig, >> >> It's a little unfortunate that there's no stacktrace, though we can try >> to see what's going on without it. >>

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy wrote: > This warning is not critical. Actually, UML should not be built on > FreeBSD and I would need to disable it by default. For now I think the > proper fix is to configure with '--without-uml' flag. > > As for the segfault, I think I have a

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:15 PM, Roman Bogorodskiy wrote: > > This last line also sounds strange. > > I'm wondering if you execute 'net-list --all' will you see the 'default' > network? And if it's there, will 'net-show default' should that > Autostart is enabled for it? If I do: # virsh -c 'bh

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues wrote: > > > # gdb /usr/local/sbin/libvirtd libvirtd.core > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcom

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 1:54 PM, Craig Rodrigues wrote: > On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues wrote: > lldb /usr/local/sbin/libvirtd libvirtd.core > > (lldb) bt > * thread #1: tid = 0, 0x000801aa8513 > libvirt.so.1002`virNetDevTapCreateInBridgePort(brname=

Re: libvirt and bhyve problems

2014-06-11 Thread Craig Rodrigues
On Wed, Jun 11, 2014 at 11:21 AM, Roman Bogorodskiy wrote: > > Thanks for the analysis! I'll think what would be a proper fix for that > problem. > > Also, while thinking how to reproduce it, I did 'kldunload if_bridge' > and started to see the same problem. So, as a temporary fix, could you > che

Re: libvirt and bhyve problems

2014-06-11 Thread Craig Rodrigues
On Wed, Jun 11, 2014 at 12:25 PM, Roman Bogorodskiy wrote: > I've attached a patch which should fix the segfault. Could you please > let me know if it fixes the problem? I have incorporated your patch into the libvirt port, and provided a tarball of the port here: http://people.freebsd.org/~rodr

Re: libvirt and bhyve problems

2014-06-12 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 1:00 AM, Roman Bogorodskiy wrote: > > http://people.freebsd.org/~novel/misc/libvirt_port_updated.tgz > > With this setup, I'm able to get networking (e.g. virsh net-list works) > and updated the fix for the previous problem. I was able to start a VM > with that setup. I d

Re: libvirt and bhyve problems

2014-06-12 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 11:28 AM, Craig Rodrigues wrote: > On Thu, Jun 12, 2014 at 1:00 AM, Roman Bogorodskiy wrote: >> >> http://people.freebsd.org/~novel/misc/libvirt_port_updated.tgz >> >> With this setup, I'm able to get networking (e.g. virsh net-list works

Re: libvirt and bhyve problems

2014-06-13 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 12:00 PM, Roman Bogorodskiy wrote: > > Ah. Actually, libvirt manages bridges and taps on its own. So, the > preferred flow is that libvirt starts its networks on startup > automatically. By default it has a network with the 'virbr0' device > which it creates on its own. > >

Re: libvirt and bhyve problems

2014-06-15 Thread Craig Rodrigues
On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy wrote: > > I have updated the port: > > http://people.freebsd.org/~novel/misc/libvirt_port2.tgz OK, I deinstall the old port, took your port, built it, and installed it. When I started libvirtd, I got this: 2014-06-15 18:47:07.236+: 344856

Re: libvirt and bhyve problems

2014-06-17 Thread Craig Rodrigues
On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy wrote: > > I have updated the port: > > http://people.freebsd.org/~novel/misc/libvirt_port2.tgz > > Changes are: > > * added RUN_DEPENDS on dnsmasq (required for networking) > * added installation on network definition files Hi, dnsmasq needs

Request for Testers: libvirt and bhyve

2014-06-18 Thread Craig Rodrigues
Hi, I've had some success with getting libvirt and bhyve to work. I wrote up a list of the steps that I followed here: http://people.freebsd.org/~rodrigc/libvirt-bhyve/libvirt-bhyve.html If anyone is interested, please try it out, and provide feedback to this list. It would be great to get mor

Request for testers: virt-manager, libvirt, and bhyve

2014-06-18 Thread Craig Rodrigues
Hi, I created a patch for the deskutils/virt-manager port to add support for bhyve. virt-manager depends on libvirt, so the work that Roman has done with libvirt is critical for it to work. I have instructions for setting it up here, plus a screenshot of the virt-manager UI: http://people.freeb

Re: Request for testers: virt-manager, libvirt, and bhyve

2014-06-19 Thread Craig Rodrigues
On Wed, Jun 18, 2014 at 10:44 PM, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > >> Hi, >> >> I created a patch for the deskutils/virt-manager port to add support >> for bhyve. virt-manager depends on libvirt, so the work >> that Roman has done wit

libvirt, bhyve, and Jenkins configuration problems

2014-06-19 Thread Craig Rodrigues
Hi, I am trying to configure Jenkins to spawn bhyve VM's on demand using libvirt. I did the following: (1) Looked at Roman's blog article: http://empt1e.blogspot.com/2014/03/using-jenkins-libvirt-slave-plugin-with.html (2) Followed the libvirt configuration steps here: http://people.freebsd

Re: Request for Testers: libvirt and bhyve

2014-06-20 Thread Craig Rodrigues
On Fri, Jun 20, 2014 at 5:56 AM, Vincent Hoffman wrote: > Hi Craig, > I've given it a try and its looking good. Nice! Do you have time to try virt-manager: http://people.freebsd.org/~rodrigc/libvirt/virt-manager.html > > Thanks for all the work on this. Roman did all the hard work to get bhyve

Re: libvirt, bhyve, and Jenkins configuration problems

2014-06-24 Thread Craig Rodrigues
On Sat, Jun 21, 2014 at 6:52 AM, Roman Bogorodskiy wrote: > > > When you configure the connection in the 'Add a new Cloud' dialog, does > 'test connection' work for you? I don't see a host and credentials > specified, I'm not sure if jenkins libvirt plugin works with the local > connection. > OK

py-libvirt problems with bhyve

2014-06-25 Thread Craig Rodrigues
Hi, I did the following: (1) Set up libvirt, taking Roman's latest port, and configuring bhyve support: http://people.freebsd.org/~rodrigc/libvirt/libvirt-bhyve.html (2) Installed the py-libvirt port. I wrote this code: import libvirt import sys conn = libvirt.openReadOnly(None) if

Re: libvirt, bhyve, and Jenkins configuration problems

2014-06-25 Thread Craig Rodrigues
On Wed, Jun 25, 2014 at 11:08 AM, Roman Bogorodskiy wrote: > > Does that mean that I need to configure my VM, so that it comes up with a > > known IP, so that > > it can be entered on this configuration page? > > Correct. > > Though, normally you don't need to perform any special configuration fo

Re: py-libvirt problems with bhyve

2014-06-26 Thread Craig Rodrigues
On Wed, Jun 25, 2014 at 11:01 AM, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > > > > > conn = libvirt.openReadOnly(None) > ^^^ > > I think here the URI should be 'bhyve:///system'. > Or you could tweak libvirt.co

BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-06-30 Thread Craig Rodrigues
Hi, On July 10, 2014, in Mountain View, California, I will be giving a brief tech talk on: "libvirt virtualization API for controlling bhyve virtual machines" I have been testing the extensions that Roman Bogorodskiy has made to the lbivirt library for supporting bhyve. I will talk about my ex

Re: BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-07-11 Thread Craig Rodrigues
Hi, Slides for this talk are available here: http://people.freebsd.org/~rodrigc/libvirt/presentations/ iXsystems recorded video of the presentation. When they put it online, I'll send the link. -- Craig On Mon, Jun 30, 2014 at 5:30 PM, Craig Rodrigues wrote: > Hi, > > On Jul

vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND

2014-07-29 Thread Craig Rodrigues
Hi, I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/20140714/ Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, and created a VM. When I tried to attach the .vhd file to this VM, Virt

Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND

2014-07-29 Thread Craig Rodrigues
On Tue, Jul 29, 2014 at 12:48 PM, Glen Barber wrote: > On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote: > > Hi, > > > > I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz > > from > > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/V

Re: BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-07-31 Thread Craig Rodrigues
Hi, Thanks to Cao Pham at iXsystems, video for this presentation has been posted online: https://www.youtube.com/watch?v=LRLV_SZo6Sw -- Craig On Mon, Jun 30, 2014 at 5:30 PM, Craig Rodrigues wrote: > Hi, > > On July 10, 2014, in Mountain View, California, I will be giving a bri

Patch to virt-manager port for bhyve

2014-08-15 Thread Craig Rodrigues
Jason, Can you apply this patch to the virt-manager port: https://people.freebsd.org/~rodrigc/libvirt/patch-virtmanager-bhyve.txt This allows using virt-manager to start a bhyve VM. I gave a presentation on this at Bay Area FreeBSD Users Group (BAFUG) recently: http://www.slideshare.net/Craig

  1   2   3   >