Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 16:10:03 +0100
From:      Frank Bonnet <f.bonnet@esiee.fr>
To:        freebsd-questions@freebsd.org
Subject:   ng_fec compile but cannot be loaded into kernel at 6.2 amd64
Message-ID:  <45DF03CB.2040404@esiee.fr>

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

I'm in trouble with the ng_fec module at 6.2 on amd64 ( IBM X3650 )
the module compile well but failed to be loaded into the kernel

thanks for any help


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



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