CentOS in a FreeBSD jail howto

2010-10-10 Thread John Nielsen
This is a followup to my thread "linux-only jail possible?" of a few months ago. I've been pretty successful in my efforts and now have a jail which contains only CentOS binaries and runs Python, Apache, sshd, PostgreSQL, yum, rpm, etc without problems. Since that's what I plan to use for my cu

best branch for bhyve on AMD?

2014-02-12 Thread John Nielsen
Greetings, I am running FreeBSD 10.0-STABLE r261733 amd64 on a system with an AMD "Brisbane" CPU: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2835.16-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Family = 0xf Model = 0x6b Stepping = 2 Features=0x178bfbff Features2=0

Re: best branch for bhyve on AMD?

2014-02-12 Thread John Nielsen
On Feb 12, 2014, at 10:31 AM, Peter Grehan wrote: > 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 els

Proposed patch for vmrun.sh

2014-02-12 Thread John Nielsen
See attached patch for vmrun.sh. It contains two changes: * Use an "err" function that prints to stderr instead of "echo" for text output * Use "file -s" instead of "file" to allow it to check block devices (zvol, etc) Feel free to commit it if you find it useful. Thanks! vmrun.sh.patch Desc

consistent VM hang during reboot

2014-05-07 Thread John Nielsen
I am trying to solve a problem with amd64 FreeBSD virtual machines running on a Linux+KVM hypervisor. To be honest I'm not sure if the problem is in FreeBSD or the hypervisor, but I'm trying to rule out the OS first. The _second_ time FreeBSD boots in a virtual machine with more than one core,

Re: consistent VM hang during reboot

2014-05-08 Thread John Nielsen
On May 8, 2014, at 11:03 AM, John Baldwin wrote: > On Wednesday, May 07, 2014 7:15:43 pm John Nielsen wrote: >> I am trying to solve a problem with amd64 FreeBSD virtual machines running >> on a Linux+KVM hypervisor. To be honest I'm not sure if the problem is in

Re: consistent VM hang during reboot

2014-05-09 Thread John Nielsen
On May 8, 2014, at 12:42 PM, Andrew Duane wrote: > From: owner-freebsd-hack...@freebsd.org > [mailto:owner-freebsd-hack...@freebsd.org] On Behalf Of John Nielsen > >> On May 8, 2014, at 11:03 AM, John Baldwin wrote: >> >>> On Wednesday, May 07, 2014 7:15:43 pm

Re: consistent VM hang during reboot

2014-05-13 Thread John Nielsen
On May 9, 2014, at 12:41 PM, John Nielsen wrote: > On May 8, 2014, at 12:42 PM, Andrew Duane wrote: > >> From: owner-freebsd-hack...@freebsd.org >> [mailto:owner-freebsd-hack...@freebsd.org] On Behalf Of John Nielsen >> >>> On May 8, 2014, at 11:03 AM,

Re: consistent VM hang during reboot

2014-06-13 Thread John Nielsen
On May 13, 2014, at 9:50 AM, John Nielsen wrote: > On May 9, 2014, at 12:41 PM, John Nielsen wrote: > >> On May 8, 2014, at 12:42 PM, Andrew Duane wrote: >> >>> From: owner-freebsd-hack...@freebsd.org >>> [mailto:owner-freebsd-hack...@freebsd.org] On Beh

Re: consistent VM hang during reboot

2014-06-17 Thread John Nielsen
On Jun 13, 2014, at 4:23 PM, John Nielsen wrote: > On Wednesday, May 07, 2014 7:15:43 pm John Nielsen wrote: >> I am trying to solve a problem with amd64 FreeBSD virtual machines running >> on a Linux+KVM hypervisor. To be honest I'm not sure if the problem is in >>

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread John Nielsen
On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > >> Roman, >> >> I am using libvirt and bhyve according to this XML: >> http://libvirt.org/drvbhyve.html >> and it works great. >> I gave a presentation at BAFUG on this: >> http://www.slideshare.net/CraigRodrigues

Using virtio_random

2014-09-15 Thread John Nielsen
Hi all- I am happy to see that virtio_random(4) will be included in FreeBSD 10.1. To try it out, I loaded up BETA1 in a virtual machine with entropy passthrough enabled. After booting it with the virtio_random module loaded I see this in dmesg: virtio_pci3: port 0xc0a0-0xc0bf irq 10 at device

Re: can a bhyve instance be resized? adding another virtual disk?

2014-10-15 Thread John Nielsen
On Oct 15, 2014, at 5:56 AM, freebsd-li...@potato.growveg.org wrote: > Can a bhyve instance be resized? I'm talking about the disk. > Say your end user needs more diskspace. They have 32GB. They need 64GB. > How do you do it? I presume one has to stop the guest, then use truncate. > What about if

Re: NATed or Private Network Setups

2014-10-24 Thread John Nielsen
> On Oct 24, 2014, at 5:08 PM, Pete Wright wrote: > > Hi All, > Has anyone deployed bhyve using NAT'd or private network setups? I've > been able to deploy bridged interfaces, but I was wondering if anyone > has done other network topologies. Is there anything preventing this > from happening c

