Re: FreeBSD as a xen host

2010-11-07 Thread RW
On Sun, 7 Nov 2010 10:28:06 -0600
Adam Vande More  wrote:

> You may wish to read that page again.  Dom0 support doesn't exist in
> FreeBSD, and paravirt domU is sketchy at best.

The page says:

   "The port will only run as a guest (ie. domU) right now, on i386/PAE
   platforms."

which is open to misinterpretation. Perhaps someone with an account
could change it to something clearer such as: 

   "The port will only run as a guest (ie. domU) right now, and only on
   i386/PAE platforms."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread Matthew Seaman
On 07/11/2010 16:39, Tim Dunphy wrote:
>  Thanks for clarifying. And my root shell is csh. I am merely
> executing bash so I have the convenience of command line completion.

tcsh(1) does command line completion etc. etc.  at least as well as
bash(1) and sometimes arguably better (IMHO).

Try adding:

set autocorrect
set autoexpand
set autolist
set matchbeep = nomatch

to your .tcshrc -- there are plenty more variables to tweak behaviour
with documented in the manual.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD as a xen host

2010-11-07 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Sun Nov  7 10:17:51 2010
> Date: Sun, 7 Nov 2010 11:18:56 -0500
> From: Tim Dunphy 
> To: freebsd-questions 
> Subject: Re: FreeBSD as a xen host
>
> Guys,
>
>  Thanks gmake has gotten me much farther than make has! :) However the
> install is still failing:
>
> gmake libxenctrl.a libxenctrl.so libxenctrl.so.3.2 libxenctrl.so.3.2.0
> libxenguest.a libxenguest.so libxenguest.so.3.2 libxenguest.so.3.2.0
> getconf: no such configuration parameter `LFS_CFLAGS'
> gmake[4]: Entering directory `/tmp/xen-3.2-testing.hg/tools/libxc'
> gcc  -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG
> -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
> -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs
> -Werror -Wmissing-prototypes  -I. -I../xenstore -Wp,-MD,.xc_core.o.d
> -c -o xc_core.o xc_core.c
> In file included from xg_private.h:16,
>  from xc_core.c:52:
> xc_private.h:18:29: error: xen/sys/privcmd.h: No such file or directory
> In file included from xg_private.h:16,
>  from xc_core.c:52:
> xc_private.h:86: error: expected declaration specifiers or '...'
> before 'privcmd_hypercall_t'
> xc_private.h: In function 'do_xen_version':
> xc_private.h:90: error: 'privcmd_hypercall_t' undeclared (first use in
> this function)
> xc_private.h:90: error: (Each undeclared identifier is reported only once
> xc_private.h:90: error: for each function it appears in.)
> xc_private.h:90: error: expected ';' before 'hypercall'
> xc_private.h:92: error: 'hypercall' undeclared (first use in this function)
> xc_private.h:96: error: too many arguments to function 'do_xen_hypercall'
> xc_private.h: In function 'do_domctl':
> xc_private.h:102: error: 'privcmd_hypercall_t' undeclared (first use
> in this function)
> xc_private.h:102: error: expected ';' before 'hypercall'
> xc_private.h:106: error: 'hypercall' undeclared (first use in this function)
> xc_private.h:115: error: too many arguments to function 'do_xen_hypercall'
> xc_private.h: In function 'do_sysctl':
> xc_private.h:131: error: 'privcmd_hypercall_t' undeclared (first use
> in this function)
> xc_private.h:131: error: expected ';' before 'hypercall'
> xc_private.h:135: error: 'hypercall' undeclared (first use in this function)
> xc_private.h:144: error: too many arguments to function 'do_xen_hypercall'
> xc_private.h: At top level:
> xc_private.h:158: error: expected declaration specifiers or '...'
> before 'privcmd_mmap_entry_t'
> gmake[4]: *** [xc_core.o] Error 1
> gmake[4]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc'
> gmake[3]: *** [build] Error 2
> gmake[3]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc'
> gmake[2]: *** [install] Error 2
> gmake[2]: Leaving directory `/tmp/xen-3.2-testing.hg/tools'
> gmake[1]: *** [install-tools] Error 2
> gmake[1]: Leaving directory `/tmp/xen-3.2-testing.hg'
> gmake: *** [world] Error 2
>
> I was wondering if you might have any further suggestions that might
> get this working.

if you -read- the output carefully, you discover that it is complaining 
abouot not being able to find an include file. a file named:
   xen/sys/privcd.h

