Date: Mon, 17 Feb 2014 02:22:53 -0800 (PST) From: Nomad Esst <noname.esst@yahoo.com> To: Milan Obuch <freebsd-hackers@dino.sk>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: ifconfig siocifcreate invalid argument Message-ID: <1392632573.91721.YahooMailNeo@web162705.mail.bf1.yahoo.com> In-Reply-To: <20140217111035.328baa3f@zeta.dino.sk> References: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com> <20140217111035.328baa3f@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd-hackers@dino.sk> wrote: On Mon, 17 Feb 2014 01:52:38 -0800 (PST) > >Nomad Esst <noname.esst@yahoo.com> 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: <owner-freebsd-hackers@FreeBSD.ORG> 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 <freebsd-hackers@freebsd.org>; 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 <freebsd-hackers@freebsd.org>; 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 <freebsd-hackers@dino.sk> To: Nomad Esst <noname.esst@yahoo.com> 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 <freebsd-hackers.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=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 <noname.esst@yahoo.com> 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 > <freebsd-hackers@dino.sk> wrote: > On Mon, 17 Feb 2014 01:52:38 -0800 (PST) > > > >Nomad Esst <noname.esst@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1392632573.91721.YahooMailNeo>