Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-02-10 Thread Doron Fediuck
Based on KVM docs: http://www.linux-kvm.org/page/Guest_Support_Status#FreeBSD
you should use e1000 NIC to begin with.

There are several known issues with amd64:
http://lowendtalk.com/discussion/5558/freebsd-amd64-kvm-troubleshooting
http://forum.proxmox.com/threads/11843-Proxmox-2-2-Freebsd-8-3-AMD64-freezes-can-not-start-installation

So I'd go with disabling anything you can, and try a very
basic boot at first. 

Please try and let us know.

Thanks,
Doron

- Original Message -
 From: Dresel Christopher dre...@fhwn.ac.at
 To: Karli Sjöberg karli.sjob...@slu.se
 Cc: users@ovirt.org
 Sent: Thursday, February 6, 2014 10:53:14 AM
 Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
 I tried different CPU settings - I also tried the extension hook from René
 Koch which modifies the vm xml before start - no success.
 
 Interestingly on the same machine a simple Debian / Libvirt setup with the
 amd64 build works...
 
 Best Regards,
 Christopher
 
 -Original Message-
 From: Karli Sjöberg [mailto:karli.sjob...@slu.se]
 Sent: Friday, 31. January, 2014 08:14
 To: Dresel Christopher
 Cc: rk...@linuxland.at; users@ovirt.org
 Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
 Hi Dresel!
 
 On Thu, 2014-01-30 at 17:22 +, Dresel Christopher wrote:
  Sure already tried that - IDE, no Ethernet at all, everything related to
  VirtIO disabled - no success.
 
  Quoted from the forum:
 
  It has nothing to do with the virtio driver. It is a more deeply rooted
  problem inside KVM in its emulation of CPU's over Intel chipsets in
  combination with *BSD amd64.
 
  As I already virtualized pfSense with an older Version of Intel Chipset
  (Sandy Bridge) with KVM and Hardware Virtualization I really think it's
  related to the newer Haswell chipset. The same configuration with an i386
  ISO build works.
 
 We are running our BSD's in our Intel cluster on HP DL 380 G5 that are Conroe
 and one Penryn, so we may jusy have dodged this bullet, but I can at least
 say that FreeBSD works fine like that.
 
 Maybe you can try and dumb your cluster down to Conroe and see if that ´ll
 make a difference?
 
 /K
 
 
  Best Regards,
  Christopher
 
  -Original Message-
  From: René Koch [mailto:rk...@linuxland.at]
  Sent: Donnerstag, 30. Jänner 2014 16:32
  To: Dresel Christopher
  Cc: Joop; users@ovirt.org
  Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
  On Thu, 2014-01-30 at 12:27 +, Dresel Christopher wrote:
   The passing error seems to be a bug when using Run Once - Run behaves as
   expected.
  
   Nevertheless my problem seems related to Haswell + KVM + Hardware
   Virtualisation + FreeBSD (see
   http://forum.proxmox.com/threads/16564-PVE3-1-FreeBSD8-3-pfsense-KVM-Hardware-Virtualization-and-VirtIO-not-possible).
  
   Possible Workarounds: Disable Hardware Virtualization (guess this is not
   possible on VM basis with oVirt?) or use an i386 Version of FreeBSD.
  
 
  I'm pretty sure you can't disable hardware virtualization on a vm basis.
  Btw, does FreeBSD boot if you use an IDE disk and e1000 NIC (did go quickly
  through the proxmox forum thread and issues seem to be virtio related)?
  This will decrease performance for sure, but maybe it's sufficient.
  My Solaris vms are for compiling and Puppet module tests, so IDE and
  e1000 emulated devices are fine for me.
 
 
  Regards,
  René
 
 
 
   Thanks for your help.
  
   -Original Message-
   From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
   Behalf Of Dresel Christopher
   Sent: Mittwoch, 29. Jänner 2014 21:24
   To: René Koch; Joop
   Cc: users@ovirt.org
   Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
  
   Thank you, I already found your repo and I'm testing.
  
   The custom property is selectable via the GUI, the hook gets called,
   but I don't know why it don’t work - it seems like the custom
   property does not get passed to the hook :/
  
   -Original Message-
   From: René Koch [mailto:rk...@linuxland.at]
   Sent: Mittwoch, 29. Jänner 2014 20:51
   To: Joop; Dresel Christopher
   Cc: users@ovirt.org
   Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
  
   On Wed, 2014-01-29 at 19:27 +0100, Joop wrote:
Dresel Christopher dre...@fhwn.ac.at wrote:
Hi,

I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
The machine hangs after the booting screen -  I already googled
about this, but didn’t find any helpful articles.

Cluster uses “Intel Penryn Family“, the VM is configured with 1
virtual CPU as suggested in one of the threads I found on the
internet.
You're probably looking at x2pic cpu flag problems. A vdsm hook might
help. Have posted to proxmox forum about this. Also, solaris seems
affected, has been discussed on this list.
   
  
   For Solaris I wrote a hook which can be found here (works fine for
   Solaris 10/11 on Intel CPUs):
   https

Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-01-30 Thread Dresel Christopher
The passing error seems to be a bug when using Run Once - Run behaves as 
expected.

Nevertheless my problem seems related to Haswell + KVM + Hardware 
Virtualisation + FreeBSD (see 
http://forum.proxmox.com/threads/16564-PVE3-1-FreeBSD8-3-pfsense-KVM-Hardware-Virtualization-and-VirtIO-not-possible).

Possible Workarounds: Disable Hardware Virtualization (guess this is not 
possible on VM basis with oVirt?) or use an i386 Version of FreeBSD.

Thanks for your help.

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Dresel Christopher
Sent: Mittwoch, 29. Jänner 2014 21:24
To: René Koch; Joop
Cc: users@ovirt.org
Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

Thank you, I already found your repo and I'm testing.

The custom property is selectable via the GUI, the hook gets called, but I 
don't know why it don’t work - it seems like the custom property does not get 
passed to the hook :/

-Original Message-
From: René Koch [mailto:rk...@linuxland.at]
Sent: Mittwoch, 29. Jänner 2014 20:51
To: Joop; Dresel Christopher
Cc: users@ovirt.org
Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

On Wed, 2014-01-29 at 19:27 +0100, Joop wrote:
 Dresel Christopher dre...@fhwn.ac.at wrote:
 Hi,
 
 I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
 The machine hangs after the booting screen -  I already googled about
 this, but didn’t find any helpful articles.
 
 Cluster uses “Intel Penryn Family“, the VM is configured with 1
 virtual CPU as suggested in one of the threads I found on the internet.
 You're probably looking at x2pic cpu flag problems. A vdsm hook might help. 
 Have posted to proxmox forum about this. Also, solaris seems affected, has 
 been discussed on this list.


For Solaris I wrote a hook which can be found here (works fine for Solaris 
10/11 on Intel CPUs):
https://github.com/ovido/ovirt-stuff/tree/master/hooks

Don't know if this is needed for (older versions of) FreeBSD, too.


Regards,
René


 Joop






Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
University of Applied Sciences Wiener Neustadt for Business and Engineering 
Ltd., Austria Johannes Gutenberg-Straße 3
2700 Wiener Neustadt
Austria, Europe
ATU: 37772406
Firmenbuchnummer: 77005v
Firmenbuchgericht: Landesgericht Wiener Neustadt
DVR: 0769665
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen.

This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
University of Applied Sciences Wiener Neustadt for Business and Engineering 
Ltd., Austria
Johannes Gutenberg-Straße 3
2700 Wiener Neustadt
Austria, Europe
ATU: 37772406
Firmenbuchnummer: 77005v
Firmenbuchgericht: Landesgericht Wiener Neustadt
DVR: 0769665
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen.

This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-01-30 Thread Karli Sjöberg
Hi Dresel!

On Thu, 2014-01-30 at 17:22 +, Dresel Christopher wrote:
 Sure already tried that - IDE, no Ethernet at all, everything related to 
 VirtIO disabled - no success.
 
 Quoted from the forum:
 
 It has nothing to do with the virtio driver. It is a more deeply rooted 
 problem inside KVM in its emulation of CPU's over Intel chipsets in 
 combination with *BSD amd64.
 
 As I already virtualized pfSense with an older Version of Intel Chipset 
 (Sandy Bridge) with KVM and Hardware Virtualization I really think it's 
 related to the newer Haswell chipset. The same configuration with an i386 ISO 
 build works.

We are running our BSD's in our Intel cluster on HP DL 380 G5 that are
Conroe and one Penryn, so we may jusy have dodged this bullet, but I can
at least say that FreeBSD works fine like that.

Maybe you can try and dumb your cluster down to Conroe and see if that
´ll make a difference?

/K

 
 Best Regards,
 Christopher
 
 -Original Message-
 From: René Koch [mailto:rk...@linuxland.at]
 Sent: Donnerstag, 30. Jänner 2014 16:32
 To: Dresel Christopher
 Cc: Joop; users@ovirt.org
 Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
 On Thu, 2014-01-30 at 12:27 +, Dresel Christopher wrote:
  The passing error seems to be a bug when using Run Once - Run behaves as 
  expected.
 
  Nevertheless my problem seems related to Haswell + KVM + Hardware 
  Virtualisation + FreeBSD (see 
  http://forum.proxmox.com/threads/16564-PVE3-1-FreeBSD8-3-pfsense-KVM-Hardware-Virtualization-and-VirtIO-not-possible).
 
  Possible Workarounds: Disable Hardware Virtualization (guess this is not 
  possible on VM basis with oVirt?) or use an i386 Version of FreeBSD.
 
 
 I'm pretty sure you can't disable hardware virtualization on a vm basis.
 Btw, does FreeBSD boot if you use an IDE disk and e1000 NIC (did go quickly 
 through the proxmox forum thread and issues seem to be virtio related)? This 
 will decrease performance for sure, but maybe it's sufficient.
 My Solaris vms are for compiling and Puppet module tests, so IDE and
 e1000 emulated devices are fine for me.
 
 
 Regards,
 René
 
 
 
  Thanks for your help.
 
  -Original Message-
  From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
  Behalf Of Dresel Christopher
  Sent: Mittwoch, 29. Jänner 2014 21:24
  To: René Koch; Joop
  Cc: users@ovirt.org
  Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
  Thank you, I already found your repo and I'm testing.
 
  The custom property is selectable via the GUI, the hook gets called,
  but I don't know why it don’t work - it seems like the custom property
  does not get passed to the hook :/
 
  -Original Message-
  From: René Koch [mailto:rk...@linuxland.at]
  Sent: Mittwoch, 29. Jänner 2014 20:51
  To: Joop; Dresel Christopher
  Cc: users@ovirt.org
  Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
 
  On Wed, 2014-01-29 at 19:27 +0100, Joop wrote:
   Dresel Christopher dre...@fhwn.ac.at wrote:
   Hi,
   
   I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
   The machine hangs after the booting screen -  I already googled
   about this, but didn’t find any helpful articles.
   
   Cluster uses “Intel Penryn Family“, the VM is configured with 1
   virtual CPU as suggested in one of the threads I found on the internet.
   You're probably looking at x2pic cpu flag problems. A vdsm hook might 
   help. Have posted to proxmox forum about this. Also, solaris seems 
   affected, has been discussed on this list.
  
 
  For Solaris I wrote a hook which can be found here (works fine for Solaris 
  10/11 on Intel CPUs):
  https://github.com/ovido/ovirt-stuff/tree/master/hooks
 
  Don't know if this is needed for (older versions of) FreeBSD, too.
 
 
  Regards,
  René
 
 
   Joop
  
 
 
 
  
 
  Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
  University of Applied Sciences Wiener Neustadt for Business and
  Engineering Ltd., Austria Johannes Gutenberg-Straße 3
  2700 Wiener Neustadt
  Austria, Europe
  ATU: 37772406
  Firmenbuchnummer: 77005v
  Firmenbuchgericht: Landesgericht Wiener Neustadt
  DVR: 0769665
  Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten 
  Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, 
  Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch 
  unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender 
  des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses 
  E-Mails sind und das Material von Ihrem Computer zu loeschen.
 
  This e-mail and any attachments are confidential and intended solely for 
  the addressee. The perusal, publication, copying or dissemination of the 
  contents of this e-mail by unauthorised third parties is prohibited. If you 
  are not the intended recipient of this e-mail, please delete it and 
  immediately notify the sender

[Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-01-29 Thread Dresel Christopher
Hi,

I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine. The 
machine hangs after the booting screen -  I already googled about this, but 
didn’t find any helpful articles.

Cluster uses “Intel Penryn Family“, the VM is configured with 1 virtual CPU as 
suggested in one of the threads I found on the internet.

Still no luck :/



Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
University of Applied Sciences Wiener Neustadt for Business and Engineering 
Ltd., Austria
Johannes Gutenberg-Straße 3
2700 Wiener Neustadt
Austria, Europe
ATU: 37772406
Firmenbuchnummer: 77005v
Firmenbuchgericht: Landesgericht Wiener Neustadt
DVR: 0769665
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen.

This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-01-29 Thread Joop
Dresel Christopher dre...@fhwn.ac.at wrote:
Hi,

I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
The machine hangs after the booting screen -  I already googled about
this, but didn’t find any helpful articles.

Cluster uses “Intel Penryn Family“, the VM is configured with 1 virtual
CPU as suggested in one of the threads I found on the internet.
You're probably looking at x2pic cpu flag problems. A vdsm hook might help. 
Have posted to proxmox forum about this. Also, solaris seems affected, has been 
discussed on this list.

Joop

-- 
Sent from my Android tablet with K-9 Mail. Please excuse my brevity.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

2014-01-29 Thread Dresel Christopher
Thank you, I already found your repo and I'm testing.

The custom property is selectable via the GUI, the hook gets called, but I 
don't know why it don’t work - it seems like the custom property does not get 
passed to the hook :/

-Original Message-
From: René Koch [mailto:rk...@linuxland.at]
Sent: Mittwoch, 29. Jänner 2014 20:51
To: Joop; Dresel Christopher
Cc: users@ovirt.org
Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3

On Wed, 2014-01-29 at 19:27 +0100, Joop wrote:
 Dresel Christopher dre...@fhwn.ac.at wrote:
 Hi,
 
 I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
 The machine hangs after the booting screen -  I already googled about
 this, but didn’t find any helpful articles.
 
 Cluster uses “Intel Penryn Family“, the VM is configured with 1
 virtual CPU as suggested in one of the threads I found on the internet.
 You're probably looking at x2pic cpu flag problems. A vdsm hook might help. 
 Have posted to proxmox forum about this. Also, solaris seems affected, has 
 been discussed on this list.


For Solaris I wrote a hook which can be found here (works fine for Solaris 
10/11 on Intel CPUs):
https://github.com/ovido/ovirt-stuff/tree/master/hooks

Don't know if this is needed for (older versions of) FreeBSD, too.


Regards,
René


 Joop






Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
University of Applied Sciences Wiener Neustadt for Business and Engineering 
Ltd., Austria
Johannes Gutenberg-Straße 3
2700 Wiener Neustadt
Austria, Europe
ATU: 37772406
Firmenbuchnummer: 77005v
Firmenbuchgericht: Landesgericht Wiener Neustadt
DVR: 0769665
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen.

This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users