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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to