- 论坛徽章:
- 0
|
本帖最后由 qyii 于 2014-01-24 21:40 编辑
我把ixgbe-2.5.1.tar.gz上传到/usr/src目录里,跟着驱动的readme
先
cd /usr/src
tar xfz ixgbe-2.5.1.tar.gz
cd ixgbe-2.5.1
再
gzip -c ixgbe.4 > /usr/share/man/man4/ixgbe.4.gz
出错:gzip: can't stat: ixgbe.4: No such file or directory
本人菜鸟一个。。。没管这些继续跟readme
然后
cd src
make load
出错一大堆:
cc -O2 -pipe -DSMP -DIXGBE_FDIR -DINET -DINET6 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c ixgbe.c
ixgbe.c: In function 'ixgbe_ioctl':
ixgbe.c:1018: error: 'IFCAP_VLAN_HWTSO' undeclared (first use in this function)
ixgbe.c:1018: error: (Each undeclared identifier is reported only once
ixgbe.c:1018: error: for each function it appears in.)
ixgbe.c: In function 'ixgbe_setup_interface':
ixgbe.c:2605: error: 'IFCAP_VLAN_HWTSO' undeclared (first use in this function)
cc1: warnings being treated as errors
ixgbe.c: In function 'ixgbe_tso_setup':
ixgbe.c:3382: warning: implicit declaration of function 'in6_cksum_pseudo'
ixgbe.c:3382: warning: nested extern declaration of 'in6_cksum_pseudo'
*** Error code 1
Stop in /usr/src/ixgbe-2.5.1/src.
我再跟readme
make install
再出错:
install -o root -g wheel -m 555 ixgbe.ko /boot/kernel
install: ixgbe.ko: No such file or directory
*** Error code 71
Stop in /usr/src/ixgbe-2.5.1/src.
请问大大,这是怎么回事呢?第一出错那里,根本就没那文件的,但readme怎么有这一步呢?
本人对FreeBSD不了解,因为8.0未能识别出82599的网卡,但新加的Panabit需要用到,没办法所以硬着头皮来学学。。。我看过8.0的网卡支持列表,是支持82598的。
README.rar
(5.08 KB, 下载次数: 31)
ixgbe-2.5.1.tar.gz
(198 KB, 下载次数: 63)
|
|