Date: Thu, 30 Dec 2010 12:07:19 +0100 From: Monthadar Al Jaberi <monthadar@gmail.com> To: Julian Elischer <julian@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: loading ng_ether results in symbol ifnet undefined on mips Message-ID: <AANLkTikbXQN3nk0JJmTis6k5kBGFfK3K2g4ME7jrwEpt@mail.gmail.com> In-Reply-To: <4D1BD3D8.70400@freebsd.org> References: <AANLkTi=4FQen4Cap_kzaOasu-2xQ=tUWa9UKM%2ByiLBF5@mail.gmail.com> <AANLkTiktufPDVkqNdrA2pw=gPmw2bPMBd==kbV=L8oEB@mail.gmail.com> <4D1BD3D8.70400@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 30, 2010 at 1:35 AM, Julian Elischer <julian@freebsd.org> wrote= : > On 12/29/10 8:54 AM, Monthadar Al Jaberi wrote: >> >> Hi, >> >> I am running FreeBSD Current 201010 on RouterStation Pro (mips CPU). >> >> I recompiled the kernel with the following options: >> options =A0 =A0 =A0 =A0 VIMAGE >> device =A0 =A0 =A0 =A0 =A0epair >> options =A0 =A0 =A0 =A0 NULLFS >> >> but when I try to load ng_ether I get this error: >> link_elf_obj: symbol ifnet undefined >> linker_load_file: Unsupported file type >> kldload: can't load ng_ether: Exec format error >> >> I can load netgraph, ng_eiface and ng_bridge fine. >> >> When I recompile kernel back to normal I can load ng_ether. >> >> I tried this on VBox image, and it loads ng_ether just fine with or >> without VIMAGE. > > I think you need to recompile the ng_ether.ko node as well? =A0did you? hmm, weird that netgraph and the others do load, buildkernel option does build all the modules as far as I know. But I solved it for now by putting these options in the kernel configuration file: option NETGRAPH option NETGRAPH_ETHER and checked that it is loaded with kldstat -v Thank you! >> >> any help is appreciated! >> >> br, > > --=20 //Monthadar Al Jaberi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikbXQN3nk0JJmTis6k5kBGFfK3K2g4ME7jrwEpt>