From hans-peter.huth at siemens.com Thu Nov 5 16:49:57 2009 From: hans-peter.huth at siemens.com (Huth, Hans-Peter) Date: Thu Nov 5 21:00:35 2009 Subject: Imunes and FreeBSD 8.0 RC2 Message-ID: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> Dear all, i have just installed FreeBSD 8.0 RC2 and wanted to play around with imunes/vimage, but i couldn't find it in the installed version (from DVD ISO). Did i just missed something, or what do i have to install something in addition? If so, FTP URLS would be helpful as my BSD machine is not in a network. Thanks, Hans-Peter Huth Siemens AG Corporate Technology CT IC 2 Otto-Hahn-Ring 6 81739 Munich, Germany Tel.: +49 (89) 636-43071 Fax: +49 (89) 636-51115 Mobile: +49 (173) 7068763 mailto:hans-peter.huth@siemens.com Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322 From remodeler at alentogroup.org Fri Nov 6 03:02:40 2009 From: remodeler at alentogroup.org (remodeler) Date: Fri Nov 6 03:02:47 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> Message-ID: <20091106030421.M99285@alentogroup.org> Hi, > i have just installed FreeBSD 8.0 RC2 and wanted to play around > with imunes/vimage, but i couldn't find it in the installed version > (from DVD ISO). Did i just missed something, or what do i have to > install something in addition? If so, FTP URLS would be helpful as my > BSD machine is not in a network. Build a custom kernel with option VIMAGE. You can initialize a vimage-enabled jail with: jail -c -l -U root -n jailname host.hostname=jailname.example.com path=/my/jail/path vnet persist If you want to use netgraph to build a virtual bridge between a physical ethernet interface and the vnet interface on the jail: # create netgraph bridge, connecting physical interface lower hook ngctl mkpeer msk0: bridge lower link0 # give the physical interface hook a convenient name ngctl name msk0:lower bridge0 # connect upper hook of physical interface to the bridge ngctl connect msk0: bridge0: upper link1 # create a netgraph node for the vnet interface, connected to the bridge ngctl mkpeer bridge0: eiface link2 ether # connect the vnet virutal interface and the netgraph node ifconfig ngeth0 vnet ns The work on vnet is well done, and has been reliable through all of my load testing. From julian at elischer.org Fri Nov 6 06:03:52 2009 From: julian at elischer.org (Julian Elischer) Date: Fri Nov 6 06:04:00 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <20091106030421.M99285@alentogroup.org> References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> <20091106030421.M99285@alentogroup.org> Message-ID: <4AF3BC47.4040708@elischer.org> remodeler wrote: > Hi, > >> i have just installed FreeBSD 8.0 RC2 and wanted to play around >> with imunes/vimage, but i couldn't find it in the installed version >> (from DVD ISO). Did i just missed something, or what do i have to >> install something in addition? If so, FTP URLS would be helpful as my >> BSD machine is not in a network. > > Build a custom kernel with option VIMAGE. You can initialize a vimage-enabled > jail with: > > jail -c -l -U root -n jailname host.hostname=jailname.example.com > path=/my/jail/path vnet persist > > If you want to use netgraph to build a virtual bridge between a physical > ethernet interface and the vnet interface on the jail: > > # create netgraph bridge, connecting physical interface lower hook > ngctl mkpeer msk0: bridge lower link0 > # give the physical interface hook a convenient name > ngctl name msk0:lower bridge0 > # connect upper hook of physical interface to the bridge > ngctl connect msk0: bridge0: upper link1 > # create a netgraph node for the vnet interface, connected to the bridge > ngctl mkpeer bridge0: eiface link2 ether > # connect the vnet virutal interface and the netgraph node > ifconfig ngeth0 vnet ns Ironically I haven't played with netgraph on vnet recently but haven't you forgotten to put the eiface into the other vimage? > > The work on vnet is well done, and has been reliable through all of my load > testing. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From remodeler at alentogroup.org Sat Nov 7 01:28:01 2009 From: remodeler at alentogroup.org (remodeler) Date: Sat Nov 7 01:28:07 2009 Subject: Imunes and FreeBSD 8.0 RC2 References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> <20091106030421.M99285@alentogroup.org> <4AF3BC47.4040708@elischer.org> Message-ID: <20091107013823.M86284@alentogroup.org> Hi, [sorry for dup to Julian] > > If you want to use netgraph to build a virtual bridge between a physical > > ethernet interface and the vnet interface on the jail: > > > > # create netgraph bridge, connecting physical interface lower hook > > ngctl mkpeer msk0: bridge lower link0 > > # give the physical interface hook a convenient name > > ngctl name msk0:lower bridge0 > > # connect upper hook of physical interface to the bridge > > ngctl connect msk0: bridge0: upper link1 > > # create a netgraph node for the vnet interface, connected to the bridge > > ngctl mkpeer bridge0: eiface link2 ether > > # connect the vnet virutal interface and the netgraph node > > ifconfig ngeth0 vnet ns > > Ironically I haven't played with netgraph on vnet recently but > haven't you forgotten to put the eiface into the other vimage? I mis-labelled the last line, using the name "ns" instead of an example name. This server has two dozen virtual servers attached through netgraph, and has been subjected to very heavy test-loading for the past two weeks (saturating the 100 base-T NIC's) on my development LAN. I am very impressed with vimage. This is a good alternative to xen. I don't know how most people will do networking on the host for vnet jails, but netgraph seems to me a natural choice. The jail rc.d scripts are not well designed for the new applications vimage opens up imo. I'm using a script to pull configuration info from a db for each virtual server, but there's a lot of security features in /etc/rc.d/jail that I'd like to migrate into it. From julian at elischer.org Sat Nov 7 04:14:09 2009 From: julian at elischer.org (Julian Elischer) Date: Sat Nov 7 04:14:16 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <20091107013823.M86284@alentogroup.org> References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> <20091106030421.M99285@alentogroup.org> <4AF3BC47.4040708@elischer.org> <20091107013823.M86284@alentogroup.org> Message-ID: <4AF4F410.2050600@elischer.org> remodeler wrote: > Hi, > > [sorry for dup to Julian] I'm glad you have found it useful. Heres' a chance for you to do something for me :-) can you make a couple of 'vimage recipes' in the form of scripts that people can use to do things? similar to /usr/share/examples/netgraph but /usr/share/examples/vimage. this one you have given would be agreat start and if you have scripts that set up 4 virtual machines on a network or something, that'd be great. We need some examples to seed people so that they can get started on it. > >>> If you want to use netgraph to build a virtual bridge between a physical >>> ethernet interface and the vnet interface on the jail: >>> >>> # create netgraph bridge, connecting physical interface lower hook >>> ngctl mkpeer msk0: bridge lower link0 >>> # give the physical interface hook a convenient name >>> ngctl name msk0:lower bridge0 >>> # connect upper hook of physical interface to the bridge >>> ngctl connect msk0: bridge0: upper link1 >>> # create a netgraph node for the vnet interface, connected to the bridge >>> ngctl mkpeer bridge0: eiface link2 ether >>> # connect the vnet virutal interface and the netgraph node >>> ifconfig ngeth0 vnet ns >> Ironically I haven't played with netgraph on vnet recently but >> haven't you forgotten to put the eiface into the other vimage? > > I mis-labelled the last line, using the name "ns" instead of an example name. > > This server has two dozen virtual servers attached through netgraph, and has > been subjected to very heavy test-loading for the past two weeks (saturating > the 100 base-T NIC's) on my development LAN. I am very impressed with vimage. > This is a good alternative to xen. > > I don't know how most people will do networking on the host for vnet jails, > but netgraph seems to me a natural choice. The jail rc.d scripts are not well > designed for the new applications vimage opens up imo. I'm using a script to > pull configuration info from a db for each virtual server, but there's a lot > of security features in /etc/rc.d/jail that I'd like to migrate into it. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From hans-peter.huth at siemens.com Mon Nov 9 10:37:44 2009 From: hans-peter.huth at siemens.com (Huth, Hans-Peter) Date: Mon Nov 9 10:37:51 2009 Subject: Imunes and FreeBSD 8.0 RC2 Message-ID: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> > Hi, > i have just installed FreeBSD 8.0 RC2 and wanted to play around > with imunes/vimage, but i couldn't find it in the installed version > (from DVD ISO). Did i just missed something, or what do i have to > install something in addition? If so, FTP URLS would be helpful as my > BSD machine is not in a network. > Build a custom kernel with option VIMAGE. You can initialize a vimage-enabled >jail with: >... > The work on vnet is well done, and has been reliable through all of my load > testing. [in reply to remodeler] i have build the kernel now (from 8.0 RC2 DVD), but imunes and vimage are still not there. What is missing? Or am i stuck with Rel. 7 and patching? I want to play around with the Imunes network emulation features. Docu at http://imunes.tel.fer.hr/virtnet/ does not help either, directories under src are different. (Sorry if this mail probably does not correctly goes as a reply to previous mails, but now i'm subscibed to the mailing list) With best regards, Hans-Peter Huth Siemens AG Corporate Technology CT IC 2 Otto-Hahn-Ring 6 81739 Munich, Germany Tel.: +49 (89) 636-43071 Fax: +49 (89) 636-51115 Mobile: +49 (173) 7068763 mailto:hans-peter.huth@siemens.com Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322 Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you. From julian at elischer.org Mon Nov 9 18:42:33 2009 From: julian at elischer.org (Julian Elischer) Date: Mon Nov 9 18:42:40 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> References: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> Message-ID: <4AF862A2.8010405@elischer.org> Huth, Hans-Peter wrote: >> Hi, > >> i have just installed FreeBSD 8.0 RC2 and wanted to play around >> with imunes/vimage, but i couldn't find it in the installed version >> (from DVD ISO). Did i just missed something, or what do i have to >> install something in addition? If so, FTP URLS would be helpful as my >> BSD machine is not in a network. > >> Build a custom kernel with option VIMAGE. You can initialize a > vimage-enabled >> jail with: > >> ... > >> The work on vnet is well done, and has been reliable through all of my > load >> testing. > > [in reply to remodeler] > > i have build the kernel now (from 8.0 RC2 DVD), but imunes and vimage > are still not there. > What is missing? Or am i stuck with Rel. 7 and patching? I want to play > around with the > Imunes network emulation features. Docu at > http://imunes.tel.fer.hr/virtnet/ does not help either, > directories under src are different. You have all the system parts required, but you also need to get the immunes sources. They are not part of FreeBSD. The 'vimage' program is not in FreeBSD because the functionality has been taken over by the 'jail' command. 'vimage' is still available however in the repository at src/tools/tools/vimage. use the web interfaqce to get to it at: http://svn.freebsd.org/viewvc/base/head/tools/tools/vimage/ > > (Sorry if this mail probably does not correctly goes as a reply to > previous mails, but now i'm > subscibed to the mailing list) > > With best regards, > Hans-Peter Huth > Siemens AG > Corporate Technology > CT IC 2 > Otto-Hahn-Ring 6 > 81739 Munich, Germany > Tel.: +49 (89) 636-43071 > Fax: +49 (89) 636-51115 > Mobile: +49 (173) 7068763 > mailto:hans-peter.huth@siemens.com > > Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard > Cromme; Managing Board: Peter Loescher, Chairman, President and Chief > Executive Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, > Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; > Registered offices: Berlin and Munich, Germany; Commercial registries: > Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE > 23691322 > > Important notice: This e-mail and any attachment thereof contain > corporate proprietary information. If you have received it by mistake, > please notify us immediately by reply e-mail and delete this e-mail and > its attachments from your system. Thank you. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From remodeler at alentogroup.org Mon Nov 9 21:03:30 2009 From: remodeler at alentogroup.org (remodeler) Date: Mon Nov 9 21:03:42 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <4AF4F410.2050600@elischer.org> References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> <20091106030421.M99285@alentogroup.org> <4AF3BC47.4040708@elischer.org> <20091107013823.M86284@alentogroup.org> <4AF4F410.2050600@elischer.org> Message-ID: <20091109211336.M51199@alentogroup.org> Hi, > Heres' a chance for you to do something for me :-) > > can you make a couple of 'vimage recipes' > in the form of scripts that people can use to do things? > similar to /usr/share/examples/netgraph but /usr/share/examples/vimage. > > this one you have given would be agreat start and if you have > scripts that set up 4 virtual machines on a network or something, > that'd be great. > > We need some examples to seed people so that they can get started on > it. I would be happy to. I am a week into a four-week stretch of unavailability, but will try and find some time to do this. Thanks again for all of your help, Julian. From space.time.universe at gmail.com Tue Nov 10 21:05:33 2009 From: space.time.universe at gmail.com (Mr. Teo En Ming (Zhang Enming)) Date: Tue Nov 10 21:05:40 2009 Subject: Picture Tutorial: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip) In-Reply-To: References: Message-ID: Hi All, This is an extremely detailed screenshot tutorial that will guide you, step by step, through the installation of FreeBSD 8.0-RC2 UNIX (amd64) as a HVM guest. My setup is Xen 3.5-unstable pv-ops dom0 kernel 2.6.30-rc3. There are 6 photo galleries with a total of 293 PNG image screenshots. Picture Tutorial 1 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-1-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ Picture Tutorial 2 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-2-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ Picture Tutorial 3 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-3-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ Picture Tutorial 4 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-4-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ Picture Tutorial 5 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-5-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ Picture Tutorial 6 of 6: Installing FreeBSD 8.0-RC2 UNIX (amd64) as a HVM domU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.30-rc3-tip)Link: http://enmingteo.wordpress.com/2009/11/10/picture-tutorial-6-of-6-installing-freebsd-8-0-rc2-unix-amd64-as-a-hvm-domu-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-30-rc3-tip/ -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: space.time.universe@gmail.com Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore From zec at icir.org Wed Nov 11 13:34:34 2009 From: zec at icir.org (Marko Zec) Date: Wed Nov 11 13:34:41 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> References: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> Message-ID: <200911111423.39501.zec@icir.org> On Monday 09 November 2009 11:37:41 Huth, Hans-Peter wrote: > > Hi, > > > > i have just installed FreeBSD 8.0 RC2 and wanted to play around > > with imunes/vimage, but i couldn't find it in the installed version > > (from DVD ISO). Did i just missed something, or what do i have to > > install something in addition? If so, FTP URLS would be helpful as my > > BSD machine is not in a network. > > > > Build a custom kernel with option VIMAGE. You can initialize a > > vimage-enabled > > >jail with: > > > >... > > > > The work on vnet is well done, and has been reliable through all of my > > load > > > testing. > > [in reply to remodeler] > > i have build the kernel now (from 8.0 RC2 DVD), but imunes and vimage > are still not there. > What is missing? Or am i stuck with Rel. 7 and patching? I want to play > around with the > Imunes network emulation features. Docu at > http://imunes.tel.fer.hr/virtnet/ does not help either, > directories under src are different. Hi, here's the procedure which should be sufficient to get IMUNES up and running on FreeBSD 8.0-RC3 (I've tested this on amd64, but i386 should work as well): - Install 8.0-RC3, along with the full src tree and the following packages: xorg-7.4_2 tk-8.4.19_2,2 quagga-0.99.15 xorp-1.6.tbz wireshark-1.2.2 netperf-2.4.5 - Fetch a kernel patch required for IMUNES to work, and patch the kernel: cd /tmp fetch http://imunes.net/imunes-8.0-RC3.diff cd /usr patch < /tmp/imunes-8.0-RC3.diff - Create a VIMAGE kernel config in /usr/src/sys/amd64/conf/VIMAGE: include GENERIC options VIMAGE nooptions SCTP options KDB options DDB - Build & install the VIMAGE kernel: cd /sys/amd64/conf config VIMAGE cd ../compile/VIMAGE make depend; make; make install - Compile & install the vimage command: cd /usr/src/tools/tools/vimage make; make install - Fetch & install the IMUNES GUI: cvs -d :pserver:anonymous@cvs.imunes.net:/usr/local/src/cvsroot co \ imunes cd imunes ./install.sh Good luck, Marko From bzeeb-lists at lists.zabbadoz.net Wed Nov 11 13:50:07 2009 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Wed Nov 11 13:50:14 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <200911111423.39501.zec@icir.org> References: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net> <200911111423.39501.zec@icir.org> Message-ID: <20091111134103.E37440@maildrop.int.zabbadoz.net> On Wed, 11 Nov 2009, Marko Zec wrote: Hi, > - Create a VIMAGE kernel config in /usr/src/sys/amd64/conf/VIMAGE: > include GENERIC > options VIMAGE > nooptions SCTP I should ask tuexen to MFC the SCTP changes so that this will no longer be needed with stable/8 (though it will not be in 8.0-RELEASE); I plan to MFC arp and MFC/commit my other minor patches somewhen the next days as well. > - Fetch & install the IMUNES GUI: > cvs -d :pserver:anonymous@cvs.imunes.net:/usr/local/src/cvsroot co \ > imunes > cd imunes > ./install.sh Have you considered making this a port? /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From costa at di.uminho.pt Mon Nov 16 09:48:17 2009 From: costa at di.uminho.pt (Antonio Costa) Date: Mon Nov 16 09:48:24 2009 Subject: Imunes and FreeBSD 8.0 RC2 In-Reply-To: <200911111423.39501.zec@icir.org> References: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.n et> <200911111423.39501.zec@icir.org> Message-ID: <4B011BC4.8050302@di.uminho.pt> Marko Zec wrote: > here's the procedure which should be sufficient to get IMUNES up and running > on FreeBSD 8.0-RC3 (I've tested this on amd64, but i386 should work as well): Hello Marko, I followed the procedure on a i386 with success!! I am very happy with my first Free BSD 8.0 RC3 with IMUNES!! It looks very good! Congratulations on your excellent work!! I use IMUNES since the very beginning (FreeBSD 4.11), over the last 4-5 years. I have found a little thing not yet compatible with new version, but with simple solution: the cpu line on imunes.imn files. Old files or new ones with quagga generated configs have a line "cpu ..." that is passed to "vimage -m" that reports a "no such file" error: ===== Example.imn ======== 1. node n0 { 2. type router 3. cpu {{min 0} {max 100} {weight 1}} 4. model quagga 5. network-config { 6. hostname n0 7 ! Line 3 is the unsupported jail parameter that Imunes.tcl reports has: --------------------------------------------------------------------- Error: No such file or directory Error: No such file or directory while executing "exec vimage -m i0b5b0.n0 cpumin 0" ("eval" body line 1) My current solution is to comment out lines 297-305 of exec.tcl file: --------------------------------------------------------------------- # if { $cpumin != "" } { # nexec vimage -m $node_id cpumin $cpumin # } # if { $cpumax != "" } { # nexec vimage -m $node_id cpumax $cpumax # } # if { $cpuweight != "" } { # nexec vimage -m $node_id cpuweight $cpuweight # } Many thanks for your excellent work! -- Ant?nio Duarte Costa -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 552 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20091116/65862797/signature.pgp From jmnwong at gmail.com Wed Nov 18 20:31:37 2009 From: jmnwong at gmail.com (Justin Wong) Date: Thu Nov 19 07:17:20 2009 Subject: Random Page Fault on Soekris Message-ID: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> Hi all, I am currently running a snapshot of the vimage source (vimage_7_20090505.tgz) against FreeBSD 7.1 on a Soekris Net5501-70. I am running a small load on the Soekris board and periodically I will receive the following error: ---------- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x20:0xc068745b stack pointer = 0x28:0xc4362c18 frame pointer = 0x28:0xc4362c44 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13 (swi4: clock sio) [thread pid 13 tid 100004 ] Stopped at send_pkt+0x1b: movl 0x8(%eax),%eax db> bt Tracing pid 13 tid 100004 td 0xc4439690 send_pkt(3437336e,2,c4439af0,c4439690,c4362c64,...) at send_pkt+0x1b ipfw_tick(c453b400,c4439690,0,c4362cbc,c05c1f93,...) at ipfw_tick+0x10e softclock(0,0,c0838d87,4a1,aa55aa55,...) at softclock+0x247 ithread_loop(c4436020,c4362d38,aa55aa55,aa55aa55,aa55aa55,...) at ithread_loop+0x1ab fork_exit(c05986f0,c4436020,c4362d38) at fork_exit+0x96 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc4362d70, ebp = 0 --- db> show registers cs 0x20 ds 0xc4430028 es 0xc4360028 fs 0x8 ss 0x28 eax 0 ecx 0x3065b7ee edx 0xc4b45598 ebx 0xc4b4557c esp 0xc4362c18 ebp 0xc4362c44 esi 0xc453b400 edi 0x70 eip 0xc068745b send_pkt+0x1b efl 0x10286 send_pkt+0x1b: movl 0x8(%eax),%eax ---------- Any ideas? Thanks, -J From julian at elischer.org Thu Nov 19 07:22:46 2009 From: julian at elischer.org (Julian Elischer) Date: Thu Nov 19 07:22:52 2009 Subject: Random Page Fault on Soekris In-Reply-To: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> References: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> Message-ID: <4B04F244.903@elischer.org> Justin Wong wrote: > Hi all, > > I am currently running a snapshot of the vimage source > (vimage_7_20090505.tgz) against FreeBSD 7.1 on a Soekris Net5501-70. I am > running a small load on the Soekris board and periodically I will receive > the following error: > > > ---------- > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc068745b > stack pointer = 0x28:0xc4362c18 > frame pointer = 0x28:0xc4362c44 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 13 (swi4: clock sio) > [thread pid 13 tid 100004 ] > Stopped at send_pkt+0x1b: movl 0x8(%eax),%eax > > db> bt > Tracing pid 13 tid 100004 td 0xc4439690 > send_pkt(3437336e,2,c4439af0,c4439690,c4362c64,...) at send_pkt+0x1b > ipfw_tick(c453b400,c4439690,0,c4362cbc,c05c1f93,...) at ipfw_tick+0x10e > softclock(0,0,c0838d87,4a1,aa55aa55,...) at softclock+0x247 > ithread_loop(c4436020,c4362d38,aa55aa55,aa55aa55,aa55aa55,...) at > ithread_loop+0x1ab > fork_exit(c05986f0,c4436020,c4362d38) at fork_exit+0x96 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xc4362d70, ebp = 0 --- > > db> show registers > cs 0x20 > ds 0xc4430028 > es 0xc4360028 > fs 0x8 > ss 0x28 > eax 0 > ecx 0x3065b7ee > edx 0xc4b45598 > ebx 0xc4b4557c > esp 0xc4362c18 > ebp 0xc4362c44 > esi 0xc453b400 > edi 0x70 > eip 0xc068745b send_pkt+0x1b > efl 0x10286 > send_pkt+0x1b: movl 0x8(%eax),%eax I'm running a -current (as of a month or so ago) on a 5501 with teh standard new vimage code. I do not use the vimage part of it much (just for testing) but I have not seen this error. 7.1 based vimage will be probably not developed much more soit may be worth switching to -current which has it built in. ipfw was re-ported to vimage in -current to support new features. Julian