Re: Hyperv driver related error on make buildkernel on -r255933

2013-10-01 Thread John-Mark Gurney
fwip # IP over FireWire (RFC 2734,3146) > #device dcons # Dumb console driver > #device dcons_crom # Configuration ROM for dcons > # Sound support > device sound # Generic sound driver (required) > #device snd_cmi # CMedia CMI8338/CMI8738 > #device snd_csa # Crystal Semiconductor CS461x/428x >

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

2013-11-05 Thread John-Mark Gurney
evice supports it. But remeber when choosing an address like that, that you set the second low bit of the first octect to one to designate that it's a locally administered address... See wikipedia for more info: https://en.wikipedia.org/wiki/MAC_ad

bhyvectl man page?

2014-10-21 Thread John-Mark Gurney
Can someone write a man page for this tool? I'm willing to do the formating if someone writes the text... Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I hav

testing bhyve on AMD box...

2014-10-21 Thread John-Mark Gurney
atures=0x8 TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7665848320 (7310 MB) I'm willing to test any patches you throw my way... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

Re: testing bhyve on AMD box...

2014-10-21 Thread John-Mark Gurney
Neel Natu wrote this message on Tue, Oct 21, 2014 at 12:01 -0700: > On Tue, Oct 21, 2014 at 11:50 AM, John-Mark Gurney wrote: > > So, I did, and it failed... > > > > First, if_tap doesn't get automatically loaded.. but that was easy to > > spot due to the error m

how to for making bhyve images (using makefs + mkimg)

2014-10-29 Thread John-Mark Gurney
tw, thanks for getting bhyve running on AMD! :) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtualization@freebsd.org mailing list http

Re: how to for making bhyve images (using makefs + mkimg)

2014-10-30 Thread John-Mark Gurney
Alfred Perlstein wrote this message on Thu, Oct 30, 2014 at 22:37 -0700: > On 10/29/14 9:34 PM, John-Mark Gurney wrote: > >So, Michael Dexter prodded me to document how I'm doing it, so I put > >up a blog post at: > >http://blog.funkthat.com/2014/10/building-bhyve-im

bhyve remote kgdb does not support kernel modules...

2014-11-15 Thread John-Mark Gurney
../../kern/kern_mutex.c:217 #4 0x81c3e3a7 in ?? () #5 0xf80002a474a0 in ?? () #6 0xf80002919720 in ?? () Where those should be in the aesni.ko module... If I run kgdb on a local machine, it properly finds the kernel modules... Any hits on how to fix this? T

Re: bhyve remote kgdb does not support kernel modules...

2014-11-15 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Sat, Nov 15, 2014 at 01:37 -0800: > So, I got remote kgdb working w/ bhyve, but kernel modules aren't > loaded... > > I'm getting: > (kgdb) bt > #0 kdb_enter (why=0x8102ee88 "panic", msg=) >

Re: bhyve remote kgdb does not support kernel modules...

2014-11-15 Thread John-Mark Gurney
Julian Elischer wrote this message on Sun, Nov 16, 2014 at 00:23 +0800: > On 11/15/14, 5:43 PM, John-Mark Gurney wrote: > >John-Mark Gurney wrote this message on Sat, Nov 15, 2014 at 01:37 -0800: > >>So, I got remote kgdb working w/ bhyve, but kernel modules aren't >

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-19 Thread John-Mark Gurney
mage(3) - display an XvImage hmm.. nope... jail has something about vnets, but not nearly enough to be useful... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I ha

Re: cu -l /dev/nmdm not setting rows and columns

2014-11-26 Thread John-Mark Gurney
I haven't used these types > of programs for serial port communication since the 1990's, so it's been a > while for me. So, what exactly is the problem again? If you're complaining about terminal not being set correctly, or rows/columns not being set correctly, welcom to the wor

FreeBSD i386 guest doesn't see console...

2014-12-02 Thread John-Mark Gurney
ve " real memory = 18253611008 (17408 MB) avail memory = 16573952000 (15806 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: [...] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) I can provide more if you'd like... --

