Re: CFT: petitecloud 0.1.7

2013-10-01 Thread Aryeh Friedman
Sorry the correct url is http://petitecloud.org/download.jsp



On Tue, Oct 1, 2013 at 9:08 PM, Dee Nixon  wrote:

> Aryeh forgot to include the URL where you can download it:
>
> http://10.0.10.3/petitecloudorg/download.jsp
>
> On Tue, October 1, 2013 9:04 pm, Aryeh Friedman wrote:
> > -- Forwarded message --
> > From: Aryeh Friedman 
> > Date: Tue, Oct 1, 2013 at 8:57 PM
> > Subject: CFT: petitecloud 0.1.7
> > To: "freebsd-virtualization@freebsd.org"
> >  >>
> >
> >
> > Whats new:
> >
> > * Type and amount of information displayed on instance
> > listing of web UI has been simplified to be more user-friendly.
> > For each guest instance, the web UI now displays only a name,
> > cpu count, RAM and disk space.   All values that have been
> > "hidden" (such as "network interface") are now autoassigned by
> > petitecloud.
> >
> > * It is now physically impossible to enter incorrect data
> > when creating instances.  All resource limits are enforced
> > passively by constraining pull-down values.
> >
> > * Prefered disk location and prefered install cd location
> > are now on the settings panel.
> >
> > NOTE: The old /usr/local/etc/petitecloud/settings and
> > /usr/local/etc/petitecloud/instances are incompatible with 0.1.7.
> > It is recommended you remake any instances to reflect this fact.
> >
>
>
>
>
>
___
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"


Re: CFT: petitecloud 0.1.7

2013-10-01 Thread Dee Nixon
Aryeh forgot to include the URL where you can download it:

http://10.0.10.3/petitecloudorg/download.jsp

On Tue, October 1, 2013 9:04 pm, Aryeh Friedman wrote:
> -- Forwarded message --
> From: Aryeh Friedman 
> Date: Tue, Oct 1, 2013 at 8:57 PM
> Subject: CFT: petitecloud 0.1.7
> To: "freebsd-virtualization@freebsd.org"
> >
>
>
> Whats new:
>
> * Type and amount of information displayed on instance
> listing of web UI has been simplified to be more user-friendly.
> For each guest instance, the web UI now displays only a name,
> cpu count, RAM and disk space.   All values that have been
> "hidden" (such as "network interface") are now autoassigned by
> petitecloud.
>
> * It is now physically impossible to enter incorrect data
> when creating instances.  All resource limits are enforced
> passively by constraining pull-down values.
>
> * Prefered disk location and prefered install cd location
> are now on the settings panel.
>
> NOTE: The old /usr/local/etc/petitecloud/settings and
> /usr/local/etc/petitecloud/instances are incompatible with 0.1.7.
> It is recommended you remake any instances to reflect this fact.
>




___
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"


CFT: petitecloud 0.1.7

2013-10-01 Thread Aryeh Friedman
Whats new:

* Type and amount of information displayed on instance listing of
web UI has been simplified to be more user-friendly.  For each guest
instance, the web UI now displays only a name, cpu count, RAM and disk
space.   All values that have been "hidden" (such as "network interface")
are now autoassigned by petitecloud.

* It is now physically impossible to enter incorrect data when
creating instances.  All resource limits are enforced passively by
constraining pull-down values.

* Prefered disk location and prefered install cd location are now
on the settings panel.

NOTE: The old /usr/local/etc/petitecloud/settings and
/usr/local/etc/petitecloud/instances are incompatible with 0.1.7.  It is
recommended you remake any instances to reflect this fact.
___
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"


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

2013-10-01 Thread John-Mark Gurney
??  wrote this message on Tue, Oct 01, 2013 at 16:01 +0600:
>Good day!
> 
>I don't know is it possible to build kernel with CLANG, because now my
>system builded without clang, so right now I can rebuild world only
>with gcc (because clang is not present in my system), or maybe I can
>install clang from ports and rebuild world with clang from ports?

If you use the normal way to build a kernel, then yes, you can build a
kernel w/ clang...  Do:
make kernel-toolchain WITH_CLANG_IS_CC=YES WITH_CLANG=YES 
make buildkernel KERNCONF=

