From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 13:39:42 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4BF6106566B for ; Sat, 2 May 2009 13:39:42 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5A7AE8FC08 for ; Sat, 2 May 2009 13:39:42 +0000 (UTC) (envelope-from pcc@gmx.net) Received: (qmail 23659 invoked by uid 0); 2 May 2009 13:13:01 -0000 Received: from 84.163.198.20 by www092.gmx.net with HTTP; Sat, 02 May 2009 15:12:59 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 02 May 2009 15:12:59 +0200 From: "Peter Cornelius" In-Reply-To: <20090425133006.311010@gmx.net> Message-ID: <20090502131259.31160@gmx.net> MIME-Version: 1.0 References: <20090413.220932.74699777.sthaug@nethelp.no> <49E57076.7040509@elischer.org> <20090424202923.235660@gmx.net> <200904242249.27640.zec@icir.org> <20090425133006.311010@gmx.net> To: virtualization@freebsd.org X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19aKz5mthRaU1/j2P7DC+etNXAi6XaQqfo8/vx7n7 pM8NtIk8G/gWgJRlaq3o6RyebFoH1N900wJQ== Content-Transfer-Encoding: 8bit X-GMX-UID: 7XPOcRs/Pjl+EZW0MTU20g87MTE2NUk6 X-FuHaFi: 0.46 Cc: Subject: Re: VIMAGE (was: Multiple default routes / Force external routing) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 13:39:43 -0000 Hi, Are vimage and jail mutually exclusive? Regards, Peter. -------- Original-Nachricht -------- > Datum: Sat, 25 Apr 2009 15:30:06 +0200 > Von: "Peter Cornelius" > An: Marko Zec , freebsd-net@freebsd.org > CC: sfourman@gmail.com, steve@ibctech.ca, sthaug@nethelp.no, julian@elischer.org > Betreff: Re: VIMAGE (was: Multiple default routes / Force external routing) > Thanks, Marco, > > > > > > is VIMAGE fully integrated into FreeBSD 8 CURRENT? (I believe > this > > > > > answer is no) > > > > > also is VIMAGE expected to make it into FreeBSD 8? > > > > > > > > not fully but a lot of it is under way > > > > > > Thanks for the pointer, I currently don't get it [1] to build on > > RELENG_7 > > > which I naively hoped, so the "lot" probably not suffient for me yet. > > So, > > > w/o patience for August, I probably need to find another way. > > > > Hmm... > > tpx32% uname -a > > FreeBSD tpx32.icir.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Feb 5 > > 22:36:40 > > CET 2009 > > > marko@tpx32.icir.org:/u/marko/p4/zec/vimage_7/src/sys/i386/compile/VIMAGE > > i386 > > tpx32% pwd > > /u/marko/tmp > > tpx32% tar -xzf vimage_7_20090401.tgz > > tpx32% cd src/sys/i386/conf/ > > tpx32% config VIMAGE > > tpx32% cd ../compile/VIMAGE/ > > tpx32% make depend; make > > tpx32% sudo make install > > tpx32% cd ~/tmp/src/usr.sbin/vimage/ > > tpx32% make clean; make > > tpx32% sudo make install > > > > Let me know if that doesn't work... > > In fact, it *does* work, thank you. I mistook the tar to be a patch to > copy over an existing tree which obviously did not work out as I expected. So, > how's that: > > 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 7.2-PRERELEASE #0: Sat Apr 25 08:22:26 UTC 2009 > > root@netserv.ka.cornelius:/usr/src.VIMAGE_20090401/sys/i386/compile/VNETSERV > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (1004.52-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > > Features=0x383fbff > real memory = 1610596352 (1535 MB) > avail memory = 1568624640 (1495 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 3 > cpu1 (AP): APIC ID: 0 > (...) > > So, I suppose it's further reading time and then I'll go and set up a > couple of vimages and see what it does... :) > > Thanks again, > > Peter. > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger01 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 15:00:06 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F38106566B for ; Sat, 2 May 2009 15:00:06 +0000 (UTC) (envelope-from clcchu@hotmail.com) Received: from col0-omc1-s10.col0.hotmail.com (col0-omc1-s10.col0.hotmail.com [65.55.34.20]) by mx1.freebsd.org (Postfix) with ESMTP id 18BAB8FC15 for ; Sat, 2 May 2009 15:00:06 +0000 (UTC) (envelope-from clcchu@hotmail.com) Received: from COL101-W27 ([65.55.34.9]) by col0-omc1-s10.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 2 May 2009 07:48:06 -0700 Message-ID: X-Originating-IP: [123.203.190.250] From: Clarence Chu To: , Date: Sat, 2 May 2009 22:48:06 +0800 Importance: Normal In-Reply-To: <20090502131259.31160@gmx.net> References: <20090413.220932.74699777.sthaug@nethelp.no> <49E57076.7040509@elischer.org> <20090424202923.235660@gmx.net> <200904242249.27640.zec@icir.org> <20090425133006.311010@gmx.net> <20090502131259.31160@gmx.net> MIME-Version: 1.0 X-OriginalArrivalTime: 02 May 2009 14:48:06.0345 (UTC) FILETIME=[00C5FB90:01C9CB35] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: VIMAGE (was: Multiple default routes / Force external routing) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 15:00:06 -0000 > > Are vimage and jail mutually exclusive? > man vimage, in it: SEE ALSO jail(8) Clarence CHU _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 17:00:47 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A60931065675 for ; Sat, 2 May 2009 17:00:47 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outr.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 88E3C8FC16 for ; Sat, 2 May 2009 17:00:47 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 48207E0DA; Sat, 2 May 2009 09:46:16 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id EFAB32D61AE; Sat, 2 May 2009 09:46:15 -0700 (PDT) Message-ID: <49FC78DA.2010201@elischer.org> Date: Sat, 02 May 2009 09:46:18 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Peter Cornelius References: <20090413.220932.74699777.sthaug@nethelp.no> <49E57076.7040509@elischer.org> <20090424202923.235660@gmx.net> <200904242249.27640.zec@icir.org> <20090425133006.311010@gmx.net> <20090502131259.31160@gmx.net> In-Reply-To: <20090502131259.31160@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: virtualization@freebsd.org Subject: Re: VIMAGE X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 17:00:48 -0000 Peter Cornelius wrote: > Hi, > > Are vimage and jail mutually exclusive? no The situation is that right now jail and vimage are orthogonal (ish) however in the future, vimage will become a set of options on jail. > > Regards, > > Peter. > > > -------- Original-Nachricht -------- >> Datum: Sat, 25 Apr 2009 15:30:06 +0200 >> Von: "Peter Cornelius" >> An: Marko Zec , freebsd-net@freebsd.org >> CC: sfourman@gmail.com, steve@ibctech.ca, sthaug@nethelp.no, julian@elischer.org >> Betreff: Re: VIMAGE (was: Multiple default routes / Force external routing) > >> Thanks, Marco, >> >>>>>> is VIMAGE fully integrated into FreeBSD 8 CURRENT? (I believe >> this >>>>>> answer is no) >>>>>> also is VIMAGE expected to make it into FreeBSD 8? >>>>> not fully but a lot of it is under way >>>> Thanks for the pointer, I currently don't get it [1] to build on >>> RELENG_7 >>>> which I naively hoped, so the "lot" probably not suffient for me yet. >>> So, >>>> w/o patience for August, I probably need to find another way. >>> Hmm... >>> tpx32% uname -a >>> FreeBSD tpx32.icir.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Feb 5 >>> 22:36:40 >>> CET 2009 >>> >> marko@tpx32.icir.org:/u/marko/p4/zec/vimage_7/src/sys/i386/compile/VIMAGE >>> i386 >>> tpx32% pwd >>> /u/marko/tmp >>> tpx32% tar -xzf vimage_7_20090401.tgz >>> tpx32% cd src/sys/i386/conf/ >>> tpx32% config VIMAGE >>> tpx32% cd ../compile/VIMAGE/ >>> tpx32% make depend; make >>> tpx32% sudo make install >>> tpx32% cd ~/tmp/src/usr.sbin/vimage/ >>> tpx32% make clean; make >>> tpx32% sudo make install >>> >>> Let me know if that doesn't work... >> In fact, it *does* work, thank you. I mistook the tar to be a patch to >> copy over an existing tree which obviously did not work out as I expected. So, >> how's that: >> >> 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 7.2-PRERELEASE #0: Sat Apr 25 08:22:26 UTC 2009 >> >> root@netserv.ka.cornelius:/usr/src.VIMAGE_20090401/sys/i386/compile/VNETSERV >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Intel Pentium III (1004.52-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0x686 Stepping = 6 >> >> Features=0x383fbff >> real memory = 1610596352 (1535 MB) >> avail memory = 1568624640 (1495 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >> cpu0 (BSP): APIC ID: 3 >> cpu1 (AP): APIC ID: 0 >> (...) >> >> So, I suppose it's further reading time and then I'll go and set up a >> couple of vimages and see what it does... :) >> >> Thanks again, >> >> Peter. >> -- >> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: >> http://www.gmx.net/de/go/multimessenger01 >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 18:52:47 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC472106566C for ; Sat, 2 May 2009 18:52:47 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 27E848FC08 for ; Sat, 2 May 2009 18:52:46 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by fxm6 with SMTP id 6so2833228fxm.43 for ; Sat, 02 May 2009 11:52:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.108.140 with SMTP id f12mr609206fap.69.1241289034483; Sat, 02 May 2009 11:30:34 -0700 (PDT) In-Reply-To: <49FC812B.2070305@elischer.org> References: <49FC812B.2070305@elischer.org> Date: Sat, 2 May 2009 20:30:34 +0200 Message-ID: <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> From: Olivier SMEDTS To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: virtualization@freebsd.org Subject: Re: VIMAGE status X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 18:52:47 -0000 2009/5/2 Julian Elischer : > The VIMAGE code is nearly all in the the kernel. > > One is now able to make VIMAGE kernels (add options VIMAGE) > though they don't actually allow you to make multiple > vimages instances yet.. > > The VIMAGE option enables all the low level changes needed > throughout the kernel. > > The VIMAGE_GLOBALS option basically sets thing sback to how they were > before. > > Having neither (the default) gives a kernel that is a kind of hybrid. > > The Hybrid state is what will go forward as 'NON-VIMAGE' mode > and the VIMAGE_GLOBALS mode will probably go away in time as > it complicates the code. > > The aim of this mail is to ask people to try add the VIMAGE option > to their regular kernels and try use them as you woudl normally. > You will not yet be able to use any new VIMAGE features but we > should be fully compatible with previous kernels. Here is a warning I have when building kernel with options VIMAGE and INET6= : cc -c -O2 -pipe -march=3Dnative -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/work/src/sys -I/work/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /work/src/sys/netinet6/mld6.c cc1: warnings being treated as errors /work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach': /work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6' *** Error code 1 > > Please report any concerns to the freebsd-virtualization@ mailing list. > > THEORETICALLY you should not see any changes in behaviour, however we hav= e > the following issues: > > * SCTP is not fully converted yet. add 'nooptions SCTP' for now if you > =A0are not using it yet. > > * An NFS (crash) issue was reported. This MAY have been fixed... > > > Theory tells us that all three kernel options should behave about the sam= e > but if you do try this, and have any benchmarking facilities, > it would be incredibly useful if you could let us know if you see any > performance changes between the three. > > > thanks, > > Julian (currently running a VIMAGE kernel myself) > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 19:03:28 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76561106564A for ; Sat, 2 May 2009 19:03:28 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outT.internet-mail-service.net (outt.internet-mail-service.net [216.240.47.243]) by mx1.freebsd.org (Postfix) with ESMTP id 5D81F8FC12 for ; Sat, 2 May 2009 19:03:28 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 18A2021F8; Sat, 2 May 2009 12:03:28 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id B3C602D614B; Sat, 2 May 2009 12:03:27 -0700 (PDT) Message-ID: <49FC9902.0@elischer.org> Date: Sat, 02 May 2009 12:03:30 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Olivier SMEDTS References: <49FC812B.2070305@elischer.org> <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> In-Reply-To: <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: virtualization@freebsd.org Subject: Re: VIMAGE status X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 19:03:28 -0000 Olivier SMEDTS wrote: > 2009/5/2 Julian Elischer : >> The VIMAGE code is nearly all in the the kernel. >> >> One is now able to make VIMAGE kernels (add options VIMAGE) >> though they don't actually allow you to make multiple >> vimages instances yet.. >> >> The VIMAGE option enables all the low level changes needed >> throughout the kernel. >> > Here is a warning I have when building kernel with options VIMAGE and INET6 : > > cc -c -O2 -pipe -march=native -fno-strict-aliasing -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/work/src/sys > -I/work/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 > -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 > -mno-sse3 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror /work/src/sys/netinet6/mld6.c > cc1: warnings being treated as errors > /work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach': > /work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6' > *** Error code 1 > > > I assume you do not have INVARIANTS.. can you just put #ifdef INVARIANTS around that line and do the compile again? From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 19:57:47 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E9B1065670 for ; Sat, 2 May 2009 19:57:47 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 108A38FC23 for ; Sat, 2 May 2009 19:57:46 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by bwz9 with SMTP id 9so2803686bwz.43 for ; Sat, 02 May 2009 12:57:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.104.140 with SMTP id p12mr1488315fao.7.1241294265025; Sat, 02 May 2009 12:57:45 -0700 (PDT) In-Reply-To: <49FC9902.0@elischer.org> References: <49FC812B.2070305@elischer.org> <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> <49FC9902.0@elischer.org> Date: Sat, 2 May 2009 21:57:44 +0200 Message-ID: <367b2c980905021257v17e2484fo9d44811b190d256c@mail.gmail.com> From: Olivier SMEDTS To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: virtualization@freebsd.org Subject: Re: VIMAGE status X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 19:57:49 -0000 2009/5/2 Julian Elischer : > Olivier SMEDTS wrote: >> >> 2009/5/2 Julian Elischer : >>> >>> The VIMAGE code is nearly all in the the kernel. >>> >>> One is now able to make VIMAGE kernels (add options VIMAGE) >>> though they don't actually allow you to make multiple >>> vimages instances yet.. >>> >>> The VIMAGE option enables all the low level changes needed >>> throughout the kernel. >>> > >> Here is a warning I have when building kernel with options VIMAGE and >> INET6 : >> >> cc -c -O2 -pipe -march=3Dnative -fno-strict-aliasing -std=3Dc99 -g -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef >> -Wno-pointer-sign -fformat-extensions -nostdinc =A0-I. =A0-I/work/src/sy= s >> -I/work/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS >> -include opt_global.h -fno-common -finline-limit=3D8000 --param >> inline-unit-growth=3D100 --param large-function-growth=3D1000 >> -mcmodel=3Dkernel -mno-red-zone =A0-mfpmath=3D387 -mno-sse -mno-sse2 >> -mno-sse3 -mno-mmx -mno-3dnow =A0-msoft-float >> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector >> -Werror =A0/work/src/sys/netinet6/mld6.c >> cc1: warnings being treated as errors >> /work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach': >> /work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6= ' >> *** Error code 1 >> > >> >> > > I assume you do not have INVARIANTS.. Right, here is my kernel config file's content (amd64) : cpu HAMMER ident QUAD makeoptions DEBUG=3D-g options SCHED_ULE options PREEMPTION options IPI_PREEMPTION options INET options INET6 options FFS options SOFTUPDATES options UFS_DIRHASH options COMPAT_IA32 options KTRACE options STACK options SYSVSHM options SYSVMSG options SYSVSEM options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options STOP_NMI options AUDIT options VIMAGE options PRINTF_BUFR_SIZE=3D128 options SMP device acpi device pci device atkbdc device atkbd device vga device sc device loop device ether device pty device bpf > > can you just put #ifdef INVARIANTS around that line and do the compile > again? > It now compiles without errors. --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 20:15:34 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 302161065672 for ; Sat, 2 May 2009 20:15:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 164FE8FC13 for ; Sat, 2 May 2009 20:15:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id E69FBB9812; Sat, 2 May 2009 13:15:33 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id A30632D6261; Sat, 2 May 2009 13:15:33 -0700 (PDT) Message-ID: <49FCA9E8.5060006@elischer.org> Date: Sat, 02 May 2009 13:15:36 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Olivier SMEDTS References: <49FC812B.2070305@elischer.org> <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> <49FC9902.0@elischer.org> <367b2c980905021257v17e2484fo9d44811b190d256c@mail.gmail.com> In-Reply-To: <367b2c980905021257v17e2484fo9d44811b190d256c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: virtualization@freebsd.org Subject: Re: VIMAGE status X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 20:15:35 -0000 Olivier SMEDTS wrote: > 2009/5/2 Julian Elischer : > >> can you just put #ifdef INVARIANTS around that line and do the compile >> again? >> > > It now compiles without errors. yeah my svn machine went back to Cisco when I left there, so I don't have an svn tree at the moment. otherwise I'd just check it in.. Now you have a VIMAGE system, just use it as normal and let us know if you see any unusual behaviour. If you have anything you can benchmark you might try both kernels and see if there are any performance differences. thanks