Re: FreeBSD i386 guest doesn't see console...

2014-12-03 Thread John-Mark Gurney
s? Oh, I did verify that uart0 is functional by logging into the system and doing: echo foobar > /dev/cuau0 So, it's not like the console is not working, it's clearly a problem w/ the kernel deciding to use it as console.. -- John-Mark Gurney Voice: +1

Re: FreeBSD i386 guest doesn't see console...

2014-12-03 Thread John-Mark Gurney
t's the issue.. I also just did a diff between the amd64 and i386 /boot dir, and besides the expected, boot blocks and loader differing, the only differences are if_faith_load got removed and ata and apm hints are now present.. -- John-Mark Gurney Voice:

Re: FreeBSD i386 guest doesn't see console...

2014-12-03 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Wed, Dec 03, 2014 at 10:50 -0800: > I also just did a diff between the amd64 and i386 /boot dir, and besides > the expected, boot blocks and loader differing, the only differences are > if_faith_load got removed and ata and apm hints are now present

Re: backups of bhyve images

2014-12-10 Thread John-Mark Gurney
t;powered off" the vm at that moment.. You'll still have to fsck a UFS file system, but that is to be expected... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." __

Re: backups of bhyve images

2014-12-10 Thread John-Mark Gurney
Pete Wright wrote this message on Wed, Dec 10, 2014 at 11:40 -0800: > On 12/10/14 11:29, John-Mark Gurney wrote: > > Pete Wright wrote this message on Mon, Dec 08, 2014 at 15:44 -0800: > >> > >> > >> On 12/08/14 15:30, Craig Rodrigues wrote: > >>>

Re: Boot OpenBSD with bhyve and libvirt automatically.

2015-01-06 Thread John-Mark Gurney
ing Linux's kexec, could this work be leveraged? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtualization@freebsd.org

Re: How to connect ssh and /dev/nmdm devices Was:( Re: Native Linux guest in Bhyve (no grub2-bhyve) status? )

2015-01-20 Thread John-Mark Gurney
port tunneling to provide access... I've been tempted to write a program using cuse that would present a modem device that could be used w/ tip or cu and connect to an RFC2217 server on the back end giving you complete remove access to all settings of the serial port, but haven't gotten ar

Re: bhyve code question, pci_virtio_net.c

2015-05-16 Thread John-Mark Gurney
having the same MAC if they have the same VM Name? Sure... > 2) Should bhyve instead use the FreeBSD assigned OUI for these MAC > addresses? Depends, if NetApp gave us permission to use them here, then we might as well keep using them. gnn would be the persion to talk to about this..

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

2015-05-24 Thread John-Mark Gurney
d instead of reboot/halt? This allows various rc.d scripts to run, and you can use that to make sure all your bhyve instances are shutdown... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

Re: bhyve: bhyveload, bhyve, bhyvectl --destroy

2015-06-02 Thread John-Mark Gurney
ew months... I am running a month old HEAD though... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtualization@freebsd.org mailing list http://

Re: bhyve: bhyveload, bhyve, bhyvectl --destroy

2015-06-02 Thread John-Mark Gurney
Andriy Gapon wrote this message on Tue, Jun 02, 2015 at 21:15 +0300: > On 02/06/2015 19:49, John-Mark Gurney wrote: > > Andriy Gapon wrote this message on Tue, Jun 02, 2015 at 14:20 +0300: > >> I am very new to bhyve, so sorry if I am asking something silly or obvious. > &

Re: bhyve: bhyveload, bhyve, bhyvectl --destroy

2015-06-03 Thread John-Mark Gurney
Andriy Gapon wrote this message on Wed, Jun 03, 2015 at 10:10 +0300: > On 03/06/2015 02:04, John-Mark Gurney wrote: > > Andriy Gapon wrote this message on Tue, Jun 02, 2015 at 21:15 +0300: > >> I guess you are running bhyve through the shell script vmrun.sh? > >> I

weird console issue w/ bhyve...

