From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 21 11:21:47 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382CD1065697 for ; Mon, 21 Dec 2009 11:21:47 +0000 (UTC) (envelope-from gofd-freebsd-virtualization@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E74F38FC14 for ; Mon, 21 Dec 2009 11:21:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NMfjd-0002ZC-Nx for freebsd-virtualization@freebsd.org; Mon, 21 Dec 2009 11:43:29 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Dec 2009 11:43:29 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Dec 2009 11:43:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-virtualization@freebsd.org From: Ivan Voras Date: Mon, 21 Dec 2009 11:42:16 +0100 Lines: 36 Message-ID: References: <4B2BB633.8080302@tundraware.com> <71884493a925c9959242935b6db83e80.squirrel@pop2.pknet.net> <4B2C4D1C.8000707@tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: Sender: news Subject: Re: FBSD 8.0 And VirtualBox 3.1 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: Mon, 21 Dec 2009 11:21:47 -0000 Marius Nünnerich wrote: > On Sat, Dec 19, 2009 at 04:48, Tim Daneliuk wrote: >> On 12/18/2009 8:16 PM, Peter wrote: >>>> I have a machine running Win/XP Pro SP3 hosting VirtualBox 3.1. >>>> >>>> The hardware happily boots the Ubuntu amd64 CDROM natively and FreeBSD 8.0 >>>> also boots fine - well ... up to the point where it has to ID the hard >>>> drive, but that's another story. >>>> >>>> IOW, the hardware is 64-bit capable (It is an Intel mobo w/a Pentium-D >>>> 940 w/EMT64 option). >>>> >>>> HOWEVER, when I run VirtualBox and try to install the 64 bit version >>>> of FreeBSD in a VM, it get a "CPU doesn't support long mode" error >>>> during the FreeBSD virtual booting process. FreeBSD 8.0 i386 works >>>> fine. >>>> >>>> 'Anyone run across this before and/or have a fix? >>>> >>>> TIA, >>> >>> Do you have VT-x/AMD-v enabled? [in the BIOS and VBox for this VM] >> Yup, but I wonder ... I'm running XP as the host which is 32-bit even though >> the hardware is 64-bit capabale. Could this be limiting what VirtualBox >> can deliver? > > Exactly. For 64bit guests the host has to be 64bit too afaik. No, if hardware extensions are enabled then PAE is the only requirement for 32-bit hosts to run 64-bit guests. According to Wikipedia (http://en.wikipedia.org/wiki/List_of_Intel_Pentium_D_microprocessors) some models of Pentium D have VT extensions and some don't. But then there's also the question of motherboard support. From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 21 18:23:54 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C1B51065676 for ; Mon, 21 Dec 2009 18:23:54 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 1D61E8FC0A for ; Mon, 21 Dec 2009 18:23:53 +0000 (UTC) Received: by fxm10 with SMTP id 10so2494789fxm.14 for ; Mon, 21 Dec 2009 10:23:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=yDTWt33+XYu0g2FFZjQX8iGl1tncNgeGqrUNboqWPrg=; b=i8b0EUCtWv+8IYvAN2xvd0DCbsELNTEqOaLewhQk1LZvSvzwbTzlD3oF3yyixW0mFH 9Yf9jr51zmFtCCsHhXu+luQpymIAiu+w2Eq/N0mM1Z5LGJLyDYRAjOUpYa7b4J1oWP4K v6koJiyakqveJT2KgV9c5l8M1OmwW0sn+W804= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=hHP4eGVSImfTnpljly/+g0FlkdKcofEETdaLhcF0CJt/c97xQA1ygRYVwTSbRR9s9g lDhu9S8b+gRmotnn1PVfvkl6jiCGxLeOlIfp4Xhzv5k3J+CpLm4T1o5P0x0YkB9siAw+ iXemywk7rm/4rlUEwk8BMZaLpFn4tyHEhR9GQ= Received: by 10.223.16.72 with SMTP id n8mr343475faa.26.1261419832910; Mon, 21 Dec 2009 10:23:52 -0800 (PST) Received: from Sevans-Mac-Mini.local ([93.97.185.199]) by mx.google.com with ESMTPS id 15sm2013089fxm.10.2009.12.21.10.23.51 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 10:23:52 -0800 (PST) Message-ID: <4B2FBD05.7080609@gmail.com> Date: Mon, 21 Dec 2009 18:23:01 +0000 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: i386 kernel with vimage support panics on xen/hvm domu with re(4) 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: Mon, 21 Dec 2009 18:23:54 -0000 Hi Guys Another PR, this time with a xen/hvm virtual machine running FreeBSD 8/i386 http://www.freebsd.org/cgi/query-pr.cgi?pr=141848&cat=kern Regards Sevan / Venture37 From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 21 18:50:39 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36227106566B for ; Mon, 21 Dec 2009 18:50:39 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id CE5EB8FC0A for ; Mon, 21 Dec 2009 18:50:38 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.3/8.14.3) with ESMTP id nBLIoVZk015586 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 21 Dec 2009 12:50:32 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4B2FC386.6030709@tundraware.com> Date: Mon, 21 Dec 2009 12:50:46 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org References: <4B2BB633.8080302@tundraware.com> <71884493a925c9959242935b6db83e80.squirrel@pop2.pknet.net> <4B2C4D1C.8000707@tundraware.com> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 21 Dec 2009 12:50:32 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: nBLIoVZk015586 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: FBSD 8.0 And VirtualBox 3.1 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: Mon, 21 Dec 2009 18:50:39 -0000 On 12/21/2009 4:42 AM, Ivan Voras wrote: > Marius Nünnerich wrote: >> On Sat, Dec 19, 2009 at 04:48, Tim Daneliuk >> wrote: >>> On 12/18/2009 8:16 PM, Peter wrote: >>>>> I have a machine running Win/XP Pro SP3 hosting VirtualBox 3.1. >>>>> >>>>> The hardware happily boots the Ubuntu amd64 CDROM natively and >>>>> FreeBSD 8.0 >>>>> also boots fine - well ... up to the point where it has to ID the hard >>>>> drive, but that's another story. >>>>> >>>>> IOW, the hardware is 64-bit capable (It is an Intel mobo w/a Pentium-D >>>>> 940 w/EMT64 option). >>>>> >>>>> HOWEVER, when I run VirtualBox and try to install the 64 bit version >>>>> of FreeBSD in a VM, it get a "CPU doesn't support long mode" error >>>>> during the FreeBSD virtual booting process. FreeBSD 8.0 i386 works >>>>> fine. >>>>> >>>>> 'Anyone run across this before and/or have a fix? >>>>> >>>>> TIA, >>>> >>>> Do you have VT-x/AMD-v enabled? [in the BIOS and VBox for this VM] >>> Yup, but I wonder ... I'm running XP as the host which is 32-bit even >>> though >>> the hardware is 64-bit capabale. Could this be limiting what VirtualBox >>> can deliver? >> >> Exactly. For 64bit guests the host has to be 64bit too afaik. > > No, if hardware extensions are enabled then PAE is the only requirement > for 32-bit hosts to run 64-bit guests. > > According to Wikipedia > (http://en.wikipedia.org/wiki/List_of_Intel_Pentium_D_microprocessors) > some models of Pentium D have VT extensions and some don't. But then > there's also the question of motherboard support. Very strange. I have tried this on two different motherboards and neither works: 1) Win XP running on an Intel 945 mobo with a Pent D 940 which supposedly has VT support. 2) Ubuntu Karmic 64bit on a MSI P4M890 with a Pentium D 925 which may not have VT support. Is the claim here that you cannot virtualize 64bit w/o VT support? Certainly you seem not to need it for 32 bit guests. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 21 18:53:06 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26310106568D for ; Mon, 21 Dec 2009 18:53:06 +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 0E8188FC24 for ; Mon, 21 Dec 2009 18:53:05 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id A13269751C; Mon, 21 Dec 2009 10:53:05 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 5B9B72D6015; Mon, 21 Dec 2009 10:53:05 -0800 (PST) Message-ID: <4B2FC429.8000109@elischer.org> Date: Mon, 21 Dec 2009 10:53:29 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Sevan / Venture37 References: <4B2FBD05.7080609@gmail.com> In-Reply-To: <4B2FBD05.7080609@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: i386 kernel with vimage support panics on xen/hvm domu with re(4) 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: Mon, 21 Dec 2009 18:53:06 -0000 Sevan / Venture37 wrote: > Hi Guys > Another PR, this time with a xen/hvm virtual machine running FreeBSD 8/i386 > http://www.freebsd.org/cgi/query-pr.cgi?pr=141848&cat=kern > > looking at the images (below, for others) http://img691.imageshack.us/i/screenshot20091221at171.png/ http://img709.imageshack.us/i/screenshot20091221at172.png/ I see that it is in pf. pf was not virtualized in 8.0 and while it the work has been done, I'm not acually sure if it was committed yet in 9. were you using pf on any other vimage setup? I'm guessing not. > Regards > > > Sevan / Venture37 > _______________________________________________ > 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 owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 21 19:11:57 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DE381065693 for ; Mon, 21 Dec 2009 19:11:57 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7D58FC08 for ; Mon, 21 Dec 2009 19:11:56 +0000 (UTC) Received: by fxm10 with SMTP id 10so2541602fxm.14 for ; Mon, 21 Dec 2009 11:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=t0x3KMdHg5XiMbhFdRKXm2kTs4YnS5BcLtMtWn1kZQo=; b=SQz1myAv8o4eXShRLnkoZMJfmzBBXzUVWi3q9POT6gM2eLwBN8bD3pTA2l4AcZj03v xOb6fcbdl4VjLV8HrEYyvdyBB8ZnQrj9bBui9MzmITMauD67V5/b7USi7ac0Z12Ljwhi PKeRU+ix1WT3fjNb+VDvLOQ7a9usG8TQIYcuo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IvlYiuERIJAKzSiLMkpkgq3mpyAZN4M6HU/HStcj6yi4LseBbnrMvi5zADkE19V+i+ Pw+/pe3iusn0zSMnx0sHaW72jpXjGq/aTx25rzh7NsgpBI6ovSl74DKxSGo667m+3WZX WFV6GSGf5+/aggVEv/69F6hnGd1nj5S29sOIY= Received: by 10.223.14.22 with SMTP id e22mr5988587faa.42.1261422715948; Mon, 21 Dec 2009 11:11:55 -0800 (PST) Received: from Sevans-Mac-Mini.local ([93.97.185.199]) by mx.google.com with ESMTPS id z10sm9050431fka.30.2009.12.21.11.11.54 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 11:11:55 -0800 (PST) Message-ID: <4B2FC84E.5070800@gmail.com> Date: Mon, 21 Dec 2009 19:11:10 +0000 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Julian Elischer References: <4B2FBD05.7080609@gmail.com> <4B2FC429.8000109@elischer.org> In-Reply-To: <4B2FC429.8000109@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: i386 kernel with vimage support panics on xen/hvm domu with re(4) 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: Mon, 21 Dec 2009 19:11:57 -0000 On 21/12/2009 18:53, Julian Elischer wrote: > I see that it is in pf. > > pf was not virtualized in 8.0 and while it the work has been done, > I'm not acually sure if it was committed yet in 9. > > were you using pf on any other vimage setup? I'm guessing not. You're right, no I wasn't, funnily enough the reason I wanted to implement vimage on this host was to have individual instances of PF, dang :( Should've done my research better. Sevan / Venture37 From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 22 15:16:11 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D781065693 for ; Tue, 22 Dec 2009 15:16:11 +0000 (UTC) (envelope-from hans-peter.huth@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A00F8FC17 for ; Tue, 22 Dec 2009 15:16:10 +0000 (UTC) Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBMEu3D0029277 for ; Tue, 22 Dec 2009 15:56:03 +0100 Received: from mchp7wta.ww002.siemens.net (mchp7wta.ww002.siemens.net [139.25.131.193]) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBMEu3Yq012185 for ; Tue, 22 Dec 2009 15:56:03 +0100 Received: from MCHP7I5A.ww902.siemens.net ([139.25.131.136]) by mchp7wta.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Dec 2009 15:56:02 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Dec 2009 15:56:01 +0100 Message-ID: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: node naming Thread-Index: AcqDFuCsz6hnzcxGStOdeAwmayr2GQ== From: "Huth, Hans-Peter" To: X-OriginalArrivalTime: 22 Dec 2009 14:56:02.0270 (UTC) FILETIME=[E11BDFE0:01CA8316] Subject: node naming 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: Tue, 22 Dec 2009 15:16:11 -0000 Dear all, this is probably a beginners question: For my script to set up an emulation using vimage and netgraph, i tried = to give meaningful names to netgraph nodes. I tried: ngctl -f foo mkpeer eiface ether ether (ignores the -f , creates = ngethX?) ngctl mkpeer eiface foo ether (creates ngethX, not foo) ngctl mkpeer eiface ether ether ngctl name ngeth0 foo (works, but it's not useful for scripting as i = have to find out first the name of the freshly created node) So basically i would like to use one of the first to forms in my script, = but they don't work as i expected. Any hints? This is on FBSD 8.0 RC2 Regards, Hans-Peter Huth Siemens AG Corporate Technology CT IC 2 Otto-Hahn-Ring 6 81739 M=FCnchen, Deutschland Tel.: +49 (89) 636-43071=20 Fax: +49 (89) 636-51115=20 Mobil: +49 (173) 7068763 mailto:hans-peter.huth@siemens.com =20 Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard = Cromme; Vorstand: Peter L=F6scher, Vorsitzender; Wolfgang Dehen, = Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried = Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und = M=FCnchen, Deutschland; Registergericht: Berlin Charlottenburg, HRB = 12300, M=FCnchen, HRB 6684; WEEE-Reg.-Nr. DE 23691322 =20 From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 22 18:18:21 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FFB1065692 for ; Tue, 22 Dec 2009 18:18:21 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outE.internet-mail-service.net (oute.internet-mail-service.net [216.240.47.228]) by mx1.freebsd.org (Postfix) with ESMTP id 1E23A8FC14 for ; Tue, 22 Dec 2009 18:18:20 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D645A3C27F; Tue, 22 Dec 2009 10:18:20 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 204952D6016; Tue, 22 Dec 2009 10:18:20 -0800 (PST) Message-ID: <4B310D83.3020607@elischer.org> Date: Tue, 22 Dec 2009 10:18:43 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "Huth, Hans-Peter" References: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-virtualization@freebsd.org Subject: Re: node naming 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: Tue, 22 Dec 2009 18:18:21 -0000 Huth, Hans-Peter wrote: > Dear all, > > this is probably a beginners question: > > For my script to set up an emulation using vimage and netgraph, i tried to give > meaningful names to netgraph nodes. I tried: > > ngctl -f foo mkpeer eiface ether ether (ignores the -f , creates ngethX?) witout looking at the code I'm guessing it does the file after the command like args. > > ngctl mkpeer eiface foo ether (creates ngethX, not foo) mkpeer takes 4 arguments. it's better to specify them all than try guess the defaults. > > ngctl mkpeer eiface ether ether > ngctl name ngeth0 foo (works, but it's not useful for scripting as i have to find > out first the name of the freshly created node) > > So basically i would like to use one of the first to forms in my script, but they > don't work as i expected. > > Any hints? > > This is on FBSD 8.0 RC2 > > Regards, > Hans-Peter Huth > > Siemens AG > Corporate Technology > CT IC 2 > Otto-Hahn-Ring 6 > 81739 München, Deutschland > Tel.: +49 (89) 636-43071 > Fax: +49 (89) 636-51115 > Mobil: +49 (173) 7068763 > mailto:hans-peter.huth@siemens.com > > Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322 > > _______________________________________________ > 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"