LinuxSir.cn,穿越时空的Linuxsir!

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

求助:无法安装rtl8139网卡

[复制链接]
发表于 2004-11-19 02:35:52 | 显示全部楼层 |阅读模式
我在装第二块网卡的时候遇到问题了,谁能帮帮我:thank
内置Intel 82547ei能正常使用,pci网卡rtl8139不能,在xp下都能正常使用

我的kernel配置文件.config中关于ethernet的,我把e100, e1000都编进内核
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
CONFIG_E1000=y
# CONFIG_E1000_NAPI is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

lspci -v中相关输出,都能找到RTL8139的中断 i/o都是唯一的,irq跟xp一样的

0000:02:01.0 Ethernet controller: Intel Corp. 82547EI Gigabit Ethernet Controller (LOM)
        Subsystem: Giga-byte Technology GA-8IPE1000 Pro2 motherboard (865PE)
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
        Memory at fc000000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 9000
        Capabilities: [dc] Power Management version 2

0000:03:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 32, IRQ 22
        I/O ports at 7000 [size=256]
        Memory at fb000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

ifconfig -a的输出,只有eth0

eth0      Link encap:Ethernet  HWaddr 00:0D:61:30E:67
          inet addr:10.0.199.205  Bcast:10.0.255.255  Mask:255.255.192.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:198633 errors:0 dropped:0 overruns:0 frame:0
          TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20157580 (19.2 MiB)  TX bytes:63059 (61.5 KiB)
          Base address:0x9000 Memory:fc000000-fc020000

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24377 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2230858 (2.1 MiB)  TX bytes:2230858 (2.1 MiB)

ppp0      Link encapoint-to-Point Protocol
          inet addr:137.189.239.212  P-t-P:137.189.192.202  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1000  Metric:1
          RX packets:178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:104647 (102.1 KiB)  TX bytes:36060 (35.2 KiB)

试ifconfig eth1 up
eth1: ERROR while getting interface flags: 没有那个设备

我查了书,说By defualt, the Linux kernel will find only one network.
我照着做 在kernel command line加入
append="ether=22,0x7000,eth1"
或append="ether=0,0,eth1"
还是不行

然后我在bios中关闭内置的e1000网卡,也找不到
求助大家能帮帮我或者给点hint,

:thank
 楼主| 发表于 2004-11-19 02:36:34 | 显示全部楼层
对了kernel是2.6.9
 楼主| 发表于 2004-11-19 03:37:44 | 显示全部楼层
不好意思,搞定了
我犯了个愚蠢的错误 没把8139too编译进内核
我在.config中搜索8139没搜到,其实# CONFIG_NET_PCI is not set这个没打开
但是为什么lspci能看到那?它是从PCI device name database中得来的吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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