From owner-freebsd-virtualization@FreeBSD.ORG Thu Dec 30 11:07:20 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65B21065697 for ; Thu, 30 Dec 2010 11:07:20 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFE18FC1B for ; Thu, 30 Dec 2010 11:07:20 +0000 (UTC) Received: by qwj9 with SMTP id 9so10582484qwj.13 for ; Thu, 30 Dec 2010 03:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2d+iuQzctzgG1txdpGH238LumRL5AEwYpwQa3gitwVc=; b=BNucVLXY1JfaEoW2lymgMk9bWj+ppmsd7Ktd8QqTrxsf1eqx7DhJlM7Qo5dWP2eCpD 6QsxQknpwpnjl8mjEKnKrQ0oSMfCoqlpmsomxF1+ri/gROlFM/XOHYtr6Ta85puRwMLb mt1nu2M8vHanmkiDagCOlpTx68s0fW6iG8sqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kiuX7dVlc8GX6rS91+sDUVYKYliyHPeJSVUPpNmx9qrMDRBx4/TwbvxlBuz7lb/07j k7MGID+/kG1rDr9hVVJhcuRrIMv/nPTxN6ZD+xtq72W6uZxENJ8DqMnIpkFIVOCMQLb2 hcWkycMo9TGbkFS5/MCSL347aHo3j0e+zKNR4= MIME-Version: 1.0 Received: by 10.229.229.203 with SMTP id jj11mr14122095qcb.160.1293707239470; Thu, 30 Dec 2010 03:07:19 -0800 (PST) Received: by 10.229.118.83 with HTTP; Thu, 30 Dec 2010 03:07:19 -0800 (PST) In-Reply-To: <4D1BD3D8.70400@freebsd.org> References: <4D1BD3D8.70400@freebsd.org> Date: Thu, 30 Dec 2010 12:07:19 +0100 Message-ID: From: Monthadar Al Jaberi To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-virtualization@freebsd.org Subject: Re: loading ng_ether results in symbol ifnet undefined on mips X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2010 11:07:20 -0000 On Thu, Dec 30, 2010 at 1:35 AM, Julian Elischer 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