LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 8953|回复: 86

网卡myson的mtd803怎么安装???

[复制链接]
发表于 2002-8-31 17:37:19 | 显示全部楼层 |阅读模式
我现在装的是RH 7.3网卡是mtd80 (将王的)前几天南北兄说可以不装驱动就用可是我怎么试都不行啊,具体问题如下:
[root@localhost root]# cd /tmp/card/mtd80
[root@localhost mtd80]# ls -a
.   kern_compat.h  Makefile~  pci-scan.c  Readme.txt
..  Makefile       mtd80x.c   pci-scan.h
[root@localhost mtd80]# ./configure
bash: ./configure: No such file or directory
[root@localhost mtd80]# make
gcc -DMODULE -D__KERNEL__  -I/usr/src/linux/include -O -Wall -Wstrict-prototypes   -c -o pci-scan.o pci-scan.c
In file included from /usr/include/linux/timex.h:152,
                 from /usr/include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from pci-scan.c:62:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
make: *** [pci-scan.o] Error 1
[root@localhost mtd80]# make install
gcc -DMODULE -D__KERNEL__  -I/usr/src/linux/include -O -Wall -Wstrict-prototypes   -c -o mtd80x.o mtd80x.c
In file included from mtd80x.c:101:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/timex.h:152,
                 from /usr/include/linux/sched.h:14,
                 from /usr/include/linux/skbuff.h:19,
                 from mtd80x.c:105:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
                 from /usr/include/linux/skbuff.h:26,
                 from mtd80x.c:105:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from mtd80x.c:106:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
make: *** [mtd80x.o] Error 1
[root@localhost mtd80]# ls -a
.   kern_compat.h  Makefile~  pci-scan.c  Readme.txt
..  Makefile       mtd80x.c   pci-scan.h
[root@localhost mtd80]# make clean
rm -f *.o
[root@localhost mtd80]# ls -a
.   kern_compat.h  Makefile~  pci-scan.c  Readme.txt
..  Makefile       mtd80x.c   pci-scan.h
发表于 2002-8-31 17:39:27 | 显示全部楼层
兄弟芯片组是什么的????这是最重要的,而不是品牌。如果芯片组是8139或8029之类的,是无需驱动的。。。。打开机箱看一下芯片组。。。
 楼主| 发表于 2002-8-31 18:03:29 | 显示全部楼层

就是8139的

蕊片就是8139的,这个我看过我肯定,不要驱动/?可是我选择RH上带的驱动他不认啊 不能用我要怎么办????
发表于 2002-8-31 20:46:03 | 显示全部楼层
先看一下这个文件/etc/modules.conf
看一下有没有这行。。
alias eth0 8139too
如果没有或者带eh0的那行是别的,就改成
alias eth0 8139too

记得保存一下。。。
 楼主| 发表于 2002-8-31 22:59:20 | 显示全部楼层

照你说的做了

这个文件已改好,重启后发现网卡当中有了8139too可是点Edit提示没有安装好网卡,请重试。还有就是怎么设置IO啊这些的值????
 楼主| 发表于 2002-8-31 23:02:45 | 显示全部楼层

补充一点

etc/modules.conf 文件内容如下:
alias parport_lowlevel parport_pc
alias sound-slot-0 cmpci
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias eth0 8139too
 楼主| 发表于 2002-8-31 23:04:25 | 显示全部楼层

此网卡还是不能正常工作,烦啊

我懂的不多,所以问题才这么多了,还希望大家不要闲我烦。呵
发表于 2002-8-31 23:23:36 | 显示全部楼层
把所有有关8139的设置全部DEL.
不用设置IRQ的说.
 楼主| 发表于 2002-9-1 00:58:03 | 显示全部楼层

还存在这样的问题,不过离成功不远了呵

问题如下:
上面所说的我都照做了,还是有这样的有问题
The Ethernet card could not be initialized.Please verify your settings and try again.(这块网卡没有正确安装,请重新设置后再试)

Cannot activate network device eth0 (无法启用网络)
发表于 2002-9-1 01:25:40 | 显示全部楼层
那就再删除,然后,再重新设置.我觉得这个网卡一般是没有任何问题的....如果他不能启动服务,先不用管它..试过了以后,要看这个文件...
etc/modules.conf 如果还是你原来的内容,就重新启动一下机器来试试...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表