ifconfig siocifcreate invalid argument

Erich Dollansky erichsfreebsdlist at alogt.com
Mon Feb 17 13:31:41 UTC 2014


Hi,

On Mon, 17 Feb 2014 14:06:25 +0100
Milan Obuch <freebsd-hackers at dino.sk> wrote:

> On Mon, 17 Feb 2014 02:22:53 -0800 (PST)
> Nomad Esst <noname.esst at 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.

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


More information about the freebsd-hackers mailing list