From owner-freebsd-questions@FreeBSD.ORG Fri Feb 23 13:03:01 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 268D616A403 for ; Fri, 23 Feb 2007 13:03:01 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8E09213C4C1 for ; Fri, 23 Feb 2007 13:02:59 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (localhost.esiee.fr [127.0.0.1]) by mail.esiee.fr (Postfix) with SMTP id 305CF3658BF; Fri, 23 Feb 2007 14:02:58 +0100 (CET) Received: from secure.esiee.fr (secure.esiee.fr [147.215.1.19]) by mail.esiee.fr (Postfix) with ESMTP id D97BC3658A0; Fri, 23 Feb 2007 14:02:57 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by secure.esiee.fr (Postfix) with ESMTP id 644AF3991B; Fri, 23 Feb 2007 13:54:07 +0100 (CET) Message-ID: <45DEE601.2000606@esiee.fr> Date: Fri, 23 Feb 2007 14:02:57 +0100 From: Frank Bonnet User-Agent: Thunderbird 1.5.0.8 (X11/20061213) MIME-Version: 1.0 To: Chuck Swiger References: <45DD84C1.70308@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: can't load /boot/kernel/ng_fec.ko: Exec format error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 13:03:01 -0000 Chuck Swiger wrote: > > You can do other things, such as using ng_fec to perform "port > trunking", or using IPFW or some other thing to manually force traffic > out of the other interface, but it's unlikely to result in much benefit. Hello again I'm trying to use ng_fec but I have a problem to load it into the kernel see below the trace of the problem Thank you for any info mail2# cd /usr/src/sys/modules/netgraph/fec mail2# make Warning: Object directory not changed from original /usr/src/sys/modules/netgraph/fec @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include :> opt_inet.h :> opt_inet6.h :> opt_netgraph.h cc -O2 -fno-strict-aliasing -pipe -DINET -DINET6 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/fec/../../../netgraph/ng_fec.c ld -d -warn-common -r -d -o ng_fec.ko ng_fec.o :> export_syms awk -f /usr/src/sys/modules/netgraph/fec/../../../conf/kmod_syms.awk ng_fec.ko export_syms | xargs -J% objcopy % ng_fec.ko objcopy --strip-debug ng_fec.ko mail2# make install install -o root -g wheel -m 555 ng_fec.ko /boot/kernel kldxref /boot/kernel mail2# kldload /boot/kernel/ng_fec.ko kldload: can't load /boot/kernel/ng_fec.ko: Exec format error