From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 17 13:31:41 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8C82FFF for ; Mon, 17 Feb 2014 13:31:41 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA0F11CB for ; Mon, 17 Feb 2014 13:31:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=WGGs+diODDj/94ZwM2p4gstwJgYmu22gHiWqeGqdO4s=; b=YmIgFIr7aCrj1umYWrsgPdn47dNa3q/T5PVD7Rwo7w2iyL3CavoBxPfhRFuWZ3FZJgSRIEUa6pJutGpXxKNAoUBVZy6M+Aslvg7XB3yHAzb5RsXfxTUfeux5SzVpYJ1XuohgRUGSlj/TbkpiHKbqOEKosVToNFUfxFeAElonsfM=; Received: from [39.221.151.185] (port=29272 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WFOIH-004A9Z-Dh; Mon, 17 Feb 2014 06:31:34 -0700 Date: Mon, 17 Feb 2014 21:31:27 +0800 From: Erich Dollansky To: Milan Obuch Subject: Re: ifconfig siocifcreate invalid argument Message-ID: <20140217213127.41281a83@X220.alogt.com> In-Reply-To: <20140217140625.7f18d14f@zeta.dino.sk> References: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com> <20140217111035.328baa3f@zeta.dino.sk> <1392632573.91721.YahooMailNeo@web162705.mail.bf1.yahoo.com> <20140217140625.7f18d14f@zeta.dino.sk> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org, Nomad Esst 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:31:41 -0000 Hi, On Mon, 17 Feb 2014 14:06:25 +0100 Milan Obuch wrote: > 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. my observation is that if the kernel contains a certain module A which required module B to run, module B is not loaded. Stripping all modules which might be required out of the kernel and then get them loaded later will show with kldstat whet modules have been loaded. Of course, modules not needed yet are not shown. If there is no comment in GENERIC, it is a bit of trial and error to find the modules needed. Erich