From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 17 10:25:53 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DA13FB7 for ; Mon, 17 Feb 2014 10:25:53 +0000 (UTC) Received: from nm34.bullet.mail.ne1.yahoo.com (nm34.bullet.mail.ne1.yahoo.com [98.138.229.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 833301CFE for ; Mon, 17 Feb 2014 10:25:52 +0000 (UTC) Received: from [127.0.0.1] by nm34.bullet.mail.ne1.yahoo.com with NNFMP; 17 Feb 2014 10:25:48 -0000 Received: from [98.138.226.178] by nm34.bullet.mail.ne1.yahoo.com with NNFMP; 17 Feb 2014 10:22:53 -0000 Received: from [98.139.215.140] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 17 Feb 2014 10:22:53 -0000 Received: from [98.139.212.225] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 17 Feb 2014 10:22:53 -0000 Received: from [127.0.0.1] by omp1034.mail.bf1.yahoo.com with NNFMP; 17 Feb 2014 10:22:53 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 599396.47954.bm@omp1034.mail.bf1.yahoo.com Received: (qmail 25153 invoked by uid 60001); 17 Feb 2014 10:22:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1392632573; bh=0+EoYiBK/bcDeGuXd2ajkiS8VP2VvkGNWUbVlHFLldg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=t5YasypHCx61nejdv9hV1zYF7XJn8MMEOCQiPCCv9wJXc2j2HXZWYITwWj9Tite/cuEUQCGDdGNG7NXucQ1Ms9yUU0actn5s7wYnd6eB2ytdwktVurFEtCayFzr+YgLHt4fTb7CKjrwV8mmtFLOs8k7HKcwxfNCzS+nJz9rkyPE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1lq2cRCB8sFu21t78Z+90LwH9ytwUpfOol/odPUZfC+XuZwbvIE7My+b3qqHXI+uIrGkogZfm7IvfcyndVjertXxIEmmf+SKAtZ+vgifj/fDDje56N7Evv7wCuV70rylZCMsab4Tkr/mgByhyBeRh+HHy9jr6mMaNC/Ul7NjsPU=; X-YMail-OSG: JSrqBycVM1kzWFm4xtEuQICqOo7plLeV48qNv4mxIy4x271 ficMbi_sE8bJTh2QN4hPfOWqBS1sPdnDB78nSJAGcPPnuxqsg4ORoxOl6UBJ Z1Np.qj_4zGJXjZkR2BhLuNv3ZqP4RAe0n4oWp8tCk_27C4oUUMd5P7dzdtj xK0gNthqxj5khQvo44BiaJ4KdI0VwHYwS7tJDYUE__w7z8P7skQhOTSG7uAX kliTuQ0J2wweQLa__muoZvO.5BGD3RIkuF9qKDWiUxqHhwbdhKMM.ax0c.92 QuvqpDM1rQFEv2QP6iNWpXuzj5UHBk0DAM5QY1_iMf83S0tvkM1_2biyyOq2 _jCYWbhttb71anDti_0IH8sZ3cCH2g8xPCdhTyJSYB_wlpLw2l73HdUOwoez IV3boNTagZP6pVTHHET7ssTds9O2cKEiogilXokrp2wNB9KENx7P9m4NYiuL w5O5Jszw1c_CYvGIveKJ2wThADPWuPWEDyj_yprWGFlb9Zd3pylCW0XEqGrf wY90WzyjGUOb4Y97.EAZASsthc0ZpluO9FJn.ETehbDoFBRZ_iA-- Received: from [89.165.120.140] by web162705.mail.bf1.yahoo.com via HTTP; Mon, 17 Feb 2014 02:22:53 PST X-Rocket-MIMEInfo: 002.001, VGhhbmtzCkRvIHlvdSBrbm93IHdoaWNoIGtlcm5lbCBtb2R1bGUgc2hvdWxkIGJlIGluY2x1ZGVkIGluIGtlcm5lbCBjb25maWcgZmlsZT8gU2luY2Ugd2UgY291bGQgY3JlYXRlIGdyZSBpbnRlcmZhY2VzIHdpdGhvdXQgYW55IHByb2JsZW1zIGJlZm9yZSB3ZSBjdXN0b21pemUgdGhlIGtlcm5lbC4KCgoKCgpPbiBNb25kYXksIEZlYnJ1YXJ5IDE3LCAyMDE0IDE6NDAgUE0sIE1pbGFuIE9idWNoIDxmcmVlYnNkLWhhY2tlcnNAZGluby5zaz4gd3JvdGU6CiAKT24gTW9uLCAxNyBGZWIgMjAxNCAwMTo1MjozOCABMAEBAQE- X-Mailer: YahooMailWebService/0.8.177.636 References: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com> <20140217111035.328baa3f@zeta.dino.sk> Message-ID: <1392632573.91721.YahooMailNeo@web162705.mail.bf1.yahoo.com> Date: Mon, 17 Feb 2014 02:22:53 -0800 (PST) From: Nomad Esst Subject: Re: ifconfig siocifcreate invalid argument To: Milan Obuch , "freebsd-hackers@freebsd.org" In-Reply-To: <20140217111035.328baa3f@zeta.dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Nomad Esst List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 10:25:53 -0000 Thanks Do you know which kernel module should be included in kernel config file? Since we could create gre interfaces without any problems before we customize the kernel. On Monday, February 17, 2014 1:40 PM, Milan Obuch wrote: On Mon, 17 Feb 2014 01:52:38 -0800 (PST) > >Nomad Esst wrote: > >> Hi >> Recently I've customized my kernel and deleted most of unused devices >> and options. When I try to create a a gre interface I get this error: >> >> >> ifconfig: siocifcreate2: invalid argument >> >> I'm using FreeBSD9.2 AMD 64 >> >> What's the problem? >> > >If you do not have 'device gre' in kernel config and module if_gre is >not loaded automatically, you need to do it yourself - just use >'kldload if_gre' before you try to create interface greN. > >Regards, >Milan > > > > From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 17 13:06:28 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD5ED443 for ; Mon, 17 Feb 2014 13:06:28 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 731351E0A for ; Mon, 17 Feb 2014 13:06:27 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Mon, 17 Feb 2014 14:06:28 +0100 id 00DA25BA.53020954.00002DC8 Date: Mon, 17 Feb 2014 14:06:25 +0100 From: Milan Obuch To: Nomad Esst Subject: Re: ifconfig siocifcreate invalid argument Message-ID: <20140217140625.7f18d14f@zeta.dino.sk> In-Reply-To: <1392632573.91721.YahooMailNeo@web162705.mail.bf1.yahoo.com> References: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com> <20140217111035.328baa3f@zeta.dino.sk> <1392632573.91721.YahooMailNeo@web162705.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 13:06:28 -0000 On Mon, 17 Feb 2014 02:22:53 -0800 (PST) Nomad Esst wrote: > Thanks > Do you know which kernel module should be included in kernel config > file? Since we could create gre interfaces without any problems > before we customize the kernel. > Well, no idea - I just try and did not see this error on any system here, checked on 9.2-STABLE/amd64 as well, all with minimal kernel config (no network card in kernel, no SCSI adapter in kernel, no sound card in kernel etc.) and every time if_gre kernel module was loaded correctly when 'ifconfig gre0 create' command was issued in shell. Maybe your ifconfig needs to be rebuilt if you have not build system and binaries from the same sources, but no other idea here... Also, in my sources I did not find 'device gre' in kernel either, so I am not sure if this possibility even exists, but you can try it just to be sure... > On Monday, February 17, 2014 1:40 PM, Milan Obuch > wrote: > On Mon, 17 Feb 2014 01:52:38 -0800 (PST) > > > >Nomad Esst wrote: > > > >> Hi > >> Recently I've customized my kernel and deleted most of unused > >> devices and options. When I try to create a a gre interface I get > >> this error: > >> > >> > >> ifconfig: siocifcreate2: invalid argument > >> > >> I'm using FreeBSD9.2 AMD 64 > >> > >> What's the problem? > >> > > > >If you do not have 'device gre' in kernel config and module if_gre is > >not loaded automatically, you need to do it yourself - just use > >'kldload if_gre' before you try to create interface greN. > > > >Regards, > >Milan > > Milan