See src/UPDATING for more info/help.

>30.09.2013, 02:29, "Abhishek Gupta (LIS)" :
> 
>  Hi,
>  Is it possible for you to compile with the clang compiler instead of
>  gcc?
>  It seems that you are compiling with gcc and that is why the error
>  is showing up:
>  WITHOUT_CLANG=YES
>  WITH_GCC=YES
>  Let me know if that is not acceptable and I will try to address this
>  as soon as possible.
>  Thanks,
>  Abhishek
>  
>  From: [1]owner-freebsd-virtualizat...@freebsd.org
>  <[2]owner-freebsd-virtualizat...@freebsd.org> on behalf of ??
>   <[3]gosha-n...@yandex.ru>
>  Sent: Sunday, September 29, 2013 11:18 AM
>  To: [4]freebsd-curr...@freebsd.org;
>  [5]freebsd-virtualization@freebsd.org
>  Subject: Hyperv driver related error on make buildkernel on -r255933
>  I have an error when tryin to compile kernel with recent -CURRENT
>  sources
>  There is additional info uname -a, /etc/src.conf, error output and
>  kernel config
>   uname -a
>  FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12
>  22:31:24
>  MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64
>   /etc/src.conf
>  WITHOUT_ACCT=YES
>  #WITHOUT_AMD=YES
>  WITHOUT_ASSERT_DEBUG=YES
>  WITHOUT_ATM=YES
>  WITHOUT_AUDIT=YES
>  WITHOUT_AUTHPF=YES
>  WITHOUT_BIND=YES
>  #WITHOUT_BLUETOOTH=YES
>  WITHOUT_BSNMP=YES
>  WITHOUT_CLANG=YES
>  WITHOUT_CTM=YES
>  WITHOUT_FDT=YES
>  WITHOUT_FLOPPY=YES
>  WITHOUT_GDB=YES
>  WITHOUT_HTML=YES
>  WITH_GCC=YES
>  WITH_GNUCXX=YES
>  WITHOUT_ICONV=YES
>  #WITH_LIBICONV_COMPAT=YES
>  WITHOUT_INET6=YES
>  WITHOUT_INFO=YES
>  WITHOUT_IPFILTER=YES
>  WITHOUT_IPX=YES
>  WITHOUT_KERNEL_SYMBOLS=YES
>  WITHOUT_KVM=YES
>  WITHOUT_LPR=YES
>  WITHOUT_MAIL=YES
>  WITHOUT_NCP=YES
>  #WITHOUT_NDIS=YES
>  WITHOUT_OFED=YES
>  WITHOUT_PF=YES
>  WITHOUT_PMC=YES
>  WITHOUT_QUOTAS=YES
>  WITHOUT_RCMDS=YES
>  WITHOUT_RCS=YES
>  WITHOUT_SHAREDOCS=YES
>  #WITHOUT_USB=YES
>  #WITHOUT_WIRELESS=YES
>  WITHOUT_ZFS=YES
>   ERROR OUTPUT
>  awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs
>  -J%
>  objcopy % hwpmc.ko
>  objcopy --strip-debug hwpmc.ko
>  ===> hyperv (all)
>  ===> hyperv/vmbus (all)
>  cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=core2
>  -march=core2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE
>  -nostdinc
>  -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include
>  -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus
>  -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities
>  -DHAVE_KERNEL_OPTION_HEADERS -include
>  /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq
>  -finline-limit=8000 --param inline-unit-growth=100 --param
>  large-function-growth=1000 -fno-common -fno-omit-frame-pointer
>  -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD
>  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
>  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
>  -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
>  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
>  -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
>  -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option
>  -c
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann
>  el.
>  c
>  In file included from
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann
>  el.
>  c:40:
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
>  _pr
>  iv.h:288: warning: declaration does not declare anything
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
>  _pr
>  iv.h:396: warning: declaration does not declare anything
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
>  _pr
>  iv.h:410: warning: declaration does not declare anything
>  /usr/src/sys/modules/hyperv/vmbus/../../../dev/

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

