网卡驱动的问题

为当前最终发行版之前的所有版本提供支持
回复
shutle
帖子: 7
注册时间: 2008-03-25 16:07
送出感谢: 0
接收感谢: 0

网卡驱动的问题

#1

帖子 shutle » 2008-03-25 16:11

ubuntu7.10 如下操作依然找不到网卡

root@shaojieli-laptop:~/Driver/Server/Linux/Driver/tg3-3.81c# make
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/shaojieli/Driver/Server/Linux/Driver/tg3-3.81c modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/shaojieli/Driver/Server/Linux/Driver/tg3-3.81c/tg3.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/shaojieli/Driver/Server/Linux/Driver/tg3-3.81c/tg3.mod.o
LD [M] /home/shaojieli/Driver/Server/Linux/Driver/tg3-3.81c/tg3.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
root@shaojieli-laptop:~/Driver/Server/Linux/Driver/tg3-3.81c# insmod tg3.ko
insmod: error inserting 'tg3.ko': -1 File exists
root@shaojieli-laptop:~/Driver/Server/Linux/Driver/tg3-3.81c# make install
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/shaojieli/Driver/Server/Linux/Driver/tg3-3.81c modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
gzip -c tg3.4 > tg3.4.gz
mkdir -p /lib/modules/2.6.22-14-generic/kernel/drivers/net;
install -m 444 tg3.ko /lib/modules/2.6.22-14-generic/kernel/drivers/net;
install -m 444 tg3.4.gz /usr/share/man/man4;\

root@shaojieli-laptop:~/Driver/Server/Linux/Driver/tg3-3.81c#
[/img]
回复

回到 “老旧版本支持”