Re: HEADS UP: Merging projects/bhyve_svm to HEAD

2014-12-09 Thread John Nielsen
On Oct 26, 2014, at 4:40 PM, Zaphod Beeblebrox wrote: > On Sat, Oct 25, 2014 at 8:20 PM, Neel Natu wrote: > >> On Sat, Oct 25, 2014 at 3:50 PM, Zaphod Beeblebrox >> wrote: >>> I tried to integrate this patch into 10.1_RC3 and I failed. Is there a >>> timeframe to MFC this to 10.1 or 10-STABLE

Re: Bhyve storage improvements (was: Several bhyve quirks)

2015-03-27 Thread John Nielsen
On Mar 27, 2015, at 3:46 AM, Alexander Motin wrote: >> I've always assumed virtio driver > emulated driver so it didn't occur >> to me to try ahci-hd. > > I've just merged to FreeBSD stable/10 branch set of bhyve changes that > should significantly improve situation in the storage area. > > vir

Re: Bhyve storage improvements (was: Several bhyve quirks)

2015-03-27 Thread John Nielsen
On Mar 27, 2015, at 10:47 AM, John Nielsen wrote: > On Mar 27, 2015, at 3:46 AM, Alexander Motin wrote: > >>> I've always assumed virtio driver > emulated driver so it didn't occur >>> to me to try ahci-hd. >> >> I've just merged to FreeBS

Re: Bhyve storage improvements

2015-03-27 Thread John Nielsen
On Mar 27, 2015, at 11:43 AM, Alexander Motin wrote: > On 27.03.2015 18:47, John Nielsen wrote: >> Does anyone have plans (or know about any) to implement virtio-scsi support >> in bhyve? That API does support TRIM and should retain most or all of the >> low-overhead vi

Re: AMD processors supported under bhyve

2015-09-30 Thread John Nielsen
On Sep 30, 2015, at 11:22 AM, C. L. Martinez wrote: > On Wed, Sep 30, 2015 at 4:54 PM, C. L. Martinez wrote: >> On Tue, Sep 29, 2015 at 11:03 AM, C. L. Martinez >> wrote: >>> On Tue, Sep 29, 2015 at 10:43 AM, Jason Tubnor wrote: On 29 September 2015 at 20:07, C. L. Martinez wrote: >

error running grub-bhyve with -S

2015-10-22 Thread John Nielsen
I’m running bhyve on an Intel machine running FreeBSD 11-CURRENT, updated a few days ago. I have a Debian 8.2 VM that has been running fine but now I’d like to add a PCI pass-through device. Unfortunately, when I add the required “-S” flag to my grub-bhyve command line it doesn’t work: # bhyvec

Re: error running grub-bhyve with -S

2015-10-22 Thread John Nielsen
On Oct 22, 2015, at 11:27 AM, Peter Grehan wrote: >> # bhyvectl —vm=vm0 --destroy >> # grub-bhyve -m /images/vm0-device.map -M 1024 -r hd1 -S vm0 >> Could not setup memory for VM >> Error in initializing VM > > The -S option will force allocation of guest memory (required by passthru). > Is the

Re: FreeBSD 11 - Bhyve - Spoof MAC address

2016-01-04 Thread John Nielsen
> On Jan 4, 2016, at 9:32 AM, James Lodge wrote: > > Hi All, > > > I'm just getting started with Bhyve. So far everything is working as > expected. My original goal was to be running Ubuntu 12.04 i386 as I need it > for a particular project. One issue I'm having is MAC address spoofing. I'm

Re: ZFS subvolume support inside Bhyve vm

2016-03-21 Thread John Nielsen
> On Mar 10, 2016, at 5:31 PM, Paul Vixie wrote: > > Сергей Мамонов wrote: >> Hello! >> >> Yes - zvols looks awesome. But what driver you use for it? > > virtio-blk. > >> And what >> about disk usage overhead in guest? > > ufs on zvol is faster, either in the parent or a bhyve using virtio-bl

Re: The status of docker

2019-01-23 Thread John Nielsen
> On Jan 23, 2019, at 11:26 AM, John Nielsen wrote: > >> On Jan 22, 2019, at 11:54 PM, Sergey Zakharchenko >> wrote: >> >> Hello there guys, >> >>> Not quite. I took over the docker freebsd port. Currently I am trying to >>> change hi

Re: The status of docker

2019-01-23 Thread John Nielsen
> On Jan 22, 2019, at 11:54 PM, Sergey Zakharchenko > wrote: > > Hello there guys, > >> Not quite. I took over the docker freebsd port. Currently I am trying to >> change him to moby project on GH. > > Jochen, I wish you the best of luck. As a couple of cents, and on > behalf of Digital Logger

Re: 12.0-RELEASE und kvm/qemu using on AMD EPYC

2019-02-11 Thread John Nielsen
> On Feb 11, 2019, at 6:32 AM, Christian Kratzer wrote: > > I am running freebsd vm on debian 10 buster with libvirt/kvm/qemu. > > I have several kvm hosts in the cluster. Some with various intel xeon and > others with AMD EPYC 7301 cpu. > > FreeBSD vms upto 11.2-RELEASE-p9 boo fine on all sy