From bj at SerNet.DE Wed Apr 1 03:31:42 2009 From: bj at SerNet.DE (=?iso-8859-1?Q?Bj=F6rn?= JACKE) Date: Wed Apr 1 03:31:55 2009 Subject: Compiling CURRENT with XEN config fails In-Reply-To: <20090401100438.GA5039@SerNet.DE> References: <1238162602.24399.29.camel@phoenix.blechhirn.net> <20090401100438.GA5039@SerNet.DE> Message-ID: Hi, On 2009-04-01 at 12:04 +0200 Bj?rn JACKE sent off: > On 2009-03-27 at 15:03 +0100 Mister Olli sent off: > > /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler' > > /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here > > /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler': > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function) > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.) > > *** Error code 1 > > the attached patch should fix this one. Can someone review that please? there are a whole bunch of other compile bugs that had been introduced with r189699. Doug, can you please try to do a xen kernel compile with and without SMP support and take a look at the issues? Thanks... Bj?rn -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20090401/39d5f364/attachment.pgp From bj at SerNet.DE Wed Apr 1 03:31:42 2009 From: bj at SerNet.DE (=?iso-8859-1?Q?Bj=F6rn?= JACKE) Date: Wed Apr 1 03:32:06 2009 Subject: Compiling CURRENT with XEN config fails In-Reply-To: <1238162602.24399.29.camel@phoenix.blechhirn.net> References: <1238162602.24399.29.camel@phoenix.blechhirn.net> Message-ID: On 2009-03-27 at 15:03 +0100 Mister Olli sent off: > /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler' > /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here > /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler': > /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function) > /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once > /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.) > *** Error code 1 the attached patch should fix this one. Can someone review that please? Thanks Bj?rn -------------- next part -------------- A non-text attachment was scrubbed... Name: freebsd-head-evtchn-build-fix.patch Type: text/x-patch Size: 482 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20090401/36f173cd/freebsd-head-evtchn-build-fix.bin From dfr at rabson.org Wed Apr 1 07:40:26 2009 From: dfr at rabson.org (Doug Rabson) Date: Wed Apr 1 07:41:17 2009 Subject: Compiling CURRENT with XEN config fails In-Reply-To: References: <1238162602.24399.29.camel@phoenix.blechhirn.net> <20090401100438.GA5039@SerNet.DE> Message-ID: On 1 Apr 2009, at 11:32, Bj?rn JACKE wrote: > Hi, > > On 2009-04-01 at 12:04 +0200 Bj?rn JACKE sent off: >> On 2009-03-27 at 15:03 +0100 Mister Olli sent off: >>> /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for >>> 'bind_virq_to_irqhandler' >>> /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of >>> 'bind_virq_to_irqhandler' was here >>> /usr/src/sys/xen/evtchn/evtchn.c: In function >>> 'bind_virq_to_irqhandler': >>> /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared >>> (first use in this function) >>> /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared >>> identifier is reported only once >>> /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it >>> appears in.) >>> *** Error code 1 >> >> the attached patch should fix this one. Can someone review that >> please? > > there are a whole bunch of other compile bugs that had been > introduced with > r189699. Doug, can you please try to do a xen kernel compile with > and without > SMP support and take a look at the issues? I'll sort it out as soon as possible. Sorry for the inconvenience. From bzeeb-lists at lists.zabbadoz.net Wed Apr 1 09:08:23 2009 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Wed Apr 1 09:08:36 2009 Subject: Compiling CURRENT with XEN config fails In-Reply-To: References: <1238162602.24399.29.camel@phoenix.blechhirn.net> Message-ID: <20090401154457.K15361@maildrop.int.zabbadoz.net> On Wed, 1 Apr 2009, Bj?rn JACKE wrote: > On 2009-03-27 at 15:03 +0100 Mister Olli sent off: >> /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler' >> /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here >> /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler': >> /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function) >> /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once >> /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.) >> *** Error code 1 > > the attached patch should fix this one. Can someone review that please? I had those since last weekend but there are even more ... Not entirely sure about the second hunk of the console.c patch though. I gave up as the universe I built worked for what I tested. Index: sys/dev/xen/console/console.c =================================================================== --- sys/dev/xen/console/console.c (revision 190619) +++ sys/dev/xen/console/console.c (working copy) @@ -225,7 +225,6 @@ xc_attach(device_t dev) { int error; - struct xc_softc *sc = (struct xc_softc *)device_get_softc(dev); if (xen_start_info->flags & SIF_INITDOMAIN) { xc_consdev.cn_putc = xccnputc_dom0; @@ -248,6 +247,7 @@ "console", NULL, xencons_priv_interrupt, + NULL, INTR_TYPE_TTY, NULL); KASSERT(error >= 0, ("can't register console interrupt")); Index: sys/xen/evtchn/evtchn.c =================================================================== --- sys/xen/evtchn/evtchn.c (revision 190619) +++ sys/xen/evtchn/evtchn.c (working copy) @@ -512,7 +512,7 @@ int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu, const char *devname, driver_filter_t filter, driver_intr_t handler, - unsigned long irqflags, unsigned int *irqp) + void *arg, unsigned long irqflags, unsigned int *irqp) { unsigned int irq; int error; Index: sys/xen/reboot.c =================================================================== --- sys/xen/reboot.c (revision 190619) +++ sys/xen/reboot.c (working copy) @@ -176,9 +176,9 @@ /* * Bind us to CPU 0 and stop any other VCPUs. */ - mtx_lock_spin(&sched_lock); + thread_lock(curthread); sched_bind(curthread, 0); - mtx_unlock_spin(&sched_lock); + thread_unlock(curthread); KASSERT(PCPU_GET(cpuid) == 0, ("xen_suspend: not running on cpu 0")); map = PCPU_GET(other_cpus) & ~stopped_cpus; -- Bjoern A. Zeeb The greatest risk is not taking one. From mister.olli at googlemail.com Thu Apr 2 12:35:06 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Thu Apr 2 12:35:12 2009 Subject: Compiling CURRENT with XEN config fails In-Reply-To: References: <1238162602.24399.29.camel@phoenix.blechhirn.net> Message-ID: <1238700894.14361.615.camel@phoenix.blechhirn.net> Hi, the attached patch fixed the compile problem, but new ones are coming up (on r190464) ;-)) cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/xen/reboot.c /usr/src/sys/xen/reboot.c: In function 'xen_suspend': /usr/src/sys/xen/reboot.c:179: error: 'sched_lock' undeclared (first use in this function) /usr/src/sys/xen/reboot.c:179: error: (Each undeclared identifier is reported only once /usr/src/sys/xen/reboot.c:179: error: for each function it appears in.) cc1: warnings being treated as errors /usr/src/sys/xen/reboot.c:216: warning: implicit declaration of function 'pmap_suspend' /usr/src/sys/xen/reboot.c:216: warning: nested extern declaration of 'pmap_suspend' /usr/src/sys/xen/reboot.c:218: warning: implicit declaration of function 'pmap_resume' /usr/src/sys/xen/reboot.c:218: warning: nested extern declaration of 'pmap_resume' /usr/src/sys/xen/reboot.c:224: error: 'xen_pfn_to_mfn_frame_list_list' undeclared (first use in this function) /usr/src/sys/xen/reboot.c:231: error: 'xen_pfn_to_mfn_frame_list' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/XEN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. template-8_CURRENT# with a current revision (190640) 'make depend' fails with these errors: ===> sbin/ifconfig (depend) rm -f .depend mkdep -f .depend -a ifconfig.c af_link.c af_inet.c af_inet6.c af_atalk.c ifclone.c ifmac.c ifmedia.c ifvlan.c ifgre.c ifieee80211.c regdomain.c ifcarp.c ifgroup.c ifpfsync.c ifbridge.c iflagg.c af_ipx.c ifieee80211.c:82:39: error: net80211/ieee80211_superg.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sbin/ifconfig. *** Error code 1 Regards, Olli On Mi, 2009-04-01 at 12:04 +0200, Bj?rn JACKE wrote: > On 2009-03-27 at 15:03 +0100 Mister Olli sent off: > > /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler' > > /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here > > /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler': > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function) > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once > > /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.) > > *** Error code 1 > > the attached patch should fix this one. Can someone review that please? > > Thanks > Bj?rn From kay.wanous at gmail.com Fri Apr 3 11:22:05 2009 From: kay.wanous at gmail.com (Kay Wanous) Date: Fri Apr 3 11:22:11 2009 Subject: FreeBSD as DomU without HVM Message-ID: <49D653C9.5000804@gmail.com> Hi all, I see a lot of nice documentation pointing to http://www.fsmware.com for the initial kernel and setup files, but the site doesn't appear to be up. Has it moved locations? Thanks, Kay From Benoit.Calvez at gmail.com Fri Apr 3 17:43:34 2009 From: Benoit.Calvez at gmail.com (Benoit Calvez) Date: Fri Apr 3 17:43:41 2009 Subject: FreeBSD as DomU without HVM In-Reply-To: <49D653C9.5000804@gmail.com> References: <49D653C9.5000804@gmail.com> Message-ID: <3481d8e60904031721p2c50e0d2o5b964164f9746778@mail.gmail.com> Try http://benoit.litchis.org/freebsd-xen I tried freebsd in paravirt mode a few month ago there is an image disk and a configuration. Don't remember if it works now or not On Fri, Apr 3, 2009 at 8:22 PM, Kay Wanous wrote: > Hi all, > > I see a lot of nice documentation pointing to http://www.fsmware.com for > the initial kernel and setup files, but the site doesn't appear to be up. > Has it moved locations? > > Thanks, > Kay > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > -- Benoit Calvez. From kmacy at freebsd.org Fri Apr 3 18:09:55 2009 From: kmacy at freebsd.org (Kip Macy) Date: Fri Apr 3 18:10:02 2009 Subject: FreeBSD as DomU without HVM In-Reply-To: <49D653C9.5000804@gmail.com> References: <49D653C9.5000804@gmail.com> Message-ID: <3c1674c90904031747o72b5a854w48e49241a934bd88@mail.gmail.com> On Fri, Apr 3, 2009 at 11:22 AM, Kay Wanous wrote: > Hi all, > > I see a lot of nice documentation pointing to http://www.fsmware.com for the > initial kernel and setup files, but the site doesn't appear to be up. ?Has > it moved locations? Sorry - I've been distracted lately ... I forgot to pay the hosting fees. I'll put it up somewhere else when I get the chance. -Kip From mdc at prgmr.com Fri Apr 3 20:07:51 2009 From: mdc at prgmr.com (Michael David Crawford) Date: Fri Apr 3 20:07:56 2009 Subject: We'd like to help with Xen Message-ID: <49D6C910.8010409@prgmr.com> Hi Folks, Prgmr.com, Inc. (http://prgmr.com/) is a Xen-based Virtual Private Server hosting service. We presently offer Linux and NetBSD DomUs, and would like to offer FreeBSD as well. I've been asked to help get FreeBSD to work under Xen. My understanding is that FreeBSD can be gotten to boot as a DomU, but doesn't work reliably. I'm an experienced programmer, but not at all with FreeBSD. The closest I've come to FreeBSD work is the Mac OS X kernel, which is in part based on FreeBSD. I also used to work with the old BSD-based SunOS, many years ago. Other than being eager to help, I don't even know where to start. Of course I will need to learn FreeBSD kernel programming, but I don't even know where to start with that. Perhaps someone could give me a little hand-holding until I know my way around the source tree. Best, Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From kostikbel at gmail.com Sat Apr 4 04:39:33 2009 From: kostikbel at gmail.com (Kostik Belousov) Date: Sat Apr 4 04:39:40 2009 Subject: We'd like to help with Xen In-Reply-To: <49D6C910.8010409@prgmr.com> References: <49D6C910.8010409@prgmr.com> Message-ID: <20090404112736.GD31897@deviant.kiev.zoral.com.ua> On Fri, Apr 03, 2009 at 07:42:24PM -0700, Michael David Crawford wrote: > Hi Folks, > > Prgmr.com, Inc. (http://prgmr.com/) is a Xen-based Virtual Private > Server hosting service. We presently offer Linux and NetBSD DomUs, and > would like to offer FreeBSD as well. > > I've been asked to help get FreeBSD to work under Xen. My understanding > is that FreeBSD can be gotten to boot as a DomU, but doesn't work reliably. > > I'm an experienced programmer, but not at all with FreeBSD. The closest > I've come to FreeBSD work is the Mac OS X kernel, which is in part based > on FreeBSD. I also used to work with the old BSD-based SunOS, many > years ago. > > Other than being eager to help, I don't even know where to start. Of > course I will need to learn FreeBSD kernel programming, but I don't even > know where to start with that. > > Perhaps someone could give me a little hand-holding until I know my way > around the source tree. I suggest the best route for the start would be to pick a bug and start analyzing it. Then, you can ask and get answers on the concrete questions you would have with the code. Note that for the general questions, not specific to the Xen bits, hackers@ or current@ may be the better forums due to wider audience. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20090404/28e3c0bb/attachment.pgp From js at alien8.de Sat Apr 4 11:05:07 2009 From: js at alien8.de (Julian Stecklina) Date: Sat Apr 4 11:05:14 2009 Subject: We'd like to help with Xen References: <49D6C910.8010409@prgmr.com> <20090404112736.GD31897@deviant.kiev.zoral.com.ua> Message-ID: <87myawbabl.fsf@tabernacle.lan> Kostik Belousov writes: > On Fri, Apr 03, 2009 at 07:42:24PM -0700, Michael David Crawford wrote: >> Hi Folks, >> >> Prgmr.com, Inc. (http://prgmr.com/) is a Xen-based Virtual Private >> Server hosting service. We presently offer Linux and NetBSD DomUs, and >> would like to offer FreeBSD as well. >> >> I've been asked to help get FreeBSD to work under Xen. My understanding >> is that FreeBSD can be gotten to boot as a DomU, but doesn't work reliably. >> >> I'm an experienced programmer, but not at all with FreeBSD. The closest >> I've come to FreeBSD work is the Mac OS X kernel, which is in part based >> on FreeBSD. I also used to work with the old BSD-based SunOS, many >> years ago. >> >> Other than being eager to help, I don't even know where to start. Of >> course I will need to learn FreeBSD kernel programming, but I don't even >> know where to start with that. >> >> Perhaps someone could give me a little hand-holding until I know my way >> around the source tree. > > I suggest the best route for the start would be to pick a bug and > start analyzing it. Then, you can ask and get answers on the concrete > questions you would have with the code. Note that for the general > questions, not specific to the Xen bits, hackers@ or current@ may > be the better forums due to wider audience. The time jumping problem may be a good candidate, as it is quite a showstopper for me and at least some other people. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From mister.olli at googlemail.com Sat Apr 4 13:21:19 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Sat Apr 4 13:21:25 2009 Subject: We'd like to help with Xen In-Reply-To: <87myawbabl.fsf@tabernacle.lan> References: <49D6C910.8010409@prgmr.com> <20090404112736.GD31897@deviant.kiev.zoral.com.ua> <87myawbabl.fsf@tabernacle.lan> Message-ID: <1238875381.2667.27.camel@phoenix.blechhirn.net> hi julian, On Sa, 2009-04-04 at 19:25 +0200, Julian Stecklina wrote: > > [snip] > > The time jumping problem may be a good candidate, as it is quite a > showstopper for me and at least some other people. Do you have a para-virtualized domU? Or is it fully virtualized? I'm asking cause I got my time problem fixed, and it may be good to sort out if we have/had the same/similar kind of problem that can be fixed the way it worked for me. Regards, Olli From sfourman at gmail.com Sat Apr 4 18:25:57 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Apr 4 18:26:02 2009 Subject: We'd like to help with Xen In-Reply-To: <1238875381.2667.27.camel@phoenix.blechhirn.net> References: <49D6C910.8010409@prgmr.com> <20090404112736.GD31897@deviant.kiev.zoral.com.ua> <87myawbabl.fsf@tabernacle.lan> <1238875381.2667.27.camel@phoenix.blechhirn.net> Message-ID: <11167f520904041757o16e74605k2ff544495eedf1f@mail.gmail.com> I am VERY much wating Xen Dom0 support I would like to use FreeBSD to hose several Linux DomU's and a few XP HVM's Sam Fourman Jr. From js at alien8.de Sat Apr 4 22:14:38 2009 From: js at alien8.de (Julian Stecklina) Date: Sat Apr 4 22:14:46 2009 Subject: We'd like to help with Xen In-Reply-To: <1238875381.2667.27.camel@phoenix.blechhirn.net> (Mister Olli's message of "Sat\, 04 Apr 2009 22\:03\:01 +0200") References: <49D6C910.8010409@prgmr.com> <20090404112736.GD31897@deviant.kiev.zoral.com.ua> <87myawbabl.fsf@tabernacle.lan> <1238875381.2667.27.camel@phoenix.blechhirn.net> Message-ID: <87zlevptqc.fsf@tabernacle.lan> Mister Olli writes: > hi julian, > > On Sa, 2009-04-04 at 19:25 +0200, Julian Stecklina wrote: >> >> [snip] >> >> The time jumping problem may be a good candidate, as it is quite a >> showstopper for me and at least some other people. > > Do you have a para-virtualized domU? Or is it fully virtualized? > I'm asking cause I got my time problem fixed, and it may be good to sort > out if we have/had the same/similar kind of problem that can be fixed > the way it worked for me. I use a paravirtualized domU, because the hardware does not support VT/SVM. Next month I have some more time to investigate this again. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From saifi.khan at twincling.org Sun Apr 12 10:31:01 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Sun Apr 12 11:00:48 2009 Subject: FreeBSD 8.x, Xen 3.3.x Dom0 support Message-ID: Hi: Does anybody know the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? thanks Saifi. From tgraves_cs at yahoo.com Wed Apr 15 11:48:14 2009 From: tgraves_cs at yahoo.com (Tom Graves) Date: Wed Apr 15 12:25:34 2009 Subject: xen on freebsd 6.3? Message-ID: <849614.51420.qm@web53401.mail.re2.yahoo.com> Hello, Can anyone give me pointers on building a freebsd6.3 xen domU running paravirt drivers? I've downloaded source from svn://svn.freebsd.org/base/projects/release_6_3_xen/ but I can't find any instructions on building xen. I did find the config file XEN in sys/i386/conf. Can I just do a "make buildkernel KERNCONF=XEN" and then "make installkernel KERNCONF=XEN" and then reboot and it will automatically start using paravirt drivers? the only references to instructions I could find were to a web page that no longer works. Any help is appreciated. Thanks, Tom From mister.olli at googlemail.com Wed Apr 15 12:57:47 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Wed Apr 15 13:19:12 2009 Subject: Page fault with r191077 as xen PV Message-ID: <1239825458.23277.13.camel@phoenix.blechhirn.net> hi. I just build a XEN pv kernel, based on svn revision 191077. When booting the kernel stops with a page-fault. ===================================================== virt-001 template_8-CURRENT # xm create -c 00_template_8-CURRENT.XENconfig Using config file "./00_template_8-CURRENT.XENconfig". Started domain template_8-CURRENT WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #2 r191077M: Wed Apr 15 21:46:50 CEST 2009 root@template-8_CURRENT.blechhirn.net:/usr/obj/usr/src/sys/freebsd8_WITHOUT_WITNESS WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 1600.059 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) MP 1900+ (1600.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480800 real memory = 536870912 (512 MB) avail memory = 517857280 (493 MB) cpu=0 irq=0 vector=0 cpu=0 irq=0 vector=1 kbd0 at kbdmux0 xenbus0: on motherboard xc0: on motherboard Timecounters tick every 100.000 msec Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x21:0x0 stack pointer = 0x29:0xc21a9cdc frame pointer = 0x29:0xc21a9cf8 code segment = base 0x0, limit 0xf67ff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 14 (xenwatch) [thread pid 14 tid 100017 ] Stopped at 0: *** error reading from address 0 *** db> xccncheckc:155 bxccncheckc:155 txccncheckc:155 Tracing pid 14 tid 100017 td 0xc22d9230 _end(0,c21a9d38,c0254672,32d,c23272a4,...) at 0xc2346a00 fork_exit(c01fccd0,0,c21a9d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc21a9d70, ebp = 0 --- db> ========================= The output of 'bt' from the debugger is included. Regards, Olli From alex.urbanowicz at artegence.com Wed Apr 22 15:07:46 2009 From: alex.urbanowicz at artegence.com (Alex Urbanowicz) Date: Wed Apr 22 15:07:57 2009 Subject: FreeBSD on domU, now Message-ID: <1240412195.6405.203.camel@hosaka> Hello! I need to set up a FreeBSD domU on a CentOS box, for testing purposes and maybe later for production app. Any documentation I found basically redirects me to Kip Macy's fsmware.com which is down. Is there a mirror of the stuff anywhere? Is there a possibility of setting the stuff up from grounds up without having to keep a separate FreeBSD box for building bootstrap? TIA Alex From tgraves_cs at yahoo.com Wed Apr 22 15:28:41 2009 From: tgraves_cs at yahoo.com (Tom Graves) Date: Wed Apr 22 15:28:47 2009 Subject: FreeBSD on domU, now In-Reply-To: <1240412195.6405.203.camel@hosaka> References: <1240412195.6405.203.camel@hosaka> Message-ID: <968116.67835.qm@web53408.mail.re2.yahoo.com> I'm by no means an expert, but I recently went through same issue of figuring out how to build it and get it running. Here are some useful links. I built the freebsd 6.3 version with xen. You didn't specify if you wanted to get it running in hvm or paravirt. The build stuff is for modified freebsd with xen for running in paravirt. http://wiki.freebsd.org/FreeBSD/Xen http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-guest.html http://benoit.litchis.org/freebsd-xen/ (location of some images) To build you use XEN kernel config - something like: make buildworld buildkernel installworld installkernel distribution DESTDIR=/foo KERNCONF=XEN Create disk image or put on physical disk and then mess with /etc to setup files you need. Tom ________________________________ From: Alex Urbanowicz To: freebsd-xen@freebsd.org Sent: Wednesday, April 22, 2009 9:56:35 AM Subject: FreeBSD on domU, now Hello! I need to set up a FreeBSD domU on a CentOS box, for testing purposes and maybe later for production app. Any documentation I found basically redirects me to Kip Macy's fsmware.com which is down. Is there a mirror of the stuff anywhere? Is there a possibility of setting the stuff up from grounds up without having to keep a separate FreeBSD box for building bootstrap? TIA Alex _______________________________________________ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" From js at alien8.de Wed Apr 22 18:39:27 2009 From: js at alien8.de (Julian Stecklina) Date: Wed Apr 22 18:39:35 2009 Subject: FreeBSD on domU, now References: <1240412195.6405.203.camel@hosaka> Message-ID: <874owgy1mb.fsf@tabernacle.lan> Alex Urbanowicz writes: > Hello! > > I need to set up a FreeBSD domU on a CentOS box, for testing purposes > and maybe later for production app. Any documentation I found basically > redirects me to Kip Macy's fsmware.com which is down. Is there a mirror > of the stuff anywhere? Is there a possibility of setting the stuff up > from grounds up without having to keep a separate FreeBSD box for > building bootstrap? So far a separate FreeBSD build box is the best way to go. You can set this up in the virtualization solution of your choice. VirtualBox and KVM work well. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From manuel.steudtner at intrail.de Tue Apr 28 16:14:38 2009 From: manuel.steudtner at intrail.de (Manuel Steudtner) Date: Tue Apr 28 16:14:44 2009 Subject: FreeBSD on domU, now In-Reply-To: <1240412195.6405.203.camel@hosaka> Message-ID: <29339694.11471240933736007.JavaMail.root@group.intrail.org> Hi Alex, ----- "Alex Urbanowicz" wrote: > Hello! > > I need to set up a FreeBSD domU on a CentOS box, for testing purposes > and maybe later for production app. Any documentation I found > basically > redirects me to Kip Macy's fsmware.com which is down. Is there a > mirror > of the stuff anywhere? Is there a possibility of setting the stuff up > from grounds up without having to keep a separate FreeBSD box for > building bootstrap? > > TIA > > Alex did you succeed building a FreeBSD domU fitting into your CentOS environment? I'm curios if you can share some sort of cookbook fragment. Kind regards, Manuel From xen at komadev.de Tue Apr 28 17:59:00 2009 From: xen at komadev.de (xen@komadev.de) Date: Tue Apr 28 17:59:07 2009 Subject: FreeBSD on domU, now In-Reply-To: <6179730.19521240940348277.JavaMail.root@zim.freshx.de> Message-ID: <32302488.19541240940437540.JavaMail.root@zim.freshx.de> Hi, We're playing with FBSD8 (paravirt) for some time now, with these results: - current CentOS 5.2+ (64bit) with Xen 3.3.1 installed via this XEN repo (remove CentOS Xen first): http://www.gitco.de/linux/x86_64/centos/5/rpms/ - self made kernel available from http://kai.freshx.de/kernel-17022009 - you need to install a FBSD8 (32bit!!!) (including svn) and take a snapshot of the disk via dd into system.img (have at least 6 GB space for rebuild of the system later), -> fstab should mount / as /dev/ad0s1a -> xn0 is the netIF. -> add this line to /etc/ttys: xc0 "/usr/libexec/getty Pc" vt100 on secure - bsd8.cfg looks like this kernel = "/XEN/bsd8/kernels/kernel-17022009" memory = 1024 name = "bsd8" vif = ['mac=00:12:34:56:78:90, bridge=xenbr0'] disk = [ 'file:/XEN/bsd8/system.img,hda,w' ] extra = "boot_verbose" extra += ",vfs.root.mountfrom=ufs:/dev/ad0s1a" on_poweroff = 'destroy' on_crash = 'destroy' on_reboot = 'restart' - update to current SVN tree with # svn checkout http://svn.freebsd.org/base/head /usr/src - rebuild everything with # cd /usr/src # make cleandepend # make clean # make depend # make buildworld # make kernel KERNCONF=XEN ... Please note, that rebuilding the svn repo fails to build from time to time ... :-( Rgds K On 4/28/09 5:48 PM, "Manuel Steudtner" wrote: > Hi Alex, > > ----- "Alex Urbanowicz" wrote: > >> Hello! >> >> I need to set up a FreeBSD domU on a CentOS box, for testing purposes >> and maybe later for production app. Any documentation I found >> basically >> redirects me to Kip Macy's fsmware.com which is down. Is there a >> mirror >> of the stuff anywhere? Is there a possibility of setting the stuff up >> from grounds up without having to keep a separate FreeBSD box for >> building bootstrap? >> >> TIA >> >> Alex > > did you succeed building a FreeBSD domU fitting into your CentOS environment? > I'm curios if you can share some sort of cookbook fragment. > > Kind regards, > Manuel > > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"