|
我刚开始接触linux,网卡驱动安装时遇到困难,请大家帮忙.
我安装的是FC6 ,网卡是板载的RTL8110SC.
具体安装步骤如下:
从网卡官网上下回驱动并放到了 /usr/src/ 下,然后Ctrl+Alt+F1进入命令行
命令行的整个操作和系统提示过程如下:
[root@localhost ~]# uname -r
2.6.18-1.2798.fc6xen
[root@localhost ~]# rpm -qa|grep kernel
kernel-2.6.18-1.2798.fc
kernel-headers-2.6.18-1.2798.fc
kernel-devel-2.6.18-1.2798.fc
kernel-xen-2.6.18-1.2798.fc
[root@localhost ~]# rpm -qa|grep gcc
gcc-gfortran-4.1.1-30
gcc-objc++-4.1.1-30
gcc-java-4.1.1-30
gcc-objc-4.1.1-30
libgcc-4.1.1-30
gcc-c++-4.1.1-30
compat-libgcc-296-2.96-138
gcc-4.1.1-30
gcc-gnat-4.1.1-30
[root@localhost ~]# cd /usr/src/
[root@localhost src]# ls
kernels r1000_v1.05.tgz redhat
[root@localhost src]# tar -zxvf r1000_v1.05.tgz
r1000_v1.05/
r1000_v1.05/release_note.txt
r1000_v1.05/README
r1000_v1.05/src/
r1000_v1.05/src/Makefile_linux24x
r1000_v1.05/src/r1000_ioctl.c
r1000_v1.05/src/r1000.h
r1000_v1.05/src/Makefile
r1000_v1.05/src/r1000_n.c
r1000_v1.05/Makefile
[root@localhost src]# cd r1000_v1.05
[root@localhost r1000_v1.05]# make clean modules
make -C src/ clean
make[1]: Entering directory '/usr/src/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory '/usr/src/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory '/usr/src/r1000_v1.05/src'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build SUBDIRS=/usr/src/r1000_v1.05/src modules
make[2]: Entering directory '/lib/modules/2.6.18-1.2798.fc6xen/build'
make[2]: Nothing to be done for 'modules'.
make[2]: Leaving directory '/lib/modules/2.6.18-1.2798.fc6xen/build'
strip --srtip-debug r1000.ko
strip: 'r1000,ko':No such file
make[1]: Leaving directory '/usr/src/r1000_v1.05/src'
[root@localhost r1000_v1.05]#
高手们帮帮忙,看看是怎么回事啊,在线等啊~~~~ |
|