红联Linux门户
Linux帮助

关于SIS191网卡驱动安装的问题

发布时间:2010-11-12 16:48:34来源:红联作者:windnest
我用的是rhel5.5 SIS191网卡不能别识别 然后我到了SIS的官网下载了网卡的驱动
按照README.txt里面的步骤编译网卡,可是 编译到最后
#make bzImage modules modules_install install
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
会出现这样的错误,请问各位大侠们 到底是怎么回事 我才没入门多久,想在笔记本上装个linux来练习的
PS:解答时,希望大侠们给点详细步骤~~~下面有我附上的SIS191的网卡驱动包 官网下载的[attach]32772[/attach]
文章评论

共有 13 条评论

  1. 于 2013-11-28 16:20:09发表:

    我也碰到这个问题。。。我装的是rhel5.1。。。谷歌的结论是linux对这个网卡的支持有限。。。
    纠结正准备换6.3的版本,再看看!!!

  2. 如月王子 于 2012-12-07 12:59:18发表:

    谢了,不知道官网地址

  3. 楚洁 于 2012-04-01 22:31:59发表:

    额,先拿着个试试。。。

  4. gogo11 于 2012-01-15 12:27:56发表:

    这个难度太大,等高手!

  5. ruishenh 于 2012-01-15 12:06:26发表:

    ?????

  6. 3008209024 于 2011-11-17 19:11:07发表:

    同问

  7. dreaminglove 于 2011-09-16 18:05:49发表:

    楼主搞定没,我也遇到这个问题了,都整好几天了,郁闷!

  8. windnest 于 2010-11-15 19:18:56发表:

    那两个包 我都装了 我是按照README做的 难道我有什么地方不对吗??

    这个是README文件的内容:
    //** Install sis190 module into linux kernel. **//

    1. Install Fedora Core 3. (Currently only FC3 can be installed on 965 demo board.)

    2. Download Linux kernel 2.6.9 or latter version from http://www.kernel.org. The follwing examples are based on linux-2.6.9.

    3. copy the kernel source to the location /usr/src/linux-2.6.9.

    4. cp sis190.c /usr/src/linux-2.6.9/drivers/net

    5. Edit the file "/usr/src/linux-2.6.9/drivers/net/Kconfig".
    a. Serach for the string "config SIS900"
    b. Add the following item below the item of SIS190.

    config SIS190
    tristate "SiS 191/190 PCI Gigabit/Fast Ethernet Adapter support"
    depends on NET_PCI && PCI
    select CRC32
    ---help---
    Say Y here if you have a SiS 191/190 PCI Gigabit/Fast Ethernet adapter.

    To compile this driver as a module, choose M here: the module
    will be called sis190. This is recommended.

    6. Edit the file "/usr/src/linux-2.6.9/drivers/net/Makefile".
    a. Search for the string "obj-$(CONFIG_SIS900) += sis900.o".
    b. Insert "obj-$(CONFIG_SIS190) += sis190.o" to next line.

    7. cd /usr/src/linux-2.6.9

    8. Input the command 'make menuconfig'. Then the Linux Kernel configuration menu will be popped.
    a. Select "Device Drivers -->", "Networking support -->", "Ethernet (10 or 100Mbit) -->".
    b. Goto the item "SiS191/190 PCI Gigabit/Fast Ethernet Adapter support".
    c. Press space key to make this item marked with .
    d. Save and exit the kernel configuration menu.

    9. Make kernel and modules. Input the command 'make bzImage modules modules_install install'.

    10. Reboot and Select the boot item "2.6.9".


    //** Probe sis190 module **//

    1. Input the command 'rmmod sis190'.

    2. Input the command 'modprobe sis190'.

    3. Input the command 'ifconfig eth0 '.
    a. is the IP address of sis190.
    b. example: 'ifconfig eth0 192.168.209.1'.

    我的是红帽2.6.18-194的内核 网卡是SIS191的

  9. 奶茶dsk 于 2010-11-14 12:18:35发表:

    引用:
    什么内核源码 ~~~我不知道 rhel5.5中没有内核源码吗?
    windnest 发表于 2010-11-13 20:41

    很奇怪那个网卡驱动会没有configure或者Makefile文件,而是要求重新编译内核的同时编译出驱动模块,,
    可以安装好kernel-devel和kernel-headers后按照这个步骤试试,,
    http://blog.csdn.net/yel617/archive/2010/09/27/5910566.aspx

  10. windnest 于 2010-11-13 20:41:56发表:

    什么内核源码 ~~~我不知道 rhel5.5中没有内核源码吗?

  11. 奶茶dsk 于 2010-11-12 23:46:18发表:

    晕,这8是在重新编译内核吗?
    内核源码下载下来了?

  12. windnest 于 2010-11-12 22:11:19发表:

    哎…………没有人回答吗??

  13. windnest 于 2010-11-12 16:52:01发表:

    这里再补充下 我gcc和kernel-header devel都装了 应该不会少了什么没有装
    还有我的rhel有xen虚拟机 xen核是否也要编译一次网卡驱动??