2015-06-28 Thread John-Mark Gurney
w/ a ^A-Z which also recovers from this issue, so I have a work around, but reset shouldn't break things like this... Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve

2015-07-28 Thread John-Mark Gurney
00800 AMD Features2=0x1ebbfff Structured Extended Features=0x8 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___

Re: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve

2015-07-29 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Tue, Jul 28, 2015 at 12:36 -0700: > I'm trying to run either Net or Open for some testing, and I'm not > having luck. > > After first figuring out that the README on github doesn't include that > you need to include the boot de

Re: bhyve: fix bhyve warning CTASSERT

2015-08-13 Thread John-Mark Gurney
/* Allow lint to override */ > > #defineCTASSERT(x) _CTASSERT(x, __LINE__) > > #define_CTASSERT(x, y) __CTASSERT(x, y) > > -#define__CTASSERT(x, y)typedef char __assert ## y[(x) ? 1 > > : -1] > > +

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread John-Mark Gurney
er on FreeBSD and may be there are some steps I can perform to > > speed up the python to work not slower than on Debian. > > > > I have found in Google the similar question: > > https://lists.freebsd.org/pipermail/freebsd-python/2012-June/004306.html so

Re: adding diskspace to a bhyve instance

2015-11-30 Thread John-Mark Gurney
t is in HEAD that makes this painless... If you have a single UFS fs, w/ the root as the last partition/fs on the disk, simply grow the disk, and then you can run "service growfs start", and it just works... This will work on any system, not just VMs... -- John-Mark Gurney

Re: Boot Physical Windows in bhyve

2017-04-30 Thread John-Mark Gurney
ve > and then to bhyve img. Have you just tried to point the disk image at your HD? This should "just work" as zvol (which is one way to run a VM) works, and a disk isn't any different... bhyve doesn't have a format, it's just raw disk images.. -- John-Mark Gurn

Re: PCIE card with USB ports

2017-05-14 Thread John-Mark Gurney
John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-v

Re: PCIE card with USB ports

2017-05-15 Thread John-Mark Gurney
Rajil Saraswat wrote this message on Sun, May 14, 2017 at 16:03 -0500: > On 05/14/2017 12:40 PM, John-Mark Gurney wrote: > > Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34 -0500: > >> I am looking for a recommendation for an out-of-the-box working PCIE

Re: Cross-compiling socat

2017-09-25 Thread John-Mark Gurney
e built as I've only used it once a long time ago.. Hope this helps. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtual

Re: Overcommitting CPUs with BHyve?

2018-07-24 Thread John-Mark Gurney
reads (likely core).. But I also don't know his work load, or vCPUs per VM... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-virtualization@

Re: [HyperV-2016] urandom performance issue...

2018-08-21 Thread John-Mark Gurney
s://wiki.freebsd.org/HyperV ! This is likely the same issue as: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230808 If you're having troubles w/ the host freezing, this should probably still be investigated as even w/ the excessive locking, it should never freeze. -- John-Mark

Re: Bhyve guest boot error, Buffer I/O error on dev vda1, logical block 0, lost async page write

2018-08-27 Thread John-Mark Gurney
ta or refquota that prevents a dataset/zdev, or it's descendants from growing larger, or you could have refreservation or reservation set which limits the space that other datasets can consume.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I wi

Re: Inter-VM networking with FreeBSD under bhyve

2019-08-19 Thread John-Mark Gurney
est bet, > but what exactly? Same host? If so, netmap+vale is interesting, and more info at: https://www.bsdcan.org/2017/schedule/events/814.en.html -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, Al

Re: RFC: in-guest CPU tick counters

2020-01-02 Thread John-Mark Gurney
user on the host if these cpu cycle counters are exposed to all users, which is the default. The counters should be restricted on who has access to them, and only allowing root, or the owner of the guest vmm to access them. -- John-Mark Gurney Voice: +1 415 22

Re: bhyve: passthrough SMART info from host nvme controller

2020-03-18 Thread John-Mark Gurney
what something like pci_passthru.c does in passthru_init, and open /dev/nvme0 in pci_nvme_init? Or am I missing something? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _

Re: bhyve: passthrough SMART info from host nvme controller

2020-03-20 Thread John-Mark Gurney
after the process was locked down, it doesn't provide additional security, as any attacker could just open it up, and do the operation... So, I'm really confused as to what the benefit of not opening it at the start is.. > On Thu, Mar 19, 2020 at 2:59 AM John-Mark Gurney wrote: >

Re: bhyve: TRIM support in AHCI controller

2020-04-12 Thread John-Mark Gurney
> > > I have updated my patch to add TRIM support to the bhyve block interface > here: > > https://reviews.freebsd.org/D21707 > > I am working on an update to the virtio driver, to make FreeBSD guests > able to TRIM if the hypervisor supports it

patch to make vboxvfs work again

2020-05-09 Thread John-Mark Gurney
hanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." Index: virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxv

Re: patch to make vboxvfs work again

2020-05-09 Thread John-Mark Gurney
rs that they compile libraries w/o the kernel headers and then link those files into the kernel module wrapper... I did notice that we mistakenly still have a prototype for bcmp in sys/systm.h even though that function get's #defined to a builtin instead... > On 5/9/20, John-Mark Gurney

Re: Restricting IP ranges for guests over tap devices

2020-08-08 Thread John-Mark Gurney
nd an attacking machine that takes over the down'd machine's IP address? I assume that these addresses are assigned via DHCP server, otherwise if you are launching the VM's w/ known static IP's, you could use pf's anchor directive, and each start/stop of a VM, update the rule for that tap's anchor. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." signature.asc Description: PGP signature

Re: When is a switch not a switch?

2020-10-19 Thread John-Mark Gurney
the host, net.link.tap.up_on_open helps w/ this)... I have heard (and that is the way I do that), that you have to put the host IPs on the bridge0 interface, and not the em0 interface. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." signature.asc Description: PGP signature

Re: When is a switch not a switch?

2020-10-21 Thread John-Mark Gurney
an't say w/o more info in exactly how your system is setup... If you could provide more concrete information about what interfaces you are using, and what IPs are configured on what interfaces (or VMs), that'd be helpful. -- John-Mark Gurney Voic

Re: Warm Migration feature for bhyve - review on Phabricator

2021-01-24 Thread John-Mark Gurney
use the guest on host1 > * send a new snapshot > * initiate the migration of memory/device data > * start guest on host2 > > Are there any major complications here I'm not aware of other than the > requirement to pause the guest and kick off the state migration as two > sep

Re: Warm Migration feature for bhyve - review on Phabricator

2021-01-25 Thread John-Mark Gurney
Matt Churchyard wrote this message on Mon, Jan 25, 2021 at 10:46 +: > -Original Message- > From: John-Mark Gurney > Sent: 25 January 2021 06:21 > To: Matt Churchyard > Cc: Elena Mihailescu ; > freebsd-virtualization@freebsd.org > Subject: Re: Warm Migrat

Re: Warm Migration feature for bhyve - review on Phabricator

2021-01-28 Thread John-Mark Gurney
Willem Jan Withagen wrote this message on Thu, Jan 28, 2021 at 01:42 +0100: > On 25-1-2021 19:42, John-Mark Gurney wrote: > > Matt Churchyard wrote this message on Mon, Jan 25, 2021 at 10:46 +: > >> -Original Message----- > >> From: John-Mark Gurney >

Re: resizing aarch64 image on arm64

2021-04-06 Thread John-Mark Gurney
tion growfs md1p3# grow ufs Note that mdconfig may output a different md device than md1, use that instead. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." sig

Re: resizing aarch64 image on arm64

2021-04-06 Thread John-Mark Gurney
ntioned. The growfs(7) rc script is run at first boot to size up the root fs as needed. It can always be run manually later via: service growfs onestart if/when the size of the disk changes... Hmm, just noticed that growfs(7) isn't linked from growfs(8), guess I need to fix that.