LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: maomaojun

请教,安装8139驱动的问题?

[复制链接]
发表于 2003-9-5 23:26:17 | 显示全部楼层

当初还没有配置ppp,所以只有一个了,那里来的三个?????

what
 楼主| 发表于 2003-9-7 08:27:19 | 显示全部楼层

老兄,给个操作方法

我的机子也是和你一样的,8139网卡一旦激活就是死机,我气的不行,所以就没有在搞她,能否给出你的方法,你现在能上网了马?兄弟先谢谢了!!!!!!!
 楼主| 发表于 2003-9-7 13:37:42 | 显示全部楼层

请教,安装8139驱动的问题?

请教各位兄弟,小弟在RH9中安装rtl8139的驱动程序,下载后,解压后是三个文件,8139too.c,makefile,readme,小弟是初学者,我的nb在RH9下只要激活网卡就死机,所以才想安装驱动,小弟把说明贴出来,希望哪为兄弟能帮助小弟一把。readme的文件内容:
8139too.c release note
2001/10/31 by ShuChen Shao

1.This driver was originally based on 8139too.c version "0.9.15".
       
2.It has been enhanced to support RTL8139C+ PCI ethernet controller.

3.RTL8139C+ PCI ethernet chips is set to support C+ mode by default.
  If FORCE_C_Mode below is enabled, the RTL8139C+ chip will be forced to support C mode
  after reboot.


4.This program can be compiled using the attached Makefile.
  Please remember to SPECIFY "NEW_INCLUDE_PATH" in Makefile according to your linux environment.
  The object file named 8139too.o should be moved to the directory
  /lib/modules/<linux-version>/kernel/drivers/net/
  The driver could be brought up by the following steps:
        'insmod 8139too'
        'ifconfig eth0 up'

5.It can support Auto-Negotiation ability,that is
        10-half         0x01
        10-full         0x02
        100-half 0x04
        100-full 0x08
  If 10-half mode is expected, it can be achieved by the following steps:
        #ifconfig eth0 down
        #rmmod 8139too
        #insmod 8139too media=0x01

6.If the "Install Type", selected during the Linux install procedure, is "laptop",
  this driver can work normally for CardBus application without any modification.
  Otherwise, reinstall Linux and select "Install Type" as "laptop".
  Then this driver can also work.

---------------------------------------------------------------------------------------
8139too.c version 1.5.0 release note
2003/3/4 by ShuChen  Shao

1.Add flag in Makefile to specify access type to operation register on PCI
ethernet chips.

还有makefile的文件内容为:
# Makefile for a basic kernel module

# ----------------------------------------------------------------------------------------------------
# This flag specifies access type to operation register on PCI ethernet chips.
# If you apply 8139/8139CP ethernet controller via cardbus interface on linux distribution Red Hat 7.3
# please turn on this macro.
# ----------------------------------------------------------------------------------------------------
#RTL_MEM_ACCESS = USE_IO_OPS

# ----------------------------------------------------------------------------------------------------
# Please specify the include path according to your kernel.
# ----------------------------------------------------------------------------------------------------
NEW_INCLUDE_PATH = /usr/src/linux-2.4.18-3/include/

# ----------------------------------------------------------------------------------------------------
# GNU C compiler and its flags
# ----------------------------------------------------------------------------------------------------
CC=gcc
MODCFLAGS := -O6 -Wall -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLINUX -D${RTL_MEM_ACCESS}



all: 8139too

8139too:        8139too.c /usr/include/linux/version.h
                $(CC) $(MODCFLAGS) -I$(NEW_INCLUDE_PATH) -c 8139too.c -o $@.o
                                                     
请教各位兄弟,能否给出详细的安装步骤,小弟先谢谢了!!!!!!!
发表于 2003-9-9 09:14:22 | 显示全部楼层
rtl8139不用安装驱动 可以自动识别 阿

死机并不一定是安装新驱动就能解决的问题
发表于 2003-9-9 19:54:24 | 显示全部楼层
:help 楼上的意思是不是联想的本本的网卡就不能与RH9.0良好共处啊?
我的本本也是V32啊,也碰到了这个问题,联想的技术人员说这个型号没有进行Linux的技术认证,所以他们也管不了。
我该怎么办呢?

PS:由于是集成的网卡,rtl8139的中断号在linux下与IEEE1394及usb controler相同,都是IRQ9,而在Windows下,它们的中断号不同,是不是这个的缘故?本本的BIOS中,没有PCI设备及中断号的设置选项,请问还有什么别的办法吗?

:thank  向各位兄弟请教。。。
发表于 2003-9-10 16:04:49 | 显示全部楼层
好办,编译内核,选择网卡驱动的时候那里有好几个关于8139的,全选上好了,我的选上uncommon...那一项就可以正常使用了,good luck!(我也是联想的本本)
发表于 2003-9-10 20:14:29 | 显示全部楼层
多谢楼上,我去试试去也。
发表于 2003-9-12 13:14:20 | 显示全部楼层

help

楼的的GGMM,我也想在在联想的笔记本上装RH9.0.但不知是否有什么特别的需求呢?我机子是昭阳 E200C  的。
发表于 2003-9-13 15:02:17 | 显示全部楼层
ZOZO兄,已经试过重新编译内核了,网卡驱动将所有与8139有关的都选上了,但还是不行,症状没有改变。
我的编译过程如下:

#make mrproper;make oldconfig
#make xconfig
(将所有与8139有关的选上,包括uncommon...的)
#make dep;make clean
#make modules;make modules_install
#make install
#reboot

是不是还有什么特别的选项没选上呢?
能将你编译的详细过程说说吗? 谢谢!!
发表于 2003-9-13 15:54:21 | 显示全部楼层
lspci -v,ifconfig -a先贴出来看看,
把内核内关于1394和USB的选项去掉,在试试看
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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