2013-10-01 Thread Гуляев Гоша
   Good day!

   I don't know is it possible to build kernel with CLANG, because now my
   system builded without clang, so right now I can rebuild world only
   with gcc (because clang is not present in my system), or maybe I can
   install clang from ports and rebuild world with clang from ports?

   30.09.2013, 02:29, "Abhishek Gupta (LIS)" :

 Hi,
 Is it possible for you to compile with the clang compiler instead of
 gcc?
 It seems that you are compiling with gcc and that is why the error
 is showing up:
 WITHOUT_CLANG=YES
 WITH_GCC=YES
 Let me know if that is not acceptable and I will try to address this
 as soon as possible.
 Thanks,
 Abhishek
 
 From: [1]owner-freebsd-virtualizat...@freebsd.org
 <[2]owner-freebsd-virtualizat...@freebsd.org> on behalf of Гуляев
 Гоша <[3]gosha-n...@yandex.ru>
 Sent: Sunday, September 29, 2013 11:18 AM
 To: [4]freebsd-curr...@freebsd.org;
 [5]freebsd-virtualization@freebsd.org
 Subject: Hyperv driver related error on make buildkernel on -r255933
 I have an error when tryin to compile kernel with recent -CURRENT
 sources
 There is additional info uname -a, /etc/src.conf, error output and
 kernel config
  uname -a
 FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12
 22:31:24
 MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64
  /etc/src.conf
 WITHOUT_ACCT=YES
 #WITHOUT_AMD=YES
 WITHOUT_ASSERT_DEBUG=YES
 WITHOUT_ATM=YES
 WITHOUT_AUDIT=YES
 WITHOUT_AUTHPF=YES
 WITHOUT_BIND=YES
 #WITHOUT_BLUETOOTH=YES
 WITHOUT_BSNMP=YES
 WITHOUT_CLANG=YES
 WITHOUT_CTM=YES
 WITHOUT_FDT=YES
 WITHOUT_FLOPPY=YES
 WITHOUT_GDB=YES
 WITHOUT_HTML=YES
 WITH_GCC=YES
 WITH_GNUCXX=YES
 WITHOUT_ICONV=YES
 #WITH_LIBICONV_COMPAT=YES
 WITHOUT_INET6=YES
 WITHOUT_INFO=YES
 WITHOUT_IPFILTER=YES
 WITHOUT_IPX=YES
 WITHOUT_KERNEL_SYMBOLS=YES
 WITHOUT_KVM=YES
 WITHOUT_LPR=YES
 WITHOUT_MAIL=YES
 WITHOUT_NCP=YES
 #WITHOUT_NDIS=YES
 WITHOUT_OFED=YES
 WITHOUT_PF=YES
 WITHOUT_PMC=YES
 WITHOUT_QUOTAS=YES
 WITHOUT_RCMDS=YES
 WITHOUT_RCS=YES
 WITHOUT_SHAREDOCS=YES
 #WITHOUT_USB=YES
 #WITHOUT_WIRELESS=YES
 WITHOUT_ZFS=YES
  ERROR OUTPUT
 awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs
 -J%
 objcopy % hwpmc.ko
 objcopy --strip-debug hwpmc.ko
 ===> hyperv (all)
 ===> hyperv/vmbus (all)
 cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=core2
 -march=core2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE
 -nostdinc
 -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include
 -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus
 -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities
 -DHAVE_KERNEL_OPTION_HEADERS -include
 /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-common -fno-omit-frame-pointer
 -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD
 -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
 -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
 -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
 -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option
 -c
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann
 el.
 c
 In file included from
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann
 el.
 c:40:
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:288: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:396: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:410: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:418: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:426: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:502: warning: declaration does not declare anything
 /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus
 _pr
 iv.h:514: warning: declaration does not declare any

Again: Tmp. disable BlkVSC (paravirtual IDE) functional? On ATA Channel N2 -- minimum Re: Disabling ATA driver for IDE devices on Hyper-V Re: ATA controller and Hyper-V "synthetic storage driver" hand

2013-10-01 Thread Victor Miasnikov

Hi!

This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the 
repetition and provide any suggestions you may have.


One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in 
the guest operating system to manage CDROMs.

What we would like to do is disable the ATA driver for all device types except 
the CDROM in the presence of Hyper-V.


Yes: "disable . . . except the CDROM" need for  "LiveCD and (or) .ISO for setup 
FreeBSD"