You need to figure out _where_ that file is on your system, and arrange
to include the parent directory in the 'include search path' when you
compile that module.   the cc '-I" flag.  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread Tim Dunphy
Adam,

 Thanks for clarifying. And my root shell is csh. I am merely
executing bash so I have the convenience of command line completion.

best!

On Sun, Nov 7, 2010 at 11:28 AM, Adam Vande More  wrote:
> On Sun, Nov 7, 2010 at 6:54 AM, Tim Dunphy  wrote:
>>
>> Hello,
>>
>>  I am attempting to turn my two FreeBSD hosts into xen hosts that can
>> run some vms. I am using this guide:
>>
>> http://wiki.freebsd.org/FreeBSD/Xen
>>
>> I get down to this step:
>>
>> cd xen-3.3-testing.hg ; make world && make install
>>
>> and it fails to build:
>
> You may wish to read that page again.  Dom0 support doesn't exist in
> FreeBSD, and paravirt domU is sketchy at best.
>
> Your virtualization options are VirtualBox or FreeBSD jails.  There's
> another container based method that's experimental somewhere too.
>
> Changing your root shell is asking for trouble.  There's a FAQ on it, and
> hundreds of threads of misery.
>
> http://www.freebsd.org/doc/en/books/faq/book.html#TOOR-ACCOUNT
>
> --
> Adam Vande More
>



-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread Adam Vande More
On Sun, Nov 7, 2010 at 6:54 AM, Tim Dunphy  wrote:

> Hello,
>
>  I am attempting to turn my two FreeBSD hosts into xen hosts that can
> run some vms. I am using this guide:
>
> http://wiki.freebsd.org/FreeBSD/Xen
>
> I get down to this step:
>
> cd xen-3.3-testing.hg ; make world && make install
>
> and it fails to build:
>

You may wish to read that page again.  Dom0 support doesn't exist in
FreeBSD, and paravirt domU is sketchy at best.

Your virtualization options are VirtualBox or FreeBSD jails.  There's
another container based method that's experimental somewhere too.

Changing your root shell is asking for trouble.  There's a FAQ on it, and
hundreds of threads of misery.

http://www.freebsd.org/doc/en/books/faq/book.html#TOOR-ACCOUNT

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread Tim Dunphy
Guys,

 Thanks gmake has gotten me much farther than make has! :) However the
install is still failing:

gmake libxenctrl.a libxenctrl.so libxenctrl.so.3.2 libxenctrl.so.3.2.0
libxenguest.a libxenguest.so libxenguest.so.3.2 libxenguest.so.3.2.0
getconf: no such configuration parameter `LFS_CFLAGS'
gmake[4]: Entering directory `/tmp/xen-3.2-testing.hg/tools/libxc'
gcc  -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs
-Werror -Wmissing-prototypes  -I. -I../xenstore -Wp,-MD,.xc_core.o.d
-c -o xc_core.o xc_core.c
In file included from xg_private.h:16,
 from xc_core.c:52:
xc_private.h:18:29: error: xen/sys/privcmd.h: No such file or directory
In file included from xg_private.h:16,
 from xc_core.c:52:
xc_private.h:86: error: expected declaration specifiers or '...'
before 'privcmd_hypercall_t'
xc_private.h: In function 'do_xen_version':
xc_private.h:90: error: 'privcmd_hypercall_t' undeclared (first use in
this function)
xc_private.h:90: error: (Each undeclared identifier is reported only once
xc_private.h:90: error: for each function it appears in.)
xc_private.h:90: error: expected ';' before 'hypercall'
xc_private.h:92: error: 'hypercall' undeclared (first use in this function)
xc_private.h:96: error: too many arguments to function 'do_xen_hypercall'
xc_private.h: In function 'do_domctl':
xc_private.h:102: error: 'privcmd_hypercall_t' undeclared (first use
in this function)
xc_private.h:102: error: expected ';' before 'hypercall'
xc_private.h:106: error: 'hypercall' undeclared (first use in this function)
xc_private.h:115: error: too many arguments to function 'do_xen_hypercall'
xc_private.h: In function 'do_sysctl':
xc_private.h:131: error: 'privcmd_hypercall_t' undeclared (first use
in this function)
xc_private.h:131: error: expected ';' before 'hypercall'
xc_private.h:135: error: 'hypercall' undeclared (first use in this function)
xc_private.h:144: error: too many arguments to function 'do_xen_hypercall'
xc_private.h: At top level:
xc_private.h:158: error: expected declaration specifiers or '...'
before 'privcmd_mmap_entry_t'
gmake[4]: *** [xc_core.o] Error 1
gmake[4]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc'
gmake[3]: *** [build] Error 2
gmake[3]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/tmp/xen-3.2-testing.hg/tools'
gmake[1]: *** [install-tools] Error 2
gmake[1]: Leaving directory `/tmp/xen-3.2-testing.hg'
gmake: *** [world] Error 2

I was wondering if you might have any further suggestions that might
get this working.

regards



On Sun, Nov 7, 2010 at 8:01 AM, Bruce Cran  wrote:
> On Sun, 7 Nov 2010 07:54:01 -0500
> Tim Dunphy  wrote:
>
>> [r...@lbsd2:/tmp/xen-3.2-testing.hg]#make world && make install
>> "Makefile", line 9: Need an operator
>> "Config.mk", line 12: Missing dependency operator
>> "Config.mk", line 14: Need an operator
>> "Config.mk", line 31: Could not find /config/.mk
>> "Config.mk", line 32: Could not find /config/.mk
>> "Config.mk", line 34: Missing dependency operator
>> "Config.mk", line 37: Need an operator
>> "Config.mk", line 53: Need an operator
>> Error expanding embedded variable.
>>
>>
>> Does anyone have any advice on how to get this to work?
>
> Looks like you might need to use GNU make ("gmake") instead of "make"?
>
> --
> Bruce Cran
>



-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread Bruce Cran
On Sun, 7 Nov 2010 07:54:01 -0500
Tim Dunphy  wrote:

> [r...@lbsd2:/tmp/xen-3.2-testing.hg]#make world && make install
> "Makefile", line 9: Need an operator
> "Config.mk", line 12: Missing dependency operator
> "Config.mk", line 14: Need an operator
> "Config.mk", line 31: Could not find /config/.mk
> "Config.mk", line 32: Could not find /config/.mk
> "Config.mk", line 34: Missing dependency operator
> "Config.mk", line 37: Need an operator
> "Config.mk", line 53: Need an operator
> Error expanding embedded variable.
> 
> 
> Does anyone have any advice on how to get this to work?

Looks like you might need to use GNU make ("gmake") instead of "make"?

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a xen host

2010-11-07 Thread C. P. Ghost
On Sun, Nov 7, 2010 at 1:54 PM, Tim Dunphy  wrote:
> Hello,
>
>  I am attempting to turn my two FreeBSD hosts into xen hosts that can
> run some vms. I am using this guide:
>
> http://wiki.freebsd.org/FreeBSD/Xen
>
> I get down to this step:
>
> cd xen-3.3-testing.hg ; make world && make install
>
> and it fails to build:
>
> [r...@lbsd2:/tmp/xen-3.2-testing.hg]#make world && make install
> "Makefile", line 9: Need an operator
> "Config.mk", line 12: Missing dependency operator
> "Config.mk", line 14: Need an operator
> "Config.mk", line 31: Could not find /config/.mk
> "Config.mk", line 32: Could not find /config/.mk
> "Config.mk", line 34: Missing dependency operator
> "Config.mk", line 37: Need an operator
> "Config.mk", line 53: Need an operator
> Error expanding embedded variable.

Just guessing: it looks like you need to use gmake instead of make.

> Does anyone have any advice on how to get this to work?
>
> thanks!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD as a xen host

2010-11-07 Thread Tim Dunphy
Hello,

 I am attempting to turn my two FreeBSD hosts into xen hosts that can
run some vms. I am using this guide:

http://wiki.freebsd.org/FreeBSD/Xen

I get down to this step:

cd xen-3.3-testing.hg ; make world && make install

and it fails to build:

[r...@lbsd2:/tmp/xen-3.2-testing.hg]#make world && make install
"Makefile", line 9: Need an operator
"Config.mk", line 12: Missing dependency operator
"Config.mk", line 14: Need an operator
"Config.mk", line 31: Could not find /config/.mk
"Config.mk", line 32: Could not find /config/.mk
"Config.mk", line 34: Missing dependency operator
"Config.mk", line 37: Need an operator
"Config.mk", line 53: Need an operator
Error expanding embedded variable.


Does anyone have any advice on how to get this to work?

thanks!




-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"