Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2009 19:11:45 +0300
From:      pluknet <pluknet@gmail.com>
To:        =?ISO-8859-1?Q?Ermal_Lu=E7i?= <ermal.luci@gmail.com>,  Ruslan Ermilov <ru@freebsd.org>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: How does one build ng_vlan(4) inside the kernel?!
Message-ID:  <a31046fc0911100811k4607f685x802bde7f424ba238@mail.gmail.com>
In-Reply-To: <9a542da30911100703n5a9abcd8j1ae475483b7ada99@mail.gmail.com>
References:  <9a542da30911100703n5a9abcd8j1ae475483b7ada99@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
2009/11/10 Ermal Luçi <ermal.luci@gmail.com>:
> Hello list,
>
> i searched for this but could not find an answer.
> How does one build ng_vlan as part of the kernel?
>
> NETGRAPH_VLAN does not exist as an option to include in the kernel
> and when building ng_vlan as a module and you use a gzipped kernel
> the module doe snot load since it says kernel is a requirement!
>
> Is this something that has slipped over time and option
> NETGRAPH_VLAN needs to be introduced or i am really missing
> something!?

Usually an ng node addition is combined with changes to NOTES/files/options.
I'm afraid It was left out there accidentally.
Ermal, what if you try adding those bits with the patch provided and
see how it goes.

-- 
wbr,
pluknet

[-- Attachment #2 --]
--- sys/conf/NOTES.orig	2009-11-10 18:28:38.000000000 +0300
+++ sys/conf/NOTES	2009-11-10 19:09:57.000000000 +0300
@@ -692,6 +692,7 @@
 options 	NETGRAPH_TTY
 options 	NETGRAPH_UI
 options 	NETGRAPH_VJC
+options 	NETGRAPH_VLAN
 
 # NgATM - Netgraph ATM
 options 	NGATM_ATM
--- sys/conf/files.orig	2009-11-10 18:19:16.000000000 +0300
+++ sys/conf/files	2009-11-10 19:10:48.000000000 +0300
@@ -1940,6 +1940,7 @@
 netgraph/ng_tee.c		optional netgraph_tee
 netgraph/ng_tty.c		optional netgraph_tty
 netgraph/ng_vjc.c		optional netgraph_vjc
+netgraph/ng_vlan.c		optional netgraph_vlan
 netinet/accf_data.c		optional accept_filter_data
 netinet/accf_http.c		optional accept_filter_http
 netinet/if_atm.c		optional atm
--- sys/conf/options.orig	2009-11-10 18:39:10.000000000 +0300
+++ sys/conf/options	2009-11-10 18:39:30.000000000 +0300
@@ -477,6 +477,7 @@
 NETGRAPH_TTY		opt_netgraph.h
 NETGRAPH_UI		opt_netgraph.h
 NETGRAPH_VJC		opt_netgraph.h
+NETGRAPH_VLAN		opt_netgraph.h
 
 # NgATM options
 NGATM_ATM		opt_netgraph.h

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0911100811k4607f685x802bde7f424ba238>