See P.P.P.S.
==
- Original Message - 
From: "Victor Miasnikov"

To: "Alexander Motin"
Cc: ;  "Larry Melia" ( in fact to 3 e-mail 
address )
Sent: Tuesday, May 07, 2013 12:00 PM
Subject: Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the 
CD-ROM) Re: Hyper-V on FreeBSD


 . . .


On 07.05.2013 10:40, Victor Miasnikov wrote:

prevent default OS driver from attaching to emulated ATA controller
when Hyper-V


Disable both primary and secondary ATA controller prevent use CD-ROM
device in VM ( guest)

Because "synthetic storage driver" not handle CD-ROM devices
( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device)



A.M.> Then may be possibility of blocking/hiding specific ATA channels or
A.M.> devices could be investigated.

IMHO, this ( or some like this) must be investigated
In any case, need carefully testing work CD-ROM ( primary for LiveCD and (or) 
.ISO for setup FreeBSD) in Hyper-V
enviroment
==



As of now we have implemented a disengage driver that disables ATA driver 
permanently on Hyper-V.


As _first_ step:
temporary disable BlkVSC (paravirtual IDE) functional

(
 Or  ( as best tmp. solution):
"turn on"  hw.ata.disk_enable by default
i.e. implement  hw.ata.disk_disable

When Hyper-V sysadmin need syntetic/"Hyper-V specific" ATA driver functional,
sysadmin use hw.ata.disk_disable

 When Hyper-V sysadmin need CD-ROM -- sysadmin skip/not use hw.ata.disk_disable
)

See in P.P.S.
==
L.M.>>> Removing our ATA patches, on the other hand, results in a huge
L.M.>>> performance loss. This is because the root file system is managed by the
L.M.>>> ATA driver, which is emulated under Hyper-V.
VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI .
+
VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM 
device in VM ( guest)
VVM>> Because "synthetic storage driver" not handle CD-ROM devices

 May be temporary disable BlkVSC (paravirtual IDE) functional?

And enable [imm.]after implement work on Hyper-V both CD-ROM and ATA disks
==

(
And not forget about hv_ata_pci_disengage.c
)

However this is less than desirable and we are looking for a better solution. Please let us know if you have some 
thoughts.


On _second_ step, we can start inplement "better solution"


Can someone help us in answering the following in this regard:

a)  What is the correct location in the FreeBSD ATA code where we can put 
in selective disabling?

b)  Is this a good approach? Is there something cleaner you can think of?




   Disable non-syntetic/"legacy" ATA driver on ATA channel N1 ( for HDD )  ,
but enable non-syntetic/"legacy" ATA driver on ATA channel N2 ( for CD-Rom 
devices)

(
Of cource:
Enable syntetic/"Hyper-V specific" ATA driver on ATA channel N1 ( for HDD );
Disable syntetic/"Hyper-V specific" ATA driver on ATA channel N2 ( for CD-Rom 
devices)
)

See:
- Original Message - 
From: "Alexander Motin"

To: "Larry Melia"
Cc: "Abhishek Gupta (LIS)" ; "KY Srinivasan" ; 

Sent: Tuesday, June 04, 2013 7:23 PM
Subject: Re: more granular detection and control to disable/enable PCI-ATA 
devices

 . . .

That is why you can't replace driver for a single disk
in the same way as you replaced driver for the whole controller.
The highest level present in "NewBus" is ATA channel.
So if  disk and CD-ROM are always live on different channels,
you can create dummy driver not for the whole controller (atapciX),
but for single hardcoded ATA channel (ataX).

. . .

--




Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/


P.S.


- Original Message - 
From: "Abhishek Gupta (LIS)"

To: freebsd-virtualization  (at)  freebsd.org
Sent: Tuesday, October 01, 2013 12:02 AM
Subject: Disabling ATA driver for IDE devices on Hyper-V

Hi folks,

This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the 
repetition and provide any suggestions you may have.


One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in 
the guest operating system to manage CDROMs. What we would like to do is disable the ATA driver for all device types 
except the CDROM in the presence of Hyper-V. Can someone help us in answering the following in this regard:



a)  What is the correct location in the FreeBSD ATA code where we can put 
in selective disabling?

b)