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: > > http://lists.freebsd.org/pipermail/svn-src

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

2014-02-23 Thread Willem Jan Withagen
On 22-2-2014 22:28, Craig Rodrigues wrote: > 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

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 22:12, Peter Grehan wrote: >> On 23-2-2014 18:26, Peter Grehan wrote: Against what current version did you merge/build the SVM branch? I'll either check that out, or try my subversion skills to see if that reduces the diff. >>> >>> My mistake - the sync was a r259205,

Re: Bhyve and Ubuntu booting

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

Re: Bhyve and Ubuntu booting

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

Re: Bhyve segfaults when accessing the network

2014-02-23 Thread Paul Schenkeveld
Hi Peter, Thanks for your quick response! On Sun, Feb 23, 2014 at 09:20:08AM -0800, Peter Grehan wrote: > Hi Paul, > > > Hardware: Supermicro X9SPV-F3610ME-O (embedded i5) with 16GB RAM > > > > Host kernels (+userland of the same version): > > 10.0 RC5 > > 10.0 RELEASE > > 10 STABLE

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

2014-02-23 Thread Michael Dexter
On 2/22/14 1:28 PM, 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: > http://lists.freebsd.org/pipermail/svn-src-all/2014-February/081210.html Only two items are needed for booting Z

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 17:35, Aryeh Friedman wrote: > > And I've seen discussions in other threads about reading/writing cpu > registers where some bits should be 0, but trap when being set > (Or something close to this...???) > > So it could again be due to the amdsrc tree differences?

Re: Bhyve and Ubuntu booting

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

Re: Bhyve segfaults when accessing the network

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

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 18:09, Peter Grehan wrote: >> -w does not exist on my bhyve >> bhyve: illegal option -- w > > Hmmm, just checked and you're right. Looks like a mis-merge - this > change went into CURRENT in early December, and the most recent sync for > the SVM branch was from Jan 14 :( > > Now I'

Re: Bhyve and Ubuntu booting

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

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 17:57, Peter Grehan wrote: >> It's a toy box here so if anything needs to be tested, worked out. >> Just let me know. And I'm willing to run the risk of lost work, because >> using the ignore option bites me > > You can try the "-w" option. Aryeh has reported that it works for hi

Re: bhyve FreeBSD 10.0 VM crashed

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

Re: Bhyve and Ubuntu booting

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

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 17:40, Peter Grehan wrote: >> vm exit rdmsr 0xc0010015, cpu 0 >> --- >> >> And I've seen discussions in other threads about reading/writing cpu >> registers where some bits should be 0, but trap when being set >> (Or something close to this...???) >> >> So it could again be due to

Re: Bhyve and Ubuntu booting

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

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Aryeh Friedman
> And I've seen discussions in other threads about reading/writing cpu > registers where some bits should be 0, but trap when being set > (Or something close to this...???) > > So it could again be due to the amdsrc tree differences? > > --WjW > > And again this is running on my AMD-board. > /d

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

2014-02-23 Thread Aryeh Friedman
On Sun, Feb 23, 2014 at 9:57 AM, Craig Rodrigues wrote: > 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, > >>>

Re: Bhyve and Ubuntu booting

2014-02-23 Thread Willem Jan Withagen
On 23-2-2014 15:57, Craig Rodrigues wrote: >> I'm also looking into running a Ubuntu vm. i want to test/use > zoneminder, and all my FreeBSD attempts run into trouble. >> So I'm also still looking for grub-bhyve. > > grub2-bhyve is in ports: http://www.freshports.org/sysutils/grub2-bhyve/ Yup

Bhyve segfaults when accessing the network

2014-02-23 Thread Paul Schenkeveld
Hi, I tried to get bhyve to run on my home server but got consistent crashes as soon as I touch the network. Hardware: Supermicro X9SPV-F3610ME-O (embedded i5) with 16GB RAM Host kernels (+userland of the same version): 10.0 RC5 10.0 RELEASE 10 STABLE The kernel has been

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 for the fun of it, I tried my build zfs-system scripts in a bhyve-vm. >

bhyve FreeBSD 10.0 VM crashed

2014-02-23 Thread Willem Jan Withagen
Hi, I've kicked off 3 2G vm's which do a continous while(1) { make -j 4 buidlworld } And one of those VM's just crashed with the message below. Observation: The VM is clearly not able to recover from this. And probably needs to be destroyed and restarted... Don't know it it got as far as vmrun.s

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

2014-02-23 Thread Willem Jan Withagen
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